var $AdfDhtmlGeoMapPeer$$ = AdfRichUIPeer.createPeerClass(AdfRichUIPeer, "AdfDhtmlGeoMapPeer", !1);
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer", $AdfDhtmlGeoMapPeer$$);
AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.geoMap.GeoMap", "AdfDhtmlGeoMapPeer");
function MapAJAXConnection($url$$28$$, $callback$$72$$) {
  var $req$$1$$;
  $req$$1$$ = window.XMLHttpRequest ? new XMLHttpRequest : window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : void 0;
  $req$$1$$.onreadystatechange = function $$req$$1$$$onreadystatechange$() {
    if (4 == $req$$1$$.readyState) {
      if (200 == $req$$1$$.status) {
        $callback$$72$$ && $callback$$72$$($req$$1$$.responseXML, $req$$1$$.responseText);
      } else {
        var $message$$37_valueArray$$ = [];
        $message$$37_valueArray$$.push($url$$28$$);
        $message$$37_valueArray$$ = $AdfDhtmlGeoMapPeer$$.$_messageFormat$($AdfDhtmlGeoMapPeer$$.$_ERROR_MSG_26017$, $message$$37_valueArray$$);
        $AdfDhtmlGeoMapPeer$$.$_showErrorMessage$($message$$37_valueArray$$);
        AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "MapViewer Connection Failed");
      }
    }
  };
  this.doPost = function $this$doPost$($callback$$72$$) {
    $req$$1$$.open("POST", $url$$28$$, !0);
    $req$$1$$.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    $req$$1$$.send($callback$$72$$);
  };
}
$goog$exportSymbol$$("MapAJAXConnection", MapAJAXConnection);
$AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ = ":";
$AdfDhtmlGeoMapPeer$$.$_formatMessage$ = function $$AdfDhtmlGeoMapPeer$$$$_formatMessage$$($num$$5$$) {
  var $fixNum_sNum_strNum$$ = $num$$5$$.toString(), $decIndex_dotIndex_factor$$1$$ = $fixNum_sNum_strNum$$.indexOf("."), $decPlaces_result$$ = 0;
  -1 != $decIndex_dotIndex_factor$$1$$ && ($decPlaces_result$$ = $fixNum_sNum_strNum$$.length - ($decIndex_dotIndex_factor$$1$$ + 1));
  for (var $fixNum_sNum_strNum$$ = Math.abs($num$$5$$), $fixNum_sNum_strNum$$ = $fixNum_sNum_strNum$$.toFixed($decPlaces_result$$), $decIndex_dotIndex_factor$$1$$ = 1, $i$$12_myDivisor$$ = 0;$i$$12_myDivisor$$ < $AdfDhtmlGeoMapPeer$$.$GROUP_SIZE$;$i$$12_myDivisor$$++) {
    $decIndex_dotIndex_factor$$1$$ *= 10;
  }
  for (var $decPlaces_result$$ = "", $curFactor$$ = $decIndex_dotIndex_factor$$1$$;$curFactor$$ < $fixNum_sNum_strNum$$ && !($curFactor$$ * $decIndex_dotIndex_factor$$1$$ >= $fixNum_sNum_strNum$$);) {
    $curFactor$$ *= $decIndex_dotIndex_factor$$1$$;
  }
  for (;1 < $curFactor$$ && $fixNum_sNum_strNum$$ >= $curFactor$$;) {
    $i$$12_myDivisor$$ = Math.floor($fixNum_sNum_strNum$$ / $curFactor$$);
    $fixNum_sNum_strNum$$ -= $i$$12_myDivisor$$ * $curFactor$$;
    if (0 < $i$$12_myDivisor$$) {
      var $myResult$$ = $i$$12_myDivisor$$.toString();
      if (0 < $decPlaces_result$$.length) {
        for (var $diff$$ = $AdfDhtmlGeoMapPeer$$.$GROUP_SIZE$ - $myResult$$.length, $i$$12_myDivisor$$ = 0;$i$$12_myDivisor$$ < $diff$$;$i$$12_myDivisor$$++) {
          $myResult$$ = "0" + $myResult$$;
        }
      }
      $decPlaces_result$$ = $decPlaces_result$$ + $myResult$$ + $AdfDhtmlGeoMapPeer$$.$GROUP_SEPARATOR$;
    }
    $curFactor$$ /= $decIndex_dotIndex_factor$$1$$;
  }
  if (0 < $fixNum_sNum_strNum$$) {
    $myResult$$ = Math.floor($fixNum_sNum_strNum$$).toString();
    if (0 < $decPlaces_result$$.length) {
      for ($diff$$ = $AdfDhtmlGeoMapPeer$$.$GROUP_SIZE$ - $myResult$$.length, $i$$12_myDivisor$$ = 0;$i$$12_myDivisor$$ < $diff$$;$i$$12_myDivisor$$++) {
        $myResult$$ = "0" + $myResult$$;
      }
    }
    $decPlaces_result$$ += $myResult$$;
  }
  0 != $fixNum_sNum_strNum$$ - Math.floor($fixNum_sNum_strNum$$) && ($fixNum_sNum_strNum$$ = $fixNum_sNum_strNum$$.toString(), $decIndex_dotIndex_factor$$1$$ = $fixNum_sNum_strNum$$.indexOf(".") + 1, $decPlaces_result$$ += $AdfDhtmlGeoMapPeer$$.$DECIMAL_SEPARATOR$ + $fixNum_sNum_strNum$$.substr($decIndex_dotIndex_factor$$1$$));
  0 > $num$$5$$ && ($decPlaces_result$$ = "-" + $decPlaces_result$$);
  return $decPlaces_result$$;
};
$AdfDhtmlGeoMapPeer$$.$_showErrorMessage$ = function $$AdfDhtmlGeoMapPeer$$$$_showErrorMessage$$($msg$$1$$) {
  AdfPage.PAGE.clearAllMessages();
  AdfPage.PAGE.addMessage(null, new AdfFacesMessage(AdfFacesMessage.TYPE_ERROR, "Error", $msg$$1$$));
  AdfPage.PAGE.showMessages();
};
$AdfDhtmlGeoMapPeer$$.$_messageFormat$ = function $$AdfDhtmlGeoMapPeer$$$$_messageFormat$$($message$$39$$, $valueArray$$2$$) {
  var $result$$1$$ = $message$$39$$;
  if (0 == $valueArray$$2$$) {
    return $result$$1$$;
  }
  for (var $i$$13$$ = 0;$i$$13$$ < $valueArray$$2$$.length;$i$$13$$++) {
    $result$$1$$ = $result$$1$$.replace("{" + $i$$13$$.toString() + "}", $valueArray$$2$$[0]);
  }
  return $result$$1$$;
};
$AdfDhtmlGeoMapPeer$$.$_updateLegendValue$ = function $$AdfDhtmlGeoMapPeer$$$$_updateLegendValue$$($evt$$29_newTable_oldChoice$$) {
  var $oldTable_selOneChoice_themeIds$$ = $evt$$29_newTable_oldChoice$$.getSource();
  if (null != $oldTable_selOneChoice_themeIds$$.getProperty("themeIds")) {
    var $oldTable_selOneChoice_themeIds$$ = $oldTable_selOneChoice_themeIds$$.getProperty("themeIds").split(" "), $choice_newTableId$$ = parseInt($evt$$29_newTable_oldChoice$$.getNewValue());
    $evt$$29_newTable_oldChoice$$ = parseInt($evt$$29_newTable_oldChoice$$.getOldValue());
    $choice_newTableId$$ = $oldTable_selOneChoice_themeIds$$[$choice_newTableId$$];
    $oldTable_selOneChoice_themeIds$$ = document.getElementById($oldTable_selOneChoice_themeIds$$[$evt$$29_newTable_oldChoice$$]);
    $evt$$29_newTable_oldChoice$$ = document.getElementById($choice_newTableId$$);
    null != $evt$$29_newTable_oldChoice$$ && ($evt$$29_newTable_oldChoice$$.style.display = "block");
    null != $oldTable_selOneChoice_themeIds$$ && ($oldTable_selOneChoice_themeIds$$.style.display = "none");
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._updateLegendValue", $AdfDhtmlGeoMapPeer$$.$_updateLegendValue$);
$AdfDhtmlGeoMapPeer$$.$_parseThemeStyleResponse$ = function $$AdfDhtmlGeoMapPeer$$$$_parseThemeStyleResponse$$($image$$2$$, $dataSourceName_mapRequest$$, $responseXML_styleName$$, $mapServerURL$$) {
  var $geocodeNode$$ = $responseXML_styleName$$.getElementsByTagName("theme_style");
  $responseXML_styleName$$ = null;
  $image$$2$$.onerror = null;
  for (var $i$$14$$ = 0;$i$$14$$ < $geocodeNode$$.length;$i$$14$$++) {
    if ("true" == $geocodeNode$$[$i$$14$$].getAttribute("render")) {
      $responseXML_styleName$$ = $geocodeNode$$[$i$$14$$].getAttribute("name");
      break;
    }
  }
  null != $responseXML_styleName$$ && ($dataSourceName_mapRequest$$ = $mapServerURL$$ + "?xml_request\x3d" + ('\x3cmap_request datasource \x3d "' + $dataSourceName_mapRequest$$ + '" format\x3d"PNG_STREAM"\x3e') + '\x3clegend profile\x3d"MEDIUM" position\x3d"SOUTH_EAST"\x3e', $dataSourceName_mapRequest$$ += "\x3ccolumn\x3e", $dataSourceName_mapRequest$$ += '\x3centry style\x3d"' + $responseXML_styleName$$ + '" tab\x3d"1" /\x3e', $dataSourceName_mapRequest$$ += "\x3c/column\x3e", $dataSourceName_mapRequest$$ += 
  "\x3c/legend\x3e", $dataSourceName_mapRequest$$ += "\x3c/map_request\x3e", $image$$2$$.src = $dataSourceName_mapRequest$$);
};
$AdfDhtmlGeoMapPeer$$.$_getThemeLegendImage$ = function $$AdfDhtmlGeoMapPeer$$$$_getThemeLegendImage$$($image$$3$$, $mapId_proxyPath$$, $dataSource$$, $encodeRequest_mapRequestURL_param$$3_themeName$$, $mapServerURL$$1$$) {
  $encodeRequest_mapRequestURL_param$$3_themeName$$ = '\x3c?xml version\x3d"1.0" standalone\x3d"yes"?\x3e\x3cnon_map_request\x3e' + ('\x3clist_theme_styles data_source\x3d"' + $dataSource$$ + '" theme\x3d"' + $encodeRequest_mapRequestURL_param$$3_themeName$$ + '"/\x3e') + "\x3c/non_map_request\x3e";
  $encodeRequest_mapRequestURL_param$$3_themeName$$ = encodeURI($encodeRequest_mapRequestURL_param$$3_themeName$$);
  $mapServerURL$$1$$ += "/omserver";
  $mapId_proxyPath$$ = $JSCompiler_StaticMethods__getStyleElement$$(AdfPage.PAGE.findComponent($mapId_proxyPath$$)).getAttribute("proxyPath");
  $encodeRequest_mapRequestURL_param$$3_themeName$$ = "rtarget\x3d" + $mapServerURL$$1$$ + "\x26xml_request\x3d" + $encodeRequest_mapRequestURL_param$$3_themeName$$;
  (new MapAJAXConnection($mapId_proxyPath$$, function($mapId_proxyPath$$) {
    $AdfDhtmlGeoMapPeer$$.$_parseThemeStyleResponse$($image$$3$$, $dataSource$$, $mapId_proxyPath$$, $mapServerURL$$1$$);
  })).doPost($encodeRequest_mapRequestURL_param$$3_themeName$$);
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._getThemeLegendImage", $AdfDhtmlGeoMapPeer$$.$_getThemeLegendImage$);
$AdfDhtmlGeoMapPeer$$.$_convertThemeToArray$ = function $$AdfDhtmlGeoMapPeer$$$$_convertThemeToArray$$($activeTheme$$, $selectTheme$$) {
  var $hashTable$$ = [];
  if (null != $activeTheme$$.getFOIData()) {
    for (i = 0;i < $activeTheme$$.getFOIData().length;i++) {
      $hashTable$$[$activeTheme$$.getFOIData()[i].id] = $activeTheme$$.getFOIData()[i];
    }
  }
  var $prop$$4$$ = [];
  $prop$$4$$.selectionMode = "Select";
  if (null != $selectTheme$$.getFOIData()) {
    for (i = 0;i < $selectTheme$$.getFOIData().length;i++) {
      var $selFOI$$ = $hashTable$$[$selectTheme$$.getFOIData()[i].id];
      null != $selectTheme$$.getFOIData()[i].name && (null != $selFOI$$ ? $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($prop$$4$$, $selFOI$$) : ($prop$$4$$.push($selectTheme$$.getFOIData()[i].name), $prop$$4$$.push("")));
    }
  }
  return $prop$$4$$;
};
$AdfDhtmlGeoMapPeer$$.$_selectThemeRefresh$ = function $$AdfDhtmlGeoMapPeer$$$$_selectThemeRefresh$$() {
  var $adfMap$$1$$ = AdfPage.PAGE.findComponent(this.parent._mvMapViewId), $activeTheme$$1_event$$39_prop$$5$$ = $adfMap$$1$$.getTheme($adfMap$$1$$.$_activeTheme$), $activeTheme$$1_event$$39_prop$$5$$ = $AdfDhtmlGeoMapPeer$$.$_convertThemeToArray$($activeTheme$$1_event$$39_prop$$5$$, this);
  $JSCompiler_StaticMethods__initMapTool$$($adfMap$$1$$);
  $activeTheme$$1_event$$39_prop$$5$$ = new $AdfMapSelectEvent$$($adfMap$$1$$, $activeTheme$$1_event$$39_prop$$5$$);
  $activeTheme$$1_event$$39_prop$$5$$.setPartial(!0);
  $adfMap$$1$$.queueEvent($activeTheme$$1_event$$39_prop$$5$$);
  this.setEventListener("after_refresh", null);
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._selectThemeRefresh", $AdfDhtmlGeoMapPeer$$.$_selectThemeRefresh$);
$AdfDhtmlGeoMapPeer$$.$_getFOIFromTheme$ = function $$AdfDhtmlGeoMapPeer$$$$_getFOIFromTheme$$($adfMap$$2_foiDatas$$, $themeId$$1$$, $foiId$$) {
  for (var $selTheme$$ = null, $i$$15$$ = 0;$i$$15$$ < $adfMap$$2_foiDatas$$.$_themeBasedFOIs$.length;$i$$15$$++) {
    if ($adfMap$$2_foiDatas$$.$_themeBasedFOIs$[$i$$15$$].getLayerName() == $themeId$$1$$) {
      $selTheme$$ = $adfMap$$2_foiDatas$$.$_themeBasedFOIs$[$i$$15$$];
      break;
    }
  }
  $adfMap$$2_foiDatas$$ = $selTheme$$.getFOIData();
  for ($i$$15$$ = 0;$i$$15$$ < $adfMap$$2_foiDatas$$.length;$i$$15$$++) {
    if ($adfMap$$2_foiDatas$$[$i$$15$$].id == $foiId$$) {
      return $adfMap$$2_foiDatas$$[$i$$15$$];
    }
  }
  return null;
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._getFOIFromTheme", $AdfDhtmlGeoMapPeer$$.$_getFOIFromTheme$);
$AdfDhtmlGeoMapPeer$$.$_fixHexString$ = function $$AdfDhtmlGeoMapPeer$$$$_fixHexString$$($str$$10$$) {
  return 1 == $str$$10$$.length ? "0" + $str$$10$$ : $str$$10$$;
};
$AdfDhtmlGeoMapPeer$$.$_getBorderColor$ = function $$AdfDhtmlGeoMapPeer$$$$_getBorderColor$$($strColor$$) {
  var $hBlue$$ = Math.floor(.6 * parseInt($strColor$$.substr(3, 2), 16)), $hGreen$$ = Math.floor(.6 * parseInt($strColor$$.substr(5, 2), 16));
  return "#" + $AdfDhtmlGeoMapPeer$$.$_fixHexString$(Math.floor(.6 * parseInt($strColor$$.substr(1, 2), 16)).toString(16)) + $AdfDhtmlGeoMapPeer$$.$_fixHexString$($hBlue$$.toString(16)) + $AdfDhtmlGeoMapPeer$$.$_fixHexString$($hGreen$$.toString(16));
};
$AdfDhtmlGeoMapPeer$$.$_isInfoWindowEvent$ = function $$AdfDhtmlGeoMapPeer$$$$_isInfoWindowEvent$$($curNode_mouseEvent$$) {
  if (null != $curNode_mouseEvent$$.relatedTarget) {
    $curNode_mouseEvent$$ = $curNode_mouseEvent$$.relatedTarget;
    for (var $insideInfoWindow$$ = !1;null != $curNode_mouseEvent$$;) {
      if (null != $curNode_mouseEvent$$.id && "string" == typeof $curNode_mouseEvent$$ && 0 <= $curNode_mouseEvent$$.id.indexOf("mvinfodiv")) {
        $insideInfoWindow$$ = !0;
        break;
      }
      $curNode_mouseEvent$$ = $curNode_mouseEvent$$.parentNode;
    }
    if ($insideInfoWindow$$) {
      return !0;
    }
  }
  return !1;
};
$AdfDhtmlGeoMapPeer$$.$_attachHandler$ = function $$AdfDhtmlGeoMapPeer$$$$_attachHandler$$($point$$, $foi$$, $mouseEvent$$1$$) {
  $AdfDhtmlGeoMapPeer$$.$_isInfoWindowEvent$($mouseEvent$$1$$) || ("mouseover" == $mouseEvent$$1$$.type && $AdfDhtmlGeoMapPeer$$.$_showInfoWindow$($foi$$.getGeometry(), $foi$$, $mouseEvent$$1$$), $foi$$.setEventListener("mouse_over", $AdfDhtmlGeoMapPeer$$.$_showInfoWindow$), $foi$$.setEventListener("mouse_out", null));
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._attachHandler", $AdfDhtmlGeoMapPeer$$.$_attachHandler$);
$AdfDhtmlGeoMapPeer$$.$_showInfoWindow$ = function $$AdfDhtmlGeoMapPeer$$$$_showInfoWindow$$($infoWindowLocation_point$$1$$, $event$$40_foi$$1_titleString$$, $mouseEvent$$2$$, $adfMap$$3$$, $htmlString_skipCallback$$, $locationLabel_nsdpThemeId$$) {
  null == $adfMap$$3$$ && ($adfMap$$3$$ = AdfPage.PAGE.findComponent($event$$40_foi$$1_titleString$$.parent._mvMapViewId));
  $adfMap$$3$$.$_mapview$.removeInfoWindow();
  var $colors_themeId$$2$$ = null, $isBidi_rowId$$1$$ = null;
  if (null != $event$$40_foi$$1_titleString$$._themeID) {
    $colors_themeId$$2$$ = $event$$40_foi$$1_titleString$$._themeID, $isBidi_rowId$$1$$ = $event$$40_foi$$1_titleString$$.getId(), $isBidi_rowId$$1$$ = $isBidi_rowId$$1$$.substring($colors_themeId$$2$$.length + 1);
  } else {
    var $colors_themeId$$2$$ = $locationLabel_nsdpThemeId$$, $attributeNames_dataLabel_themeElem$$ = $event$$40_foi$$1_titleString$$.attrnames;
    if (null != $attributeNames_dataLabel_themeElem$$) {
      for (i = 0;i < $attributeNames_dataLabel_themeElem$$.length;i++) {
        if ("__adf_rowId" == $attributeNames_dataLabel_themeElem$$[i]) {
          $isBidi_rowId$$1$$ = $event$$40_foi$$1_titleString$$.attrs[i];
          break;
        }
      }
    }
  }
  if ("hand" == $adfMap$$3$$.$_mapTool$) {
    if ($AdfDhtmlGeoMapPeer$$.$_findThemeInfo$($adfMap$$3$$._themeInfoTable, $colors_themeId$$2$$) && null == $htmlString_skipCallback$$) {
      $event$$40_foi$$1_titleString$$ = new $AdfMapInfoWindowEvent$$($adfMap$$3$$, $isBidi_rowId$$1$$, $colors_themeId$$2$$, $event$$40_foi$$1_titleString$$.getId()), $event$$40_foi$$1_titleString$$.setPartial(!0), $adfMap$$3$$.queueEvent($event$$40_foi$$1_titleString$$);
    } else {
      $htmlString_skipCallback$$ = "\x3ctable cellspacing\x3d'0' cellpadding\x3d'0' class\x3d'" + $JSCompiler_StaticMethods__getStyleElement$$($adfMap$$3$$).getAttribute("infoWindowTableClass") + "'";
      AdfAgent.getAgent().getPlatform() == AdfAgent.IE_PLATFORM && ($htmlString_skipCallback$$ += " style\x3d'word-break:break-all'");
      $htmlString_skipCallback$$ + "\x3e";
      var $attributeNames_dataLabel_themeElem$$ = $event$$40_foi$$1_titleString$$.attrnames, $attributeValues_margin_padding_themeType$$ = $event$$40_foi$$1_titleString$$.attrs;
      if (null != $attributeValues_margin_padding_themeType$$) {
        null != $mouseEvent$$2$$ && "mouseover" == $mouseEvent$$2$$.type && null != $event$$40_foi$$1_titleString$$._themeID && $event$$40_foi$$1_titleString$$.setEventListener("mouse_over", $AdfDhtmlGeoMapPeer$$.$_attachHandler$);
        var $label$$9_shortLabel$$ = [], $value$$107$$ = [];
        $locationLabel_nsdpThemeId$$ = $event$$40_foi$$1_titleString$$.name;
        if (null != $attributeNames_dataLabel_themeElem$$) {
          for (i = 0;i < $attributeNames_dataLabel_themeElem$$.length;i++) {
            "__adf_Location" != $attributeNames_dataLabel_themeElem$$[i] && "__adf_rowId" != $attributeNames_dataLabel_themeElem$$[i] && "__adf_location_label" != $attributeNames_dataLabel_themeElem$$[i] && 0 != $attributeNames_dataLabel_themeElem$$[i].indexOf("__adf_item_Label") ? 0 == $attributeNames_dataLabel_themeElem$$[i].indexOf("__adf_empty_Label") ? $label$$9_shortLabel$$.push("\x26nbsp;") : $label$$9_shortLabel$$.push($attributeNames_dataLabel_themeElem$$[i]) : 0 == $attributeNames_dataLabel_themeElem$$[i].indexOf("__adf_item_Label") ? 
            $value$$107$$.push($attributeValues_margin_padding_themeType$$[i]) : 0 == $attributeNames_dataLabel_themeElem$$[i].indexOf("__adf_location_label") && ($locationLabel_nsdpThemeId$$ = $attributeValues_margin_padding_themeType$$[i]);
          }
        }
        var $dataLabelArray$$ = null, $valueArray$$3$$ = null;
        null == $isBidi_rowId$$1$$ ? ($dataLabelArray$$ = $attributeNames_dataLabel_themeElem$$, $valueArray$$3$$ = $attributeValues_margin_padding_themeType$$) : ($dataLabelArray$$ = $label$$9_shortLabel$$, $valueArray$$3$$ = $value$$107$$);
        $attributeNames_dataLabel_themeElem$$ = $JSCompiler_StaticMethods__getThemeDefinitionElement$$($adfMap$$3$$, $colors_themeId$$2$$);
        $colors_themeId$$2$$ = null;
        $attributeValues_margin_padding_themeType$$ = $attributeNames_dataLabel_themeElem$$.getAttribute("themeType");
        $isBidi_rowId$$1$$ = AdfPage.PAGE.getLocaleContext().isRightToLeft();
        null == $attributeValues_margin_padding_themeType$$ || "BarChartTheme" != $attributeValues_margin_padding_themeType$$ && "PieChartTheme" != $attributeValues_margin_padding_themeType$$ || ($label$$9_shortLabel$$ = $attributeNames_dataLabel_themeElem$$.getAttribute("shortLabel"), null != $label$$9_shortLabel$$ && ($htmlString_skipCallback$$ = $htmlString_skipCallback$$ + ("\x3ctr\x3e\x3ctd colspan\x3d3\x3e\x3cb\x3e" + $label$$9_shortLabel$$ + "\x3c/b\x3e\x3c/td\x3e\x3c/tr\x3e") + "\x3ctr\x3e\x3ctd colspan\x3d3 height\x3d'5'\x3e\x3c/td\x3e\x3c/tr\x3e"), 
        "BarChartTheme" == $attributeValues_margin_padding_themeType$$ ? $colors_themeId$$2$$ = $attributeNames_dataLabel_themeElem$$.getAttribute("barColors").split(";") : "PieChartTheme" == $attributeValues_margin_padding_themeType$$ && ($colors_themeId$$2$$ = $attributeNames_dataLabel_themeElem$$.getAttribute("sliceColor").split(";")));
        for (i = 0;i < $dataLabelArray$$.length;i++) {
          $attributeNames_dataLabel_themeElem$$ = $dataLabelArray$$[i];
          if ("undefined" == typeof $attributeNames_dataLabel_themeElem$$ || null == $attributeNames_dataLabel_themeElem$$) {
            $attributeNames_dataLabel_themeElem$$ = "\x26nbsp;";
          }
          0 < i && ($htmlString_skipCallback$$ += "\x3ctr\x3e\x3ctd colspan\x3d'3' height\x3d'5'\x3e\x3c/td\x3e\x3c/tr\x3e");
          $htmlString_skipCallback$$ += "\x3ctr\x3e";
          null != $colors_themeId$$2$$ && (borderColor = $AdfDhtmlGeoMapPeer$$.$_getBorderColor$($colors_themeId$$2$$[i]), $attributeValues_margin_padding_themeType$$ = "margin-right:", $isBidi_rowId$$1$$ && ($attributeValues_margin_padding_themeType$$ = "margin-left:"), $htmlString_skipCallback$$ += "\x3ctd style\x3d'width:12px'\x3e\x3cdiv style\x3d'width:10px;height:10px;" + $attributeValues_margin_padding_themeType$$ + "3px;background-color:" + $colors_themeId$$2$$[i] + ";border:1px solid " + 
          borderColor + "'\x3e\x26nbsp;\x3c/div\x3e\x3c/td\x3e");
          $attributeValues_margin_padding_themeType$$ = "padding-left:";
          $isBidi_rowId$$1$$ && ($attributeValues_margin_padding_themeType$$ = "padding-right:");
          $htmlString_skipCallback$$ += "\x3ctd nowrap\x3e\x3cspan style\x3d'color:#534741;'\x3e" + $attributeNames_dataLabel_themeElem$$ + "\x3c/span\x3e\x3c/td\x3e\x3ctd\x3e\x3cspan style\x3d'" + $attributeValues_margin_padding_themeType$$ + "8px'\x3e" + $valueArray$$3$$[i] + "\x3c/span\x3e\x3c/td\x3e\x3c/tr\x3e";
        }
        $htmlString_skipCallback$$ += "\x3c/table\x3e";
        null != $mouseEvent$$2$$ && "mouseover" == $mouseEvent$$2$$.type && null != $event$$40_foi$$1_titleString$$._themeID && ($infoWindowLocation_point$$1$$ = $event$$40_foi$$1_titleString$$.getGeometry(), $event$$40_foi$$1_titleString$$.setEventListener("mouse_out", $AdfDhtmlGeoMapPeer$$.$_attachHandler$));
        $event$$40_foi$$1_titleString$$ = "\x3cdiv class\x3d'" + $JSCompiler_StaticMethods__getStyleElement$$($adfMap$$3$$).getAttribute("infoWindowTitleClass") + "'";
        AdfAgent.getAgent().getPlatform() == AdfAgent.IE_PLATFORM && ($event$$40_foi$$1_titleString$$ += " style\x3d'text-wrap:none'");
        $adfMap$$3$$.$_mapview$.displayInfoWindow($infoWindowLocation_point$$1$$, $htmlString_skipCallback$$, null, null, null, $event$$40_foi$$1_titleString$$ + ("\x3e" + $locationLabel_nsdpThemeId$$ + "\x3c/div\x3e"));
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._showInfoWindow", $AdfDhtmlGeoMapPeer$$.$_showInfoWindow$);
$AdfDhtmlGeoMapPeer$$.$_getThemeInfoIndex$ = function $$AdfDhtmlGeoMapPeer$$$$_getThemeInfoIndex$$($themeInfoTable$$, $themeId$$3$$) {
  for (var $i$$16$$ = 0;$i$$16$$ < $themeInfoTable$$.length;$i$$16$$++) {
    if ($themeInfoTable$$[$i$$16$$].id == $themeId$$3$$) {
      return $i$$16$$;
    }
  }
  return -1;
};
$AdfDhtmlGeoMapPeer$$.$_findThemeInfo$ = function $$AdfDhtmlGeoMapPeer$$$$_findThemeInfo$$($themeInfoTable$$1$$, $themeId$$4$$) {
  for (var $i$$17$$ = 0;$i$$17$$ < $themeInfoTable$$1$$.length;$i$$17$$++) {
    if ($themeInfoTable$$1$$[$i$$17$$].id == $themeId$$4$$ && null != $themeInfoTable$$1$$[$i$$17$$].hasCallback) {
      return !0;
    }
  }
  return !1;
};
$AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$ = function $$AdfDhtmlGeoMapPeer$$$$_getThemeInfoValue$$($themeInfoTable$$2$$, $themeId$$5$$, $key$$29$$) {
  for (var $i$$18$$ = 0;$i$$18$$ < $themeInfoTable$$2$$.length;$i$$18$$++) {
    if ($themeInfoTable$$2$$[$i$$18$$].id == $themeId$$5$$ && null != $themeInfoTable$$2$$[$i$$18$$][$key$$29$$]) {
      return $themeInfoTable$$2$$[$i$$18$$][$key$$29$$];
    }
  }
  return null;
};
$AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$ = function $$AdfDhtmlGeoMapPeer$$$$_addFOIPropertyToArray$$($prop$$6$$, $foi$$2$$) {
  if (null != $foi$$2$$._themeID) {
    themeId = $foi$$2$$._themeID, $rowId$$2$$ = $foi$$2$$.id, $rowId$$2$$ = $rowId$$2$$.substring(themeId.length + 1), $prop$$6$$.push($foi$$2$$.name), $prop$$6$$.push($rowId$$2$$), $prop$$6$$.push($foi$$2$$.getGeometry().getPointX()), $prop$$6$$.push($foi$$2$$.getGeometry().getPointY()), $prop$$6$$.push($foi$$2$$.$_category$), $prop$$6$$.push($foi$$2$$.attrnames[0]), null == $foi$$2$$.attrs ? ($prop$$6$$.push(""), $prop$$6$$.push("")) : ($prop$$6$$.push($foi$$2$$.attrs[0]), $prop$$6$$.push($foi$$2$$.attrs[1]))
    ;
  } else {
    var $attributeNames$$1$$ = $foi$$2$$.attrnames, $attributeValues$$1$$ = $foi$$2$$.attrs, $label$$10$$ = [], $value$$108$$ = [], $unFormat$$ = [], $rowId$$2$$ = null, $locationName$$ = null, $locationLabel$$1$$ = null;
    if (null != $attributeNames$$1$$) {
      for (j = 0;j < $attributeNames$$1$$.length;j++) {
        "__adf_Location" != $attributeNames$$1$$[j] && "__adf_rowId" != $attributeNames$$1$$[j] && "__adf_location_label" != $attributeNames$$1$$[j] && 0 != $attributeNames$$1$$[j].indexOf("__adf_item_Label") ? ($label$$10$$.push($attributeNames$$1$$[j]), null == $attributeValues$$1$$ || null == $attributeValues$$1$$[j] ? $unFormat$$.push("") : $unFormat$$.push($attributeValues$$1$$[j])) : 0 == $attributeNames$$1$$[j].indexOf("__adf_item_Label") ? $value$$108$$.push($attributeValues$$1$$[j]) : "__adf_rowId" == 
        $attributeNames$$1$$[j] ? $rowId$$2$$ = $attributeValues$$1$$[j] : "__adf_Location" == $attributeNames$$1$$[j] ? $locationName$$ = null == $attributeValues$$1$$ || null == $attributeValues$$1$$[j] ? "" : $attributeValues$$1$$[j] : "__adf_location_label" == $attributeNames$$1$$[j] && ($locationLabel$$1$$ = null == $attributeValues$$1$$ || null == $attributeValues$$1$$[j] ? "" : $attributeValues$$1$$[j]);
      }
    }
    if (null != $rowId$$2$$) {
      for ($prop$$6$$.push($locationName$$), $prop$$6$$.push($rowId$$2$$), $prop$$6$$.push($locationLabel$$1$$), $prop$$6$$.push($label$$10$$.length), j = 0;j < $label$$10$$.length;j++) {
        $prop$$6$$.push($label$$10$$[j]), $prop$$6$$.push($unFormat$$[j]), $prop$$6$$.push($value$$108$$[j]);
      }
    } else {
      if ($prop$$6$$.push($foi$$2$$.name), $prop$$6$$.push($foi$$2$$.id), null == $attributeNames$$1$$) {
        $prop$$6$$.push("0");
      } else {
        for ($prop$$6$$.push($attributeNames$$1$$.length), j = 0;j < $attributeNames$$1$$.length;j++) {
          $prop$$6$$.push($attributeNames$$1$$[j]), null == $attributeValues$$1$$ || null == $attributeValues$$1$$[j] ? $prop$$6$$.push("") : $prop$$6$$.push($attributeValues$$1$$[j]);
        }
      }
    }
  }
};
$AdfDhtmlGeoMapPeer$$.$_FOIClick$ = function $$AdfDhtmlGeoMapPeer$$$$_FOIClick$$($point$$2$$, $foi$$3$$, $mouseEvent$$3$$) {
  var $adfMap$$4$$ = AdfPage.PAGE.findComponent(this.parent._mvMapViewId), $mapTool_mouseX$$ = $adfMap$$4$$.$_mapTool$, $themeId$$6$$ = null, $themeId$$6$$ = "undefined" == typeof this.getLayerName ? this._themeID : this.getLayerName(), $action$$ = null;
  "hand" == $mapTool_mouseX$$ ? $action$$ = "click" : "pointSelection" == $mapTool_mouseX$$ && ($action$$ = "selection");
  var $mouseY$$ = $mapTool_mouseX$$ = null, $buttonClick$$ = "left";
  $mouseEvent$$3$$.pageX ? (0 == $mouseEvent$$3$$.button ? $buttonClick$$ = "left" : 2 == $mouseEvent$$3$$.button && ($buttonClick$$ = "right"), $mapTool_mouseX$$ = $mouseEvent$$3$$.pageX, $mouseY$$ = $mouseEvent$$3$$.pageY) : (1 == $mouseEvent$$3$$.button ? $buttonClick$$ = "left" : 0 == $mouseEvent$$3$$.button && ($buttonClick$$ = "right"), $mapTool_mouseX$$ = $mouseEvent$$3$$.clientX, $mouseY$$ = $mouseEvent$$3$$.clientY);
  $JSCompiler_StaticMethods__clickFOI$$($adfMap$$4$$.getPeer(), $foi$$3$$, $point$$2$$, $action$$, $themeId$$6$$, $mapTool_mouseX$$, $mouseY$$, $mouseEvent$$3$$, $buttonClick$$);
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._FOIClick", $AdfDhtmlGeoMapPeer$$.$_FOIClick$);
function $JSCompiler_StaticMethods__clickFOI$$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$, $event$$41_foi$$4_hints$$3$$, $point$$3$$, $action$$1_ltBehavior$$, $themeId$$7$$, $mouseX$$1_selectFOI$$, $mouseY$$1_selectFOIs$$, $mouseEvent$$4_props$$1_rtBehavior$$, $buttonClick$$1$$) {
  $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$ = $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.getComponent();
  var $mapId$$4_popup$$1_popupId$$7$$ = $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.getClientId();
  $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_mapview$.removeInfoWindow();
  "click" == $action$$1_ltBehavior$$ ? ($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_currentFOI$ = $event$$41_foi$$4_hints$$3$$, $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_currentFOITheme$ = $themeId$$7$$, "left" == $buttonClick$$1$$ ? ($action$$1_ltBehavior$$ = $AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$._themeInfoTable, $themeId$$7$$, "leftClickBehavior"), $mapId$$4_popup$$1_popupId$$7$$ = $mapId$$4_popup$$1_popupId$$7$$ + 
  $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "myPopup", $mapId$$4_popup$$1_popupId$$7$$ = AdfPage.PAGE.findComponent($mapId$$4_popup$$1_popupId$$7$$), null != $mapId$$4_popup$$1_popupId$$7$$ && $mapId$$4_popup$$1_popupId$$7$$.hide(), "FireEvent" == $action$$1_ltBehavior$$ ? ($mouseEvent$$4_props$$1_rtBehavior$$ = [], $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($mouseEvent$$4_props$$1_rtBehavior$$, $event$$41_foi$$4_hints$$3$$), $event$$41_foi$$4_hints$$3$$ = new $AdfMapClickActionEvent$$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$, 
  $mouseEvent$$4_props$$1_rtBehavior$$, $themeId$$7$$, $event$$41_foi$$4_hints$$3$$.id, "left", $mouseX$$1_selectFOI$$, $mouseY$$1_selectFOIs$$, $point$$3$$), $event$$41_foi$$4_hints$$3$$.setPartial(!0), $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.queueEvent($event$$41_foi$$4_hints$$3$$)) : "LaunchPopup" == $action$$1_ltBehavior$$ ? ($event$$41_foi$$4_hints$$3$$ = [], $event$$41_foi$$4_hints$$3$$[$AdfDhtmlCommonUtils$$.$MOUSEPOSITION$] = {x:$mouseX$$1_selectFOI$$, y:$mouseY$$1_selectFOIs$$}, 
  $mapId$$4_popup$$1_popupId$$7$$.show($event$$41_foi$$4_hints$$3$$)) : "LaunchInfoWindow" == $action$$1_ltBehavior$$ && $AdfDhtmlGeoMapPeer$$.$_showInfoWindow$($point$$3$$, $event$$41_foi$$4_hints$$3$$, $mouseEvent$$4_props$$1_rtBehavior$$, $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$, null, $themeId$$7$$)) : "right" == $buttonClick$$1$$ && ($mouseEvent$$4_props$$1_rtBehavior$$ = $AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$._themeInfoTable, 
  $themeId$$7$$, "rightClickBehavior"), $mapId$$4_popup$$1_popupId$$7$$ = $mapId$$4_popup$$1_popupId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "rtPopup", $mapId$$4_popup$$1_popupId$$7$$ = AdfPage.PAGE.findComponent($mapId$$4_popup$$1_popupId$$7$$), null != $mapId$$4_popup$$1_popupId$$7$$ && $mapId$$4_popup$$1_popupId$$7$$.hide(), "FireEvent" == $mouseEvent$$4_props$$1_rtBehavior$$ ? ($mouseEvent$$4_props$$1_rtBehavior$$ = [], $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($mouseEvent$$4_props$$1_rtBehavior$$, 
  $event$$41_foi$$4_hints$$3$$), $event$$41_foi$$4_hints$$3$$ = new $AdfMapClickActionEvent$$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$, $mouseEvent$$4_props$$1_rtBehavior$$, $themeId$$7$$, $event$$41_foi$$4_hints$$3$$.id, "right", $mouseX$$1_selectFOI$$, $mouseY$$1_selectFOIs$$, $point$$3$$), $event$$41_foi$$4_hints$$3$$.setPartial(!0), $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.queueEvent($event$$41_foi$$4_hints$$3$$)) : "LaunchPopup" == $mouseEvent$$4_props$$1_rtBehavior$$ && 
  ($event$$41_foi$$4_hints$$3$$ = [], $event$$41_foi$$4_hints$$3$$[$AdfDhtmlCommonUtils$$.$MOUSEPOSITION$] = {x:$mouseX$$1_selectFOI$$, y:$mouseY$$1_selectFOIs$$}, $mapId$$4_popup$$1_popupId$$7$$.show($event$$41_foi$$4_hints$$3$$)))) : "selection" == $action$$1_ltBehavior$$ && ($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_currentFOI$ = $event$$41_foi$$4_hints$$3$$, $mouseX$$1_selectFOI$$ = null, null != $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_activeTheme$ && (null != $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_selectTheme$ && 
  null == $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_selectTheme$.$getFilteringGeom$() && ($mouseY$$1_selectFOIs$$ = $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_selectTheme$.getFOIData(), null != $mouseY$$1_selectFOIs$$ && 0 < $mouseY$$1_selectFOIs$$.length && ($mouseX$$1_selectFOI$$ = $mouseY$$1_selectFOIs$$[0])), $JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$.$_activeTheme$ == $themeId$$7$$ && ($JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$), 
  null != $mouseX$$1_selectFOI$$ && null != $event$$41_foi$$4_hints$$3$$ && $mouseX$$1_selectFOI$$.name == $event$$41_foi$$4_hints$$3$$.name || $JSCompiler_StaticMethods__toolFinishCallback$$($JSCompiler_StaticMethods__clickFOI$self_adfMap$$5$$, $event$$41_foi$$4_hints$$3$$))));
}
$AdfDhtmlGeoMapPeer$$.$_handleMouseMove$ = function $$AdfDhtmlGeoMapPeer$$$$_handleMouseMove$$($event$$42_latElem$$) {
  var $e$$12_longX$$ = $event$$42_latElem$$;
  $e$$12_longX$$ || ($e$$12_longX$$ = window.event);
  var $longElem_mapId$$5$$ = this.id;
  if (null != $longElem_mapId$$5$$) {
    var $adfMap$$6_infoImagePath$$ = AdfPage.PAGE.findComponent($longElem_mapId$$5$$);
    if (null != $adfMap$$6_infoImagePath$$ && null != $adfMap$$6_infoImagePath$$.$_mapview$ && ($event$$42_latElem$$ = document.getElementById($longElem_mapId$$5$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latitude"), $longElem_mapId$$5$$ = document.getElementById($longElem_mapId$$5$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longitude"), null != $event$$42_latElem$$ && null != $longElem_mapId$$5$$ && "none" != $event$$42_latElem$$.style.display && "none" != $longElem_mapId$$5$$.style.display)) {
      var $currentTime_latY$$ = new Date;
      if (!(null != $event$$42_latElem$$.$_curMinute$ && null != $event$$42_latElem$$.$_curSecond$ && null != $event$$42_latElem$$.$_curMilliSeconds$ && $event$$42_latElem$$.$_curMinute$ == $currentTime_latY$$.getMinutes() && $event$$42_latElem$$.$_curSecond$ == $currentTime_latY$$.getSeconds() && 200 > $currentTime_latY$$.getMilliseconds() - $event$$42_latElem$$.$_curMilliSeconds$)) {
        var $srid$$ = $adfMap$$6_infoImagePath$$.$_mapview$.srid, $mouseLocation_xLabel$$ = MVUtil.getMouseLocation($adfMap$$6_infoImagePath$$.$_mapview$, $e$$12_longX$$);
        $mouseLocation_xLabel$$.srid = $srid$$;
        54004 == $srid$$ && ($event$$42_latElem$$.$_curMinute$ = $currentTime_latY$$.getMinutes(), $event$$42_latElem$$.$_curSecond$ = $currentTime_latY$$.getSeconds(), $event$$42_latElem$$.$_curMilliSeconds$ = $currentTime_latY$$.getMilliseconds(), $mouseLocation_xLabel$$ = $adfMap$$6_infoImagePath$$.$_mapview$.transformGeom($mouseLocation_xLabel$$, 8307));
        var $e$$12_longX$$ = $mouseLocation_xLabel$$.getPointX(), $currentTime_latY$$ = $mouseLocation_xLabel$$.getPointY(), $mouseLocation_xLabel$$ = $AdfDhtmlGeoMapPeer$$.$_X$ + ":", $yLabel$$ = $AdfDhtmlGeoMapPeer$$.$_Y$ + ":";
        if (8307 == $srid$$ || 54004 == $srid$$) {
          $mouseLocation_xLabel$$ = $AdfDhtmlGeoMapPeer$$.$_LONGITUDE$ + ":", $yLabel$$ = $AdfDhtmlGeoMapPeer$$.$_LATITUDE$ + ":";
        }
        $adfMap$$6_infoImagePath$$ = $JSCompiler_StaticMethods__getStyleElement$$($adfMap$$6_infoImagePath$$).getAttribute("INFO_IMAGE_PATH");
        $event$$42_latElem$$.innerHTML = "\x3cimg src\x3d'" + $adfMap$$6_infoImagePath$$ + "' align\x3d'top' style\x3d'margin-top:1px;margin-right:4px;vertical-align:text-top'/\x3e" + $yLabel$$ + "\x26nbsp;\x3cfont color\x3d'#FFFFFF'\x3e" + $AdfDhtmlGeoMapPeer$$.$_formatMessage$($currentTime_latY$$.toFixed(4)) + "\x3c/font\x3e\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;";
        $longElem_mapId$$5$$.innerHTML = $mouseLocation_xLabel$$ + "\x26nbsp;\x3cfont color\x3d'#FFFFFF'\x3e" + $AdfDhtmlGeoMapPeer$$.$_formatMessage$($e$$12_longX$$.toFixed(4)) + "\x3c/font\x3e\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;";
      }
    }
  }
};
$AdfDhtmlGeoMapPeer$$.$_generateErrorMessage$ = function $$AdfDhtmlGeoMapPeer$$$$_generateErrorMessage$$($addressNode_childNode$$, $errMsg_themeId$$8$$, $i$$19_row$$1$$) {
  $errMsg_themeId$$8$$ = "Unable to find a match for row (" + $i$$19_row$$1$$ + ") for Theme '" + $errMsg_themeId$$8$$ + "':\n";
  $addressNode_childNode$$ = $addressNode_childNode$$.childNodes[0];
  for ($i$$19_row$$1$$ = 0;$i$$19_row$$1$$ < $addressNode_childNode$$.attributes.length;$i$$19_row$$1$$++) {
    0 != $i$$19_row$$1$$ && ($errMsg_themeId$$8$$ += ", "), $errMsg_themeId$$8$$ += $addressNode_childNode$$.attributes[$i$$19_row$$1$$].nodeName + "\x3d" + $addressNode_childNode$$.attributes[$i$$19_row$$1$$].nodeValue;
  }
  return $errMsg_themeId$$8$$ + "\n";
};
$AdfDhtmlGeoMapPeer$$.$_getDomParser$ = function $$AdfDhtmlGeoMapPeer$$$$_getDomParser$$() {
  "undefined" == typeof DOMParser && (DOMParser = function $DOMParser$() {
  }, DOMParser.prototype.parseFromString = function $DOMParser$$parseFromString$($str$$11$$, $contentType$$2$$) {
    if ("undefined" != typeof ActiveXObject) {
      var $d$$7_req$$2$$ = new ActiveXObject("MSXML.DomDocument");
      $d$$7_req$$2$$.loadXML($str$$11$$);
      return $d$$7_req$$2$$;
    }
    if ("undefined" != typeof XMLHttpRequest) {
      return $d$$7_req$$2$$ = new XMLHttpRequest, $d$$7_req$$2$$.open("GET", "data:" + ($contentType$$2$$ || "application/xml") + ";charset\x3dutf-8," + encodeURIComponent($str$$11$$), !1), $d$$7_req$$2$$.overrideMimeType && $d$$7_req$$2$$.overrideMimeType($contentType$$2$$), $d$$7_req$$2$$.send(null), $d$$7_req$$2$$.responseXML;
    }
  });
  return new DOMParser;
};
$AdfDhtmlGeoMapPeer$$.$_getXMLHttpRequest$ = function $$AdfDhtmlGeoMapPeer$$$$_getXMLHttpRequest$$() {
  req = !1;
  if (window.XMLHttpRequest && !window.ActiveXObject) {
    try {
      req = new XMLHttpRequest;
    } catch ($e$$13$$) {
      req = !1;
    }
  } else {
    if (window.ActiveXObject) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch ($e$$14$$) {
        req = !1;
      }
    }
  }
  return req;
};
$AdfDhtmlGeoMapPeer$$.$_parseGeocodeResponse$ = function $$AdfDhtmlGeoMapPeer$$$$_parseGeocodeResponse$$($geocodeNode$$1_responseXML$$2$$, $mapId$$6_minX$$, $message$$40_themeId$$9_valueArray$$4$$, $zoomMode$$, $event$$43_matchMode$$, $allAddresses_geocodeRequest$$, $adfMap$$7_geocoderURL$$) {
  $allAddresses_geocodeRequest$$ = $AdfDhtmlGeoMapPeer$$.$_getDomParser$().parseFromString($allAddresses_geocodeRequest$$, "text/xml").getElementsByTagName("input_address");
  if (null == $geocodeNode$$1_responseXML$$2$$) {
    $message$$40_themeId$$9_valueArray$$4$$ = [], $message$$40_themeId$$9_valueArray$$4$$.push($adfMap$$7_geocoderURL$$), $message$$40_themeId$$9_valueArray$$4$$ = $AdfDhtmlGeoMapPeer$$.$_messageFormat$($AdfDhtmlGeoMapPeer$$.$_ERROR_MSG_26018$, $message$$40_themeId$$9_valueArray$$4$$), $AdfDhtmlGeoMapPeer$$.$_showErrorMessage$($message$$40_themeId$$9_valueArray$$4$$);
  } else {
    $adfMap$$7_geocoderURL$$ = AdfPage.PAGE.findComponent($mapId$$6_minX$$);
    var $minY$$ = $mapId$$6_minX$$ = null, $maxX$$ = null, $maxY$$ = null, $errMessage$$ = null, $errIndex$$ = null;
    if (null != $adfMap$$7_geocoderURL$$ && null != $adfMap$$7_geocoderURL$$._foiTheme[$message$$40_themeId$$9_valueArray$$4$$]) {
      $geocodeNode$$1_responseXML$$2$$ = $geocodeNode$$1_responseXML$$2$$.getElementsByTagName("geocode");
      for (var $i$$20$$ = 0;$i$$20$$ < $geocodeNode$$1_responseXML$$2$$.length;$i$$20$$++) {
        var $foi$$5$$ = $adfMap$$7_geocoderURL$$._foiTheme[$message$$40_themeId$$9_valueArray$$4$$][$i$$20$$], $longitude_matchNode_point$$4$$ = $geocodeNode$$1_responseXML$$2$$[$i$$20$$].getElementsByTagName("match");
        if (null == $longitude_matchNode_point$$4$$ || 1 > $longitude_matchNode_point$$4$$.length) {
          null == $errMessage$$ ? ($errMessage$$ = $AdfDhtmlGeoMapPeer$$.$_generateErrorMessage$($allAddresses_geocodeRequest$$[$i$$20$$], $message$$40_themeId$$9_valueArray$$4$$, $i$$20$$), $errIndex$$ = $i$$20$$.toString()) : ($errMessage$$ += "\n" + $AdfDhtmlGeoMapPeer$$.$_generateErrorMessage$($allAddresses_geocodeRequest$$[$i$$20$$], $message$$40_themeId$$9_valueArray$$4$$, $i$$20$$), $errIndex$$ += ";" + $i$$20$$.toString()), $foi$$5$$.parent = null;
        } else {
          var $latitude_matchcode$$ = $longitude_matchNode_point$$4$$[0].getAttribute("match_code");
          if ("exact" == $event$$43_matchMode$$ && "1" != $latitude_matchcode$$) {
            null == $errMessage$$ ? ($errMessage$$ = $AdfDhtmlGeoMapPeer$$.$_generateErrorMessage$($allAddresses_geocodeRequest$$[$i$$20$$], $message$$40_themeId$$9_valueArray$$4$$, $i$$20$$), $errIndex$$ = $i$$20$$.toString()) : ($errMessage$$ += "\n" + $AdfDhtmlGeoMapPeer$$.$_generateErrorMessage$($allAddresses_geocodeRequest$$[$i$$20$$], $message$$40_themeId$$9_valueArray$$4$$, $i$$20$$), $errIndex$$ += ";" + $i$$20$$.toString()), $foi$$5$$.parent = null;
          } else {
            $latitude_matchcode$$ = parseFloat($longitude_matchNode_point$$4$$[0].getAttribute("latitude"));
            if (null == $minY$$ || $minY$$ > $latitude_matchcode$$) {
              $minY$$ = $latitude_matchcode$$;
            }
            if (null == $maxY$$ || $maxY$$ < $latitude_matchcode$$) {
              $maxY$$ = $latitude_matchcode$$;
            }
            $longitude_matchNode_point$$4$$ = parseFloat($longitude_matchNode_point$$4$$[0].getAttribute("longitude"));
            if (null == $mapId$$6_minX$$ || $minY$$ > $longitude_matchNode_point$$4$$) {
              $mapId$$6_minX$$ = $longitude_matchNode_point$$4$$;
            }
            if (null == $maxX$$ || $maxY$$ < $longitude_matchNode_point$$4$$) {
              $maxX$$ = $longitude_matchNode_point$$4$$;
            }
            $longitude_matchNode_point$$4$$ = MVSdoGeometry.createPoint($longitude_matchNode_point$$4$$, $latitude_matchcode$$, 8307);
            $foi$$5$$.updateGeometry($longitude_matchNode_point$$4$$);
            null != $foi$$5$$.node && $foi$$5$$.setVisible(!0);
            $foi$$5$$.reDraw();
          }
        }
      }
    }
    null != $errMessage$$ && ($event$$43_matchMode$$ = new $AdfGeocodeEvent$$($adfMap$$7_geocoderURL$$, $message$$40_themeId$$9_valueArray$$4$$, $errIndex$$), $event$$43_matchMode$$.setPartial(!0), $adfMap$$7_geocoderURL$$.queueEvent($event$$43_matchMode$$), AdfLogger.LOGGER.logError($adfMap$$7_geocoderURL$$, AdfLogger.SEVERE, $errMessage$$));
    for ($i$$20$$ = 0;$i$$20$$ < $adfMap$$7_geocoderURL$$._themeInfoTable.length;$i$$20$$++) {
      $adfMap$$7_geocoderURL$$._themeInfoTable[$i$$20$$].id == $message$$40_themeId$$9_valueArray$$4$$ && ($adfMap$$7_geocoderURL$$._themeInfoTable[$i$$20$$].loaded = !0);
    }
    "none" != $zoomMode$$ && null != $mapId$$6_minX$$ && null != $minY$$ && null != $maxX$$ && null != $maxY$$ && ("zoom" == $zoomMode$$ ? $adfMap$$7_geocoderURL$$.$_mapview$.zoomToRectangle(MVSdoGeometry.createRectangle($mapId$$6_minX$$, $minY$$, $maxX$$, $maxY$$, 8307)) : "centerOnly" == $zoomMode$$ && $adfMap$$7_geocoderURL$$.$_mapview$.setCenter(MVSdoGeometry.createPoint(($mapId$$6_minX$$ + $maxX$$) / 2, ($minY$$ + $maxY$$) / 2, 8307)));
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer._parseGeocodeResponse", $AdfDhtmlGeoMapPeer$$.$_parseGeocodeResponse$);
$AdfDhtmlGeoMapPeer$$.$_adjustInfoWindowWidth$ = function $$AdfDhtmlGeoMapPeer$$$$_adjustInfoWindowWidth$$($boxWidth_mapDomElement_mapId$$7$$) {
  var $longElem$$1_longId$$ = $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longitude", $langElem_langId$$ = $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latitude", $latlongElem_latlongId$$ = $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latlong", $latlongEndElem_latlongEndId$$ = $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatEnd", $latlongConnectorElem_latlongConnectorId$$ = 
  $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatConnector", $distAreaStartElem_distAreaStartId$$ = $boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceAreaStart", $distanceAreaElem$$ = document.getElementById($boxWidth_mapDomElement_mapId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceArea"), $longElem$$1_longId$$ = document.getElementById($longElem$$1_longId$$), $langElem_langId$$ = document.getElementById($langElem_langId$$), 
  $latlongElem_latlongId$$ = document.getElementById($latlongElem_latlongId$$), $latlongEndElem_latlongEndId$$ = document.getElementById($latlongEndElem_latlongEndId$$), $latlongConnectorElem_latlongConnectorId$$ = document.getElementById($latlongConnectorElem_latlongConnectorId$$), $distAreaStartElem_distAreaStartId$$ = document.getElementById($distAreaStartElem_distAreaStartId$$);
  $boxWidth_mapDomElement_mapId$$7$$ = document.getElementById(AdfRichUIPeer.CreateSubId($boxWidth_mapDomElement_mapId$$7$$, "actualMap"));
  $boxWidth_mapDomElement_mapId$$7$$ = parseInt($boxWidth_mapDomElement_mapId$$7$$.style.width) - 50;
  var $elemWidth$$ = Math.ceil($boxWidth_mapDomElement_mapId$$7$$ / 3);
  null != $distanceAreaElem$$ && null != $latlongElem_latlongId$$ && (0 < $distanceAreaElem$$.innerHTML.length && "none" != $latlongElem_latlongId$$.style.display ? 100 >= $elemWidth$$ ? ($longElem$$1_longId$$.style.width = $elemWidth$$.toString() + "px", $langElem_langId$$.style.width = $elemWidth$$.toString() + "px", $latlongElem_latlongId$$.style.width = (2 * $elemWidth$$).toString() + "px", $distanceAreaElem$$.style.width = $elemWidth$$.toString() + "px") : ($longElem$$1_longId$$.style.width = 
  $AdfDhtmlGeoMapPeer$$.$_longWidth$.toString() + "px", $langElem_langId$$.style.width = $AdfDhtmlGeoMapPeer$$.$_latWidth$.toString() + "px", $latlongElem_latlongId$$.style.width = null, $distanceAreaElem$$.style.width = null, $latlongEndElem_latlongEndId$$.style.display = "none", $latlongConnectorElem_latlongConnectorId$$.style.display = "block", $distAreaStartElem_distAreaStartId$$.style.display = "none") : 0 < $distanceAreaElem$$.innerHTML.length ? ($distanceAreaElem$$.style.width = null, $distAreaStartElem_distAreaStartId$$.style.display = 
  "block") : "none" != $latlongElem_latlongId$$.style.display && ($elemWidth$$ = Math.ceil($boxWidth_mapDomElement_mapId$$7$$ / 2), 100 >= $elemWidth$$ ? ($longElem$$1_longId$$.style.width = $elemWidth$$.toString() + "px", $langElem_langId$$.style.width = $elemWidth$$.toString() + "px", $latlongElem_latlongId$$.style.width = $boxWidth_mapDomElement_mapId$$7$$.toString() + "px") : ($longElem$$1_longId$$.style.width = $AdfDhtmlGeoMapPeer$$.$_longWidth$.toString() + "px", $langElem_langId$$.style.width = 
  $AdfDhtmlGeoMapPeer$$.$_latWidth$.toString() + "px", $latlongElem_latlongId$$.style.width = null, $latlongEndElem_latlongEndId$$.style.display = "block", $latlongConnectorElem_latlongConnectorId$$.style.display = "none")), "none" == $latlongElem_latlongId$$.style.display && ($latlongEndElem_latlongEndId$$.style.display = "none", $latlongConnectorElem_latlongConnectorId$$.style.display = "none"), 0 == $distanceAreaElem$$.innerHTML.length && ($distanceAreaElem$$.style.width = "0px", $latlongConnectorElem_latlongConnectorId$$.style.display = 
  "none", $distAreaStartElem_distAreaStartId$$.style.display = "none"));
};
AdfDhtmlGeoMap.$_selectMapType$ = function $AdfDhtmlGeoMap$$_selectMapType$$($adfMap$$8_elem$$1_mapId$$8$$) {
  var $baseMapId_idList$$ = $adfMap$$8_elem$$1_mapId$$8$$.id.split(AdfRichUIPeer.createSubId("", ""));
  $adfMap$$8_elem$$1_mapId$$8$$ = $baseMapId_idList$$[0];
  var $baseMapId_idList$$ = $baseMapId_idList$$[1], $mapControlNotSelectClass_mapStyleElem$$ = document.getElementById(AdfRichUIPeer.CreateSubId($adfMap$$8_elem$$1_mapId$$8$$, "mapStyle")), $mapElem$$ = document.getElementById(AdfRichUIPeer.CreateSubId($adfMap$$8_elem$$1_mapId$$8$$, "mapSwitch")), $satelliteMapElem$$ = document.getElementById(AdfRichUIPeer.CreateSubId($adfMap$$8_elem$$1_mapId$$8$$, "satelliteMapSwitch")), $hybridMapElem$$ = document.getElementById(AdfRichUIPeer.CreateSubId($adfMap$$8_elem$$1_mapId$$8$$, 
  "hybridMapSwitch")), $mapControlClass$$ = $mapControlNotSelectClass_mapStyleElem$$.getAttribute("mapControlStyleClass"), $mapControlNotSelectClass_mapStyleElem$$ = $mapControlNotSelectClass_mapStyleElem$$.getAttribute("mapControlStyleClassNotSelect");
  $adfMap$$8_elem$$1_mapId$$8$$ = AdfPage.PAGE.findComponent($adfMap$$8_elem$$1_mapId$$8$$);
  "mapSwitch" == $baseMapId_idList$$ ? ($adfMap$$8_elem$$1_mapId$$8$$.$_baseMap$.setVisible(!0), null != $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$.setVisible(!1), null != $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$.setVisible(!1), null != $mapElem$$ && ($mapElem$$.className = $mapControlClass$$), null != $satelliteMapElem$$ && ($satelliteMapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$), 
  null != $hybridMapElem$$ && ($hybridMapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$)) : "satelliteMapSwitch" == $baseMapId_idList$$ ? ($adfMap$$8_elem$$1_mapId$$8$$.$_baseMap$.setVisible(!1), null != $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$.setVisible(!0), null != $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$.setVisible(!1), null != $mapElem$$ && ($mapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$), 
  null != $satelliteMapElem$$ && ($satelliteMapElem$$.className = $mapControlClass$$), null != $hybridMapElem$$ && ($hybridMapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$)) : "hybridMapSwitch" == $baseMapId_idList$$ && ($adfMap$$8_elem$$1_mapId$$8$$.$_baseMap$.setVisible(!1), null != $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_satelliteMap$.setVisible(!0), null != $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$ && $adfMap$$8_elem$$1_mapId$$8$$.$_hybridMap$.setVisible(!0), 
  null != $mapElem$$ && ($mapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$), null != $satelliteMapElem$$ && ($satelliteMapElem$$.className = $mapControlNotSelectClass_mapStyleElem$$), null != $hybridMapElem$$ && ($hybridMapElem$$.className = $mapControlClass$$));
};
$goog$exportSymbol$$("AdfDhtmlGeoMap._selectMapType", AdfDhtmlGeoMap.$_selectMapType$);
function $JSCompiler_StaticMethods__getDataSourceName$$($JSCompiler_StaticMethods__getDataSourceName$self_mapId$$9$$) {
  $JSCompiler_StaticMethods__getDataSourceName$self_mapId$$9$$ = $JSCompiler_StaticMethods__getDataSourceName$self_mapId$$9$$.getDomElement().id;
  return document.getElementById(AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__getDataSourceName$self_mapId$$9$$, "mapStyle")).getAttribute("baseMapName").split(".")[0];
}
$AdfDhtmlGeoMapPeer$$.prototype.$_doubleClick$ = function $$AdfDhtmlGeoMapPeer$$$$$_doubleClick$$() {
  "hand" == AdfPage.PAGE.findComponent(this._mvMapViewId).$_mapTool$ && this.zoomIn(this.getMouseLocation());
};
$AdfDhtmlGeoMapPeer$$.prototype.$_MapClick$ = function $$AdfDhtmlGeoMapPeer$$$$$_MapClick$$($event$$45$$) {
  var $mapId$$11$$ = this._mvMapViewId, $adfMap$$10_mouseEvent$$5$$ = AdfPage.PAGE.findComponent($mapId$$11$$);
  if ("zoomIn" == $adfMap$$10_mouseEvent$$5$$.$_mapTool$) {
    this.zoomIn(this.getMouseLocation());
  } else {
    if ("zoomOut" == $adfMap$$10_mouseEvent$$5$$.$_mapTool$) {
      0 < $JSCompiler_StaticMethods_getZoomLevel$$() && this.$zoomOut$(this.getMouseLocation());
    } else {
      if ("pointSelection" == $adfMap$$10_mouseEvent$$5$$.$_mapTool$) {
        if (null == $adfMap$$10_mouseEvent$$5$$.$_activeTheme$) {
          return;
        }
        null != $adfMap$$10_mouseEvent$$5$$.$_mapview$.getThemeBasedFOI($adfMap$$10_mouseEvent$$5$$.$_activeTheme$) && ($JSCompiler_StaticMethods__clearSelection$$($adfMap$$10_mouseEvent$$5$$), $adfMap$$10_mouseEvent$$5$$.$_toolFinish$());
      } else {
        "hand" == $adfMap$$10_mouseEvent$$5$$.$_mapTool$ && AdfAgent.getAgent().getPlatform();
      }
    }
  }
  AdfAgent.getAgent().getPlatform() != AdfAgent.IE_PLATFORM || document.createEvent ? ($adfMap$$10_mouseEvent$$5$$ = document.createEvent("MouseEvents"), $adfMap$$10_mouseEvent$$5$$.initMouseEvent("mousedown", !0, !0, window, 1, $event$$45$$.screenX, $event$$45$$.screenY, $event$$45$$.clientX, $event$$45$$.clientY, $event$$45$$.ctrlKey, $event$$45$$.altKey, $event$$45$$.shiftKey, $event$$45$$.metaKey, $event$$45$$.button, $event$$45$$.relatedTarget), document.getElementById($mapId$$11$$).dispatchEvent($adfMap$$10_mouseEvent$$5$$)) : 
  document.getElementById($mapId$$11$$).fireEvent("onmousedown");
};
$AdfDhtmlGeoMapPeer$$.prototype._MapClick = $AdfDhtmlGeoMapPeer$$.prototype.$_MapClick$;
$AdfDhtmlGeoMapPeer$$.prototype.$_MapRTCancel$ = function $$AdfDhtmlGeoMapPeer$$$$$_MapRTCancel$$() {
  var $adfMap$$11$$ = AdfPage.PAGE.findComponent(this._mvMapViewId);
  if ("ruler" == $adfMap$$11$$.$_mapTool$) {
    $JSCompiler_StaticMethods__displayDistanceArea$$($adfMap$$11$$, !1, $AdfDhtmlGeoMapPeer$$.$_DISTANCE$, 0), $adfMap$$11$$.$_measureTool$.clear(), $adfMap$$11$$.$_measureTool$.init();
  } else {
    if ("area" == $adfMap$$11$$.$_mapTool$) {
      $JSCompiler_StaticMethods__displayDistanceArea$$($adfMap$$11$$, !1, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0);
      $adfMap$$11$$.$_areaTool$.clear();
      var $oldFOI$$ = this.getFOI("__adf_areaTool_Polygon");
      null != $oldFOI$$ && this.removeFOI($oldFOI$$);
      $adfMap$$11$$.$_areaTool$.init();
    }
  }
};
$AdfDhtmlGeoMapPeer$$.prototype._MapRTCancel = $AdfDhtmlGeoMapPeer$$.prototype.$_MapRTCancel$;
$AdfDhtmlGeoMapPeer$$.prototype.$_recenterListener$ = function $$AdfDhtmlGeoMapPeer$$$$$_recenterListener$$() {
  var $adfMap$$12$$ = AdfPage.PAGE.findComponent(this._mvMapViewId), $newX_startSRID$$ = $JSCompiler_StaticMethods__getStyleElement$$($adfMap$$12$$).getAttribute("startSRID"), $mapRecenterEvent_newCenter_newSRID$$ = this.getCenter();
  $mapRecenterEvent_newCenter_newSRID$$.srid != $newX_startSRID$$ && ($mapRecenterEvent_newCenter_newSRID$$ = this.transformGeom(this.getCenter(), $newX_startSRID$$));
  var $newX_startSRID$$ = $mapRecenterEvent_newCenter_newSRID$$.getPointX().toString(), $newY$$ = $mapRecenterEvent_newCenter_newSRID$$.getPointY().toString(), $mapRecenterEvent_newCenter_newSRID$$ = $mapRecenterEvent_newCenter_newSRID$$.srid.toString();
  $adfMap$$12$$.setProperty("centerX", $newX_startSRID$$);
  $adfMap$$12$$.setProperty("centerY", $newY$$);
  $adfMap$$12$$.setProperty("centerSrid", $mapRecenterEvent_newCenter_newSRID$$);
  $mapRecenterEvent_newCenter_newSRID$$ = new $AdfMapRecenterEvent$$($adfMap$$12$$, $newX_startSRID$$, $newY$$, $mapRecenterEvent_newCenter_newSRID$$);
  $mapRecenterEvent_newCenter_newSRID$$.setPartial(!0);
  $adfMap$$12$$.queueEvent($mapRecenterEvent_newCenter_newSRID$$);
};
$AdfDhtmlGeoMapPeer$$.prototype._recenterListener = $AdfDhtmlGeoMapPeer$$.prototype.$_recenterListener$;
$AdfDhtmlGeoMapPeer$$.prototype.$_beforeZoomListener$ = function $$AdfDhtmlGeoMapPeer$$$$$_beforeZoomListener$$($oldZoomLevel$$, $curZoomLevel$$) {
  for (var $adfMap$$13$$ = AdfPage.PAGE.findComponent(this._mvMapViewId), $i$$21$$ = 0;$i$$21$$ < $adfMap$$13$$._themeInfoTable.length;$i$$21$$++) {
    var $themeEntry$$ = $adfMap$$13$$._themeInfoTable[$i$$21$$], $isAlreadyVisible$$ = $JSCompiler_StaticMethods__isThemeVisibleinZoomLevel$$($themeEntry$$, $oldZoomLevel$$), $isNewlyVisible$$ = $JSCompiler_StaticMethods__isThemeVisibleinZoomLevel$$($themeEntry$$, $curZoomLevel$$);
    $themeEntry$$.id != $adfMap$$13$$.$_activeTheme$ || $isNewlyVisible$$ || $JSCompiler_StaticMethods__clearSelection$$($adfMap$$13$$);
    $isAlreadyVisible$$ == $isNewlyVisible$$ || null != $themeEntry$$.toolbarVisible && 0 == $themeEntry$$.toolbarVisible && $isNewlyVisible$$ || ("PointTheme" == $themeEntry$$.type ? $isNewlyVisible$$ && !$themeEntry$$.loaded || $JSCompiler_StaticMethods__setPointThemeVisible$$($adfMap$$13$$, $themeEntry$$, $isNewlyVisible$$) : $isNewlyVisible$$ && !$themeEntry$$.loaded || $JSCompiler_StaticMethods__setNSDPThemeVisible$$($adfMap$$13$$, $themeEntry$$, $isNewlyVisible$$));
  }
};
$AdfDhtmlGeoMapPeer$$.prototype._beforeZoomListener = $AdfDhtmlGeoMapPeer$$.prototype.$_beforeZoomListener$;
$AdfDhtmlGeoMapPeer$$.prototype.$_zoomListener$ = function $$AdfDhtmlGeoMapPeer$$$$$_zoomListener$$($beforeZoomLevel$$, $afterZoomLevel$$) {
  var $adfMap$$14$$ = AdfPage.PAGE.findComponent(this._mvMapViewId);
  $adfMap$$14$$.setProperty("currentZoom", $afterZoomLevel$$.toString());
  for (var $mapScaleChangeEvent_needToLoadTheme$$ = !1, $i$$22$$ = 0;$i$$22$$ < $adfMap$$14$$._themeInfoTable.length;$i$$22$$++) {
    var $themeEntry$$1$$ = $adfMap$$14$$._themeInfoTable[$i$$22$$];
    if (!$themeEntry$$1$$.loaded && $JSCompiler_StaticMethods__isThemeVisibleinZoomLevel$$($themeEntry$$1$$, $beforeZoomLevel$$) != $JSCompiler_StaticMethods__isThemeVisibleinZoomLevel$$($themeEntry$$1$$, $afterZoomLevel$$)) {
      $mapScaleChangeEvent_needToLoadTheme$$ = !0;
      break;
    }
  }
  $mapScaleChangeEvent_needToLoadTheme$$ && $adfMap$$14$$.$_mapview$.setLoadingIconVisible(!0);
  $mapScaleChangeEvent_needToLoadTheme$$ = new $AdfMapScaleChangeEvent$$($adfMap$$14$$, $beforeZoomLevel$$.toString(), $afterZoomLevel$$.toString());
  $mapScaleChangeEvent_needToLoadTheme$$.setPartial(!0);
  $adfMap$$14$$.queueEvent($mapScaleChangeEvent_needToLoadTheme$$);
};
$AdfDhtmlGeoMapPeer$$.prototype._zoomListener = $AdfDhtmlGeoMapPeer$$.prototype.$_zoomListener$;
function $JSCompiler_StaticMethods__simulateMouseOnFOI$$($foi$$6$$, $state$$1$$) {
  if ($foi$$6$$ && null != $foi$$6$$.id) {
    var $foiElem$$ = document.getElementById($foi$$6$$.id);
    if (null != $foiElem$$ && null != $foiElem$$.firstChild && null != $foiElem$$.firstChild.firstChild) {
      if ("mouseout" == $state$$1$$ && null != $foiElem$$.firstChild.firstChild.onmouseout) {
        $foiElem$$.firstChild.firstChild.onmouseout();
      } else {
        if ("mouseover" == $state$$1$$ && null != $foiElem$$.firstChild.firstChild.onmouseover) {
          $foiElem$$.firstChild.firstChild.onmouseover();
        }
      }
    }
  }
}
$AdfDhtmlGeoMapPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlGeoMapPeer$$$$$HandleComponentKeyDown$$($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$) {
  var $domEvent$$4_j$$2$$ = $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.getNativeEvent(), $keyCode$$2_mapElem$$2$$ = $domEvent$$4_j$$2$$.keyCode, $map$$2$$ = this.getComponent(), $focusThemeId_mapId$$16$$ = $map$$2$$.getClientId(), $point$$5_subIds$$ = [];
  $point$$5_subIds$$[0] = AdfRichUIPeer.CreateSubId($focusThemeId_mapId$$16$$, "mapSwitch");
  $point$$5_subIds$$[1] = AdfRichUIPeer.CreateSubId($focusThemeId_mapId$$16$$, "satelliteMapSwitch");
  $point$$5_subIds$$[2] = AdfRichUIPeer.CreateSubId($focusThemeId_mapId$$16$$, "hybridMapSwitch");
  $focusThemeId_mapId$$16$$ = $map$$2$$.$_focusThemeId$;
  null == $focusThemeId_mapId$$16$$ && null != $map$$2$$._themeInfoTable && 0 < $map$$2$$._themeInfoTable.length && ($focusThemeId_mapId$$16$$ = $map$$2$$._themeInfoTable[0].id, $map$$2$$.$_focusThemeId$ = $focusThemeId_mapId$$16$$, $map$$2$$.$_focusFOIIndex$ = 0);
  var $foiArray_index$$51_theme$$inline_198$$ = null, $curThemeIndex_foiArray$$inline_199_originalElement$$ = -1;
  if (null != $focusThemeId_mapId$$16$$) {
    var $focusFOIIndex_themeType$$inline_197$$ = $AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$($map$$2$$._themeInfoTable, $focusThemeId_mapId$$16$$, "type"), $foiArray_index$$51_theme$$inline_198$$ = map.getTheme($focusThemeId_mapId$$16$$), $curThemeIndex_foiArray$$inline_199_originalElement$$ = null;
    $foiArray_index$$51_theme$$inline_198$$ && ($curThemeIndex_foiArray$$inline_199_originalElement$$ = "PointTheme" == $focusFOIIndex_themeType$$inline_197$$ ? $foiArray_index$$51_theme$$inline_198$$ : $foiArray_index$$51_theme$$inline_198$$.getFOIData());
    $foiArray_index$$51_theme$$inline_198$$ = $curThemeIndex_foiArray$$inline_199_originalElement$$;
    $curThemeIndex_foiArray$$inline_199_originalElement$$ = $AdfDhtmlGeoMapPeer$$.$_getThemeInfoIndex$($map$$2$$._themeInfoTable, $focusThemeId_mapId$$16$$);
  }
  ($focusFOIIndex_themeType$$inline_197$$ = $map$$2$$.$_focusFOIIndex$) || ($focusFOIIndex_themeType$$inline_197$$ = 0);
  var $isSelect$$ = AdfAgent.AGENT.isSelectionToggle($domEvent$$4_j$$2$$);
  if ($keyCode$$2_mapElem$$2$$ == AdfKeyStroke.ARROWLEFT_KEY && $isSelect$$ && null != $foiArray_index$$51_theme$$inline_198$$) {
    $JSCompiler_StaticMethods__simulateMouseOnFOI$$($foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], "mouseout"), $focusFOIIndex_themeType$$inline_197$$--, 0 > $focusFOIIndex_themeType$$inline_197$$ && ($focusFOIIndex_themeType$$inline_197$$ = $foiArray_index$$51_theme$$inline_198$$.length - 1), $JSCompiler_StaticMethods__simulateMouseOnFOI$$($foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], "mouseover");
  } else {
    if ($keyCode$$2_mapElem$$2$$ == AdfKeyStroke.ARROWRIGHT_KEY && $isSelect$$ && null != $foiArray_index$$51_theme$$inline_198$$) {
      $JSCompiler_StaticMethods__simulateMouseOnFOI$$($foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], "mouseout"), $focusFOIIndex_themeType$$inline_197$$++, $focusFOIIndex_themeType$$inline_197$$ >= $foiArray_index$$51_theme$$inline_198$$.length && ($focusFOIIndex_themeType$$inline_197$$ = 0), $JSCompiler_StaticMethods__simulateMouseOnFOI$$($foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], "mouseover");
    } else {
      if (221 == $keyCode$$2_mapElem$$2$$) {
        $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = $curThemeIndex_foiArray$$inline_199_originalElement$$ - 1, 0 > $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ && ($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = $map$$2$$._themeInfoTable.length - 1), 0 <= $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ && $map$$2$$._themeInfoTable[$componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$] && ($focusThemeId_mapId$$16$$ = $map$$2$$._themeInfoTable[$componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$].id, 
        $focusFOIIndex_themeType$$inline_197$$ = 0);
      } else {
        if (219 == $keyCode$$2_mapElem$$2$$) {
          $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = $curThemeIndex_foiArray$$inline_199_originalElement$$ + 1, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ >= $map$$2$$._themeInfoTable.length && ($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = 0), 0 <= $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ && $map$$2$$._themeInfoTable[$componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$] && ($focusThemeId_mapId$$16$$ = $map$$2$$._themeInfoTable[$componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$].id, 
          $focusFOIIndex_themeType$$inline_197$$ = 0);
        } else {
          if ($keyCode$$2_mapElem$$2$$ == AdfKeyStroke.ENTER_KEY) {
            if (null != $map$$2$$.$_focusMapIndex$) {
              $keyCode$$2_mapElem$$2$$ = document.getElementById($point$$5_subIds$$[$map$$2$$.$_focusMapIndex$]);
              if (null != $keyCode$$2_mapElem$$2$$) {
                $keyCode$$2_mapElem$$2$$.onmousedown();
              }
              $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.stopBubbling();
              $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.cancel();
              $domEvent$$4_j$$2$$.stopPropagation();
            } else {
              null != $foiArray_index$$51_theme$$inline_198$$ && null != $focusThemeId_mapId$$16$$ && ($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = $foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], $point$$5_subIds$$ = MVSdoGeometry.createPoint($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.x, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.y, $map$$2$$.$_mapview$.srid), $JSCompiler_StaticMethods__clickFOI$$(this, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$, 
              $point$$5_subIds$$, "click", $focusThemeId_mapId$$16$$, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.x, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.y, null, "left"));
            }
          } else {
            if ($keyCode$$2_mapElem$$2$$ == AdfKeyStroke.SPACE_KEY && $isSelect$$ && null != $foiArray_index$$51_theme$$inline_198$$ && null != $focusThemeId_mapId$$16$$) {
              $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$ = $foiArray_index$$51_theme$$inline_198$$[$focusFOIIndex_themeType$$inline_197$$], $point$$5_subIds$$ = MVSdoGeometry.createPoint($componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.x, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.y, $map$$2$$.$_mapview$.srid), $JSCompiler_StaticMethods__clickFOI$$(this, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$, $point$$5_subIds$$, "selection", $focusThemeId_mapId$$16$$, 
              $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.x, $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.y, null, "left");
            } else {
              if ($keyCode$$2_mapElem$$2$$ == AdfKeyStroke.TAB_KEY) {
                $keyCode$$2_mapElem$$2$$ = null;
                $foiArray_index$$51_theme$$inline_198$$ = 0;
                if (null == $map$$2$$.$_focusMapIndex$) {
                  $keyCode$$2_mapElem$$2$$ = document.getElementById($point$$5_subIds$$[0]);
                } else {
                  $foiArray_index$$51_theme$$inline_198$$ = $map$$2$$.$_focusMapIndex$;
                  $curThemeIndex_foiArray$$inline_199_originalElement$$ = document.getElementById($point$$5_subIds$$[$foiArray_index$$51_theme$$inline_198$$]);
                  if (null != $curThemeIndex_foiArray$$inline_199_originalElement$$) {
                    $curThemeIndex_foiArray$$inline_199_originalElement$$.onblur();
                  }
                  if ($domEvent$$4_j$$2$$.shiftKey) {
                    for ($foiArray_index$$51_theme$$inline_198$$--, $domEvent$$4_j$$2$$ = $foiArray_index$$51_theme$$inline_198$$;0 <= $domEvent$$4_j$$2$$ && null == $keyCode$$2_mapElem$$2$$;$domEvent$$4_j$$2$$--) {
                      $keyCode$$2_mapElem$$2$$ = document.getElementById($point$$5_subIds$$[$domEvent$$4_j$$2$$]), $foiArray_index$$51_theme$$inline_198$$ = $domEvent$$4_j$$2$$;
                    }
                  } else {
                    for ($foiArray_index$$51_theme$$inline_198$$++, $domEvent$$4_j$$2$$ = $foiArray_index$$51_theme$$inline_198$$;3 > $domEvent$$4_j$$2$$ && null == $keyCode$$2_mapElem$$2$$;$domEvent$$4_j$$2$$++) {
                      $keyCode$$2_mapElem$$2$$ = document.getElementById($point$$5_subIds$$[$domEvent$$4_j$$2$$]), $foiArray_index$$51_theme$$inline_198$$ = $domEvent$$4_j$$2$$;
                    }
                  }
                }
                null != $keyCode$$2_mapElem$$2$$ ? ($map$$2$$.$_focusMapIndex$ = $foiArray_index$$51_theme$$inline_198$$, $keyCode$$2_mapElem$$2$$.onfocus(), $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.stopBubbling(), $componentEvent$$9_foi$$7_nextThemeIndex_prevThemeIndex$$.cancel()) : $map$$2$$.$_focusMapIndex$ = null;
              } else {
                $keyCode$$2_mapElem$$2$$ == AdfKeyStroke.ESC_KEY ? $map$$2$$.$_mapview$.removeInfoWindow() : 79 == $keyCode$$2_mapElem$$2$$ && null != $map$$2$$.$_overviewMap$ && ($map$$2$$.$_overviewMap$.isCollapsed() ? $map$$2$$.$_overviewMap$.$minimizedIcon$.parentNode.click() : $map$$2$$.$_overviewMap$.collapse());
              }
            }
          }
        }
      }
    }
  }
  $map$$2$$.$_focusThemeId$ = $focusThemeId_mapId$$16$$;
  $map$$2$$.$_focusFOIIndex$ = $focusFOIIndex_themeType$$inline_197$$;
};
$goog$exportSymbol$$("AdfDhtmlGeoMapPeer.prototype.HandleComponentKeyDown", $AdfDhtmlGeoMapPeer$$.prototype.$HandleComponentKeyDown$);
$AdfDhtmlGeoMapPeer$$.InitSubclass = function $$AdfDhtmlGeoMapPeer$$$InitSubclass$() {
  AdfObject.ensureClassInitialization($AdfDhtmlGeoMapPeer$$);
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "centerX");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "centerY");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "currentZoom");
  AdfRichUIPeer.addComponentEventHandlers(this, AdfUIInputEvent.KEY_DOWN_EVENT_TYPE);
};
$JSCompiler_prototypeAlias$$ = $AdfDhtmlGeoMapPeer$$.prototype;
$JSCompiler_prototypeAlias$$.needsResizeNotify = function $$JSCompiler_prototypeAlias$$$needsResizeNotify$() {
  return !0;
};
$JSCompiler_prototypeAlias$$.$_createMapViewCallback$ = function $$JSCompiler_prototypeAlias$$$$_createMapViewCallback$$($responseXML$$3$$, $responseText$$1$$) {
  var $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$ = this.getClientId(), $mapStyleElem$$2_valueArray$$5$$ = document.getElementById(AdfRichUIPeer.CreateSubId($mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$, "mapStyle"));
  if (null != $responseText$$1$$ && 0 < $responseText$$1$$.length) {
    AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "MapViewer Connection OK");
    var $dataElement$$ = document.getElementById(AdfRichUIPeer.CreateSubId($mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$, "Data")), $peer$$1$$ = this.getPeer();
    AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "Before GeoMap Render: " + $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$);
    $peer$$1$$.$_initMapView$($dataElement$$, $mapStyleElem$$2_valueArray$$5$$);
    $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$ = this.$_mapTool$;
    this.$_mapTool$ = "";
    $JSCompiler_StaticMethods_setMapTool$$(this, $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$);
  } else {
    $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$ = $mapStyleElem$$2_valueArray$$5$$.getAttribute("mapServerURL"), $mapStyleElem$$2_valueArray$$5$$ = [], $mapStyleElem$$2_valueArray$$5$$.push($mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$), $mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$ = $AdfDhtmlGeoMapPeer$$.$_messageFormat$($AdfDhtmlGeoMapPeer$$.$_ERROR_MSG_26017$, $mapStyleElem$$2_valueArray$$5$$), $AdfDhtmlGeoMapPeer$$.$_showErrorMessage$($mapId$$17_mapServerURL$$2_mapTool$$1_message$$41$$), 
    AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "MapViewer Connection Failed");
  }
};
$JSCompiler_prototypeAlias$$.ResizeNotify = function $$JSCompiler_prototypeAlias$$$ResizeNotify$($createCallback$$inline_207_elemId$$1_oldWidth$$4$$, $mapElem$$3_oldHeight$$4$$, $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$, $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$) {
  $createCallback$$inline_207_elemId$$1_oldWidth$$4$$ = this.$_component$.getClientId();
  null != $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$ && null != $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ && ($mapElem$$3_oldHeight$$4$$ = document.getElementById(AdfRichUIPeer.CreateSubId($createCallback$$inline_207_elemId$$1_oldWidth$$4$$, "actualMap")), null != $mapElem$$3_oldHeight$$4$$ && ($mapElem$$3_oldHeight$$4$$.style.width = $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$.toString() + 
  "px", $mapElem$$3_oldHeight$$4$$.style.height = $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$.toString() + "px", null != this.$_component$.$_mapview$ && $AdfDhtmlGeoMapPeer$$.$_adjustInfoWindowWidth$($createCallback$$inline_207_elemId$$1_oldWidth$$4$$)));
  null == this.$_component$.$_mapview$ && ($connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$ = AdfPage.PAGE.isStreamingRequestPending($createCallback$$inline_207_elemId$$1_oldWidth$$4$$), this.$_component$.$_isPending$ = $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$, this.$_isAda$ || ($connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$ = this.$_component$.getClientId(), $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ = 
  document.getElementById(AdfRichUIPeer.CreateSubId($connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$, "mapStyle")), $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$.getAttribute("contextPath"), $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$ = $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$.getAttribute("proxyPath"), $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ = 
  $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$.getAttribute("mapServerURL"), null != $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ && ($mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ = "rtarget\x3d" + $mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$ + "/omserver\x26getv\x3dt", $createCallback$$inline_207_elemId$$1_oldWidth$$4$$ = this.$_component$.createCallback(this.$_createMapViewCallback$), 
  $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$ = new MapAJAXConnection($connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$, $createCallback$$inline_207_elemId$$1_oldWidth$$4$$), AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "Sending MapViewer Ajax request ..."), $connection$$inline_208_elemId$$inline_202_isPending_newWidth$$5_proxyPath$$inline_204$$.doPost($mapServerURL$$inline_205_mapStyleElem$$inline_203_newHeight$$4_param$$inline_206$$))));
};
$JSCompiler_prototypeAlias$$.DomReplaceNotify = function $$JSCompiler_prototypeAlias$$$DomReplaceNotify$($domNode$$7$$) {
  var $elemId$$2_mapTool$$2$$ = this.$_component$.getClientId();
  if ($domNode$$7$$.id == AdfRichUIPeer.CreateSubId($elemId$$2_mapTool$$2$$, "Data")) {
    var $dataElement$$1$$ = document.getElementById(AdfRichUIPeer.CreateSubId($elemId$$2_mapTool$$2$$, "Data")), $mapStyleElem$$4$$ = document.getElementById(AdfRichUIPeer.CreateSubId($elemId$$2_mapTool$$2$$, "mapStyle"));
    this.$_component$.setProperty("centerX", $mapStyleElem$$4$$.getAttribute("centerX"));
    this.$_component$.setProperty("centerY", $mapStyleElem$$4$$.getAttribute("centerY"));
    this.$_component$.setProperty("currentZoom", $mapStyleElem$$4$$.getAttribute("currentZoom"));
    this.$_component$.setProperty("centerSrid", $mapStyleElem$$4$$.getAttribute("srid"));
    if (null != this.$_component$.$_overviewContainerId$) {
      var $isPending$$1_ovElem$$ = document.getElementById(this.$_component$.$_overviewContainerId$), $heightInPx$$ = 0;
      null != $isPending$$1_ovElem$$ && ($heightInPx$$ = parseInt($isPending$$1_ovElem$$.style.height));
      20 >= $heightInPx$$ ? $mapStyleElem$$4$$.setAttribute("overviewMapHideInit", "true") : $mapStyleElem$$4$$.removeAttribute("overviewMapHideInit");
    }
    null != this.$_component$.$_navigatorDecoration$ && (this.$_component$.$_mapview$.removeMapDecoration(this.$_navigatorDecoration$), this.$_component$.$_navigatorDecoration$ = null);
    $isPending$$1_ovElem$$ = AdfPage.PAGE.isStreamingRequestPending($elemId$$2_mapTool$$2$$);
    this.$_component$.$_isPending$ = $isPending$$1_ovElem$$;
    this.$_component$.$_isPPR$ = !0;
    AdfPage.PAGE.$__perfTimings$(!1, !1, !1, "Before GeoMap Render: " + $elemId$$2_mapTool$$2$$);
    this.$_initMapView$($dataElement$$1$$, $mapStyleElem$$4$$);
    $elemId$$2_mapTool$$2$$ = this.$_component$.$_mapTool$;
    this.$_component$.$_mapTool$ = "";
    $JSCompiler_StaticMethods_setMapTool$$(this.$_component$, $elemId$$2_mapTool$$2$$);
    $JSCompiler_StaticMethods__refreshZoombar$$(this.$_component$);
  } else {
    $domNode$$7$$.id == AdfRichUIPeer.CreateSubId($elemId$$2_mapTool$$2$$, "hiddenLegend") && ($domNode$$7$$.style.display = "none");
  }
  return $domNode$$7$$;
};
function $JSCompiler_StaticMethods__initResource$$($JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$) {
  $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$ = AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.$_component$.getClientId(), "resource");
  $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$ = document.getElementById($JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$);
  null != $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$ && ($AdfDhtmlGeoMapPeer$$.$_LATITUDE$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("LATITUDE"), $AdfDhtmlGeoMapPeer$$.$_LONGITUDE$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("LONGITUDE"), $AdfDhtmlGeoMapPeer$$.$_X$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("X"), $AdfDhtmlGeoMapPeer$$.$_Y$ = 
  $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("Y"), $AdfDhtmlGeoMapPeer$$.$_DISTANCE$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("DISTANCE"), $AdfDhtmlGeoMapPeer$$.$_AREA$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("AREA"), $AdfDhtmlGeoMapPeer$$.$_RADIUS$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("RADIUS"), $AdfDhtmlGeoMapPeer$$.$_MILES$ = 
  $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MILES"), $AdfDhtmlGeoMapPeer$$.$_METERS$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("METERS"), $AdfDhtmlGeoMapPeer$$.$_KILOMETERS$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("KILOMETERS"), $AdfDhtmlGeoMapPeer$$.$_FEET$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("FEET"), $AdfDhtmlGeoMapPeer$$.$_SQUARE_KILOMETERS$ = 
  $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("SQUARE_KILOMETERS"), $AdfDhtmlGeoMapPeer$$.$_SQUARE_FEET$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("SQUARE_FEET"), $AdfDhtmlGeoMapPeer$$.$_ACRES$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("ACRES"), $AdfDhtmlGeoMapPeer$$.$_SQUARE_MILES$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("SQUARE_MILES"), 
  $AdfDhtmlGeoMapPeer$$.$_SQUARE_METERS$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("SQUARE_METERS"), $AdfDhtmlGeoMapPeer$$.$_MAP_VIEW$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MAP_VIEW"), $AdfDhtmlGeoMapPeer$$.$_SATELLITE_VIEW$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("SATELLITE_VIEW"), $AdfDhtmlGeoMapPeer$$.$_MIXED_VIEW$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MIXED_VIEW"), 
  MVMessages.panNWInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panNWInfoTip"), MVMessages.panNInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panNInfoTip"), MVMessages.panNEInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panNEInfoTip"), MVMessages.panSWInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panSWInfoTip"), 
  MVMessages.panSInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panSInfoTip"), MVMessages.panSEInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panSEInfoTip"), MVMessages.panWInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panWInfoTip"), MVMessages.panCenterInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panCenterInfoTip"), 
  MVMessages.panEInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_panEInfoTip"), MVMessages.sliderBarInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_sliderBarInfoTip"), MVMessages.sliderInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_sliderInfoTip"), MVMessages.zoomInInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_zoomInInfoTip"), 
  MVMessages.zoomOutInfoTip = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("MVMessages_zoomOutInfoTip"), $AdfDhtmlGeoMapPeer$$.$GROUP_SIZE$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("GROUP_SIZE"), $AdfDhtmlGeoMapPeer$$.$GROUP_SEPARATOR$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("GROUP_SEPARATOR"), $AdfDhtmlGeoMapPeer$$.$DECIMAL_SEPARATOR$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("DECIMAL_SEPARATOR"), 
  $AdfDhtmlGeoMapPeer$$.$_ERROR_MSG_26017$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("ERROR_MSG_26017"), $AdfDhtmlGeoMapPeer$$.$_ERROR_MSG_26018$ = $JSCompiler_StaticMethods__initResource$self_resourceElem_resourceId$$.getAttribute("ERROR_MSG_26018"));
}
$JSCompiler_prototypeAlias$$.InitDomElement = function $$JSCompiler_prototypeAlias$$$InitDomElement$($component$$132$$, $domElement$$14$$) {
  $AdfDhtmlGeoMapPeer$$.superclass.InitDomElement.call(this, $component$$132$$, $domElement$$14$$);
  this.$_component$ = $component$$132$$;
  this.$_domElement$ = $domElement$$14$$;
  this.$_component$.$_mapTool$ = "hand";
  this.$_component$.$_overviewContainerId$ = null;
  this.$_component$.$_isPPR$ = !1;
  $JSCompiler_StaticMethods__initResource$$(this);
  this.$_isAda$ = void 0 != AdfAgent.AGENT.getAttribute($domElement$$14$$, "_ada");
};
function $JSCompiler_StaticMethods__getInitSrid$$($JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$) {
  $JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$ = $JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$.$_domElement$.getAttribute("id");
  $JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$ = document.getElementById(AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$, "mapStyle"));
  return parseInt($JSCompiler_StaticMethods__getInitSrid$self_elemId$$3_mapStyleElem$$5$$.getAttribute("startSRID"));
}
$AdfDhtmlGeoMapPeer$$.$_splitCSS$ = function $$AdfDhtmlGeoMapPeer$$$$_splitCSS$$($css_styles$$) {
  $css_styles$$ = $css_styles$$.split(";");
  for (var $obj$$28$$ = {}, $i$$23$$ = 0;$i$$23$$ < $css_styles$$.length;$i$$23$$++) {
    var $nameValue$$ = $css_styles$$[$i$$23$$].split(":");
    if (null != $nameValue$$ && 2 <= $nameValue$$.length) {
      var $name$$79$$ = $nameValue$$[0].replace("-", "");
      $obj$$28$$[$name$$79$$] = $nameValue$$[1];
    }
  }
  return $obj$$28$$;
};
$AdfDhtmlGeoMapPeer$$.prototype.$_initMapView$ = function $$AdfDhtmlGeoMapPeer$$$$$_initMapView$$($domElement$$16$$, $mapStyleElem$$6$$) {
  MVMapView.enableXMLHTTP(!0);
  var $elemId$$4$$ = this.$_component$.getClientId();
  this.$_component$.$_selectFOI$ = [];
  this.$_component$.$_selectTheme$ = null;
  this.$_component$.$_activeTheme$ = null;
  this.$_component$.$_rectangleTool$ = null;
  this.$_component$.$_circleTool$ = null;
  this.$_component$.$_redlineTool$ = null;
  this.$_component$.$_measureTool$ = null;
  this.$_component$.$_areaTool$ = null;
  this.$_component$.$_themeBasedFOIs$ = [];
  this.$_component$.$_baseMap$ = null;
  this.$_component$.$_satelliteMap$ = null;
  this.$_component$.$_hybridMap$ = null;
  this.$_component$._themeInfoTable = [];
  this.$_component$._foiTheme = [];
  if (null != $domElement$$16$$ && null != $mapStyleElem$$6$$) {
    var $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $mapStyleElem$$6$$.getAttribute("mapServerURL");
    $mapStyleElem$$6$$.getAttribute("contextPath");
    var $infoConeStyle_proxyPath$$2_satelliteMap$$ = $mapStyleElem$$6$$.getAttribute("proxyPath"), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = $infoConeStyle_proxyPath$$2_satelliteMap$$.indexOf("://");
    0 <= $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ && ($infoConeStyle_proxyPath$$2_satelliteMap$$ = $infoConeStyle_proxyPath$$2_satelliteMap$$.substring($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ + 3), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = $infoConeStyle_proxyPath$$2_satelliteMap$$.indexOf("/"), $infoConeStyle_proxyPath$$2_satelliteMap$$ = 0 <= $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ ? $infoConeStyle_proxyPath$$2_satelliteMap$$.substring($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$) : 
    "/");
    this.$_component$.$_mapview$ && (this.$_component$.$_mapview$.removeAllFOIs(), $JSCompiler_StaticMethods_destroy$$(this.$_component$.$_mapview$), this.$_component$.$_mapview$ = null);
    MVMapView.setProxyPath($infoConeStyle_proxyPath$$2_satelliteMap$$);
    MVMapView.enableCodingHints(!1);
    this.$_component$.$_mapview$ = new MVMapView(document.getElementById(AdfRichUIPeer.CreateSubId($elemId$$4$$, "actualMap")), $baseMapName$$1_closeImagePath_mapServerURL$$4$$);
    var $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $mapStyleElem$$6$$.getAttribute("CLOSE_IMAGE_PATH"), $infoTBStyle_mapControlClass$$1_winHeaderPath$$ = $mapStyleElem$$6$$.getAttribute("WINHEADER_IMAGE_PATH"), $infoConeStyle_proxyPath$$2_satelliteMap$$ = $mapStyleElem$$6$$.getAttribute("infoWindowConeStyle"), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = $mapStyleElem$$6$$.getAttribute("infoWindowBodyStyle"), $infoTBStyle_mapControlClass$$1_winHeaderPath$$ = "background-image:url('" + 
    $infoTBStyle_mapControlClass$$1_winHeaderPath$$ + "');" + $mapStyleElem$$6$$.getAttribute("infoWindowTitleBarStyle");
    this.$_component$.$_mapview$.setDefaultInfoWindowStyle("MVInfoWindowStyle1", {closeButtonImageURL:$baseMapName$$1_closeImagePath_mapServerURL$$4$$, titleBarStyle:$infoTBStyle_mapControlClass$$1_winHeaderPath$$, bodyStyle:$hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$, coneStyle:$infoConeStyle_proxyPath$$2_satelliteMap$$});
    this.$_component$.$_mapview$.removeAllFOIs();
    this.$_component$.$_mapview$._mvMapViewId = $elemId$$4$$;
    $mapStyleElem$$6$$.getAttribute("mapGeocodeServerURL");
    var $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $mapStyleElem$$6$$.getAttribute("baseMapName"), $infoConeStyle_proxyPath$$2_satelliteMap$$ = $mapStyleElem$$6$$.getAttribute("satelliteMap"), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = $mapStyleElem$$6$$.getAttribute("hybridMap"), $me$$1$$ = this, $infoTBStyle_mapControlClass$$1_winHeaderPath$$ = $mapStyleElem$$6$$.getAttribute("mapControlStyleClass"), $mapControlNotSelectClass$$1$$ = $mapStyleElem$$6$$.getAttribute("mapControlStyleClassNotSelect"), 
    $mapControlOverClass$$ = $mapStyleElem$$6$$.getAttribute("mapControlStyleClassOver");
    this.$_component$.$_baseMap$ = new MVBaseMap($baseMapName$$1_closeImagePath_mapServerURL$$4$$);
    this.$_component$.$_baseMap$.setVisible(!0);
    this.$_component$.$_mapview$.addMapTileLayer(this.$_component$.$_baseMap$, function() {
      function $domElement$$16$$() {
        var $mapStyleElem$$6$$ = $me$$1$$.$_component$.$_navigatorDecoration$;
        null != $mapStyleElem$$6$$ && ($mapStyleElem$$6$$.getContainerDiv().onmousemove = null, $JSCompiler_StaticMethods__initResource$$($me$$1$$), $me$$1$$.$_component$.$_mapview$.removeMapDecoration($mapStyleElem$$6$$), $me$$1$$.$_component$.$_navigatorDecoration$ = null);
        $JSCompiler_StaticMethods__refreshZoombar$$($me$$1$$.$_component$);
      }
      var $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = parseFloat($me$$1$$.$_component$.getProperty("centerX")), $infoConeStyle_proxyPath$$2_satelliteMap$$ = parseFloat($me$$1$$.$_component$.getProperty("centerY")), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = parseInt($me$$1$$.$_component$.getProperty("currentZoom")), $infoTBStyle_mapControlClass$$1_winHeaderPath$$ = parseInt($me$$1$$.$_component$.getProperty("centerSrid")), $mapControlNotSelectClass$$1$$ = parseFloat($mapStyleElem$$6$$.getAttribute("startX")), 
      $mapControlOverClass$$ = parseFloat($mapStyleElem$$6$$.getAttribute("startY")), $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = parseInt($mapStyleElem$$6$$.getAttribute("startZoom")), $originalSrid_panCloseOvrPath$$ = parseInt($mapStyleElem$$6$$.getAttribute("startSRID")), $mapControlNotSelectClass$$1$$ = MVSdoGeometry.createPoint($mapControlNotSelectClass$$1$$, $mapControlOverClass$$, $originalSrid_panCloseOvrPath$$);
      null != $mapStyleElem$$6$$.getAttribute("autoZoomTheme") && $me$$1$$.$_component$.$_isPPR$ ? ($baseMapName$$1_closeImagePath_mapServerURL$$4$$ = MVSdoGeometry.createPoint($baseMapName$$1_closeImagePath_mapServerURL$$4$$, $infoConeStyle_proxyPath$$2_satelliteMap$$, $infoTBStyle_mapControlClass$$1_winHeaderPath$$), $me$$1$$.$_component$.$_mapview$.setCenter($baseMapName$$1_closeImagePath_mapServerURL$$4$$), $me$$1$$.$_component$.$_mapview$.setZoomLevel($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$)) : 
      ($me$$1$$.$_component$.$_mapview$.setCenter($mapControlNotSelectClass$$1$$), $me$$1$$.$_component$.$_mapview$.setZoomLevel($copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$));
      $me$$1$$.$_component$.$_mapview$.setMouseWheelZoomEnabled(!0);
      $me$$1$$.$_component$.$_mapview$.setHomeMap($mapControlNotSelectClass$$1$$, $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("mouse_click", $me$$1$$.$_MapClick$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("mouse_double_click", $me$$1$$.$_doubleClick$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("mouse_right_click", $me$$1$$.$_MapRTCancel$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("before_zoom_level_change", $me$$1$$.$_beforeZoomListener$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("zoom_level_change", $me$$1$$.$_zoomListener$);
      $me$$1$$.$_component$.$_mapview$.addEventListener("recenter", $me$$1$$.$_recenterListener$);
      $me$$1$$.$_component$.$_unit$ = $mapStyleElem$$6$$.getAttribute("unit");
      $me$$1$$.$_component$.$_mapview$.display();
      null != $mapStyleElem$$6$$.getAttribute("navigatorPosition") && ($JSCompiler_StaticMethods__refreshZoombar$$($me$$1$$.$_component$), $me$$1$$.$_component$.$_navigatorDecoration$.getContainerDiv() && ($me$$1$$.$_component$.$_navigatorDecoration$.getContainerDiv().onmousemove = $domElement$$16$$));
      if (null != $mapStyleElem$$6$$.getAttribute("hasTheme")) {
        if (AdfPage.PAGE.isStreamingDisabled() || !$me$$1$$.$_component$.$_isPending$) {
          $me$$1$$.$_component$.$_mapview$.setLoadingIconVisible(!0), $JSCompiler_StaticMethods__loadTheme$$(0, $me$$1$$.$_component$, !0);
        }
        $me$$1$$.$_component$.$_isPending$ = null;
      }
      if (null == $mapStyleElem$$6$$.getAttribute("overviewMapHidden")) {
        $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = 200;
        null != $mapStyleElem$$6$$.getAttribute("overviewMapWidth") && ($baseMapName$$1_closeImagePath_mapServerURL$$4$$ = parseInt($mapStyleElem$$6$$.getAttribute("overviewMapWidth")));
        $infoConeStyle_proxyPath$$2_satelliteMap$$ = 150;
        null != $mapStyleElem$$6$$.getAttribute("overviewMapHeight") && ($infoConeStyle_proxyPath$$2_satelliteMap$$ = parseInt($mapStyleElem$$6$$.getAttribute("overviewMapHeight")));
        $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = 3;
        null != $mapStyleElem$$6$$.getAttribute("overviewMapDiff") && ($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = parseInt($mapStyleElem$$6$$.getAttribute("overviewMapDiff")));
        $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = null != $mapStyleElem$$6$$.getAttribute("overviewMapHideInit");
        ovcontainer = new MVMapDecoration(null, null, null, $baseMapName$$1_closeImagePath_mapServerURL$$4$$, $infoConeStyle_proxyPath$$2_satelliteMap$$);
        $JSCompiler_StaticMethods__getContextPath$$($me$$1$$.$_component$);
        $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $JSCompiler_StaticMethods__getStyleElement$$($me$$1$$.$_component$).getAttribute("HANDCUR");
        AdfAgent.getAgent().getPlatform() == AdfAgent.IE_PLATFORM ? ovcontainer.setMouseCursorStyle($baseMapName$$1_closeImagePath_mapServerURL$$4$$) : (cursorStyles = [], cursorStyles.push("url('" + $baseMapName$$1_closeImagePath_mapServerURL$$4$$ + "')"), cursorStyles.push("default"), ovcontainer.setMouseCursorStyle(cursorStyles));
        var $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $mapStyleElem$$6$$.getAttribute("overview-window-header-icon"), $infoConeStyle_proxyPath$$2_satelliteMap$$ = $mapStyleElem$$6$$.getAttribute("overview-window-header-active-icon"), $infoTBStyle_mapControlClass$$1_winHeaderPath$$ = $mapStyleElem$$6$$.getAttribute("overview-window-header-hover-icon"), $mapControlNotSelectClass$$1$$ = $mapStyleElem$$6$$.getAttribute("overview-window-maximize-icon"), $mapControlOverClass$$ = $mapStyleElem$$6$$.getAttribute("overview-window-maximize-active-icon"), 
        $originalSrid_panCloseOvrPath$$ = $mapStyleElem$$6$$.getAttribute("overview-window-maximize-hover-icon"), $panOpenEnaPath$$ = $mapStyleElem$$6$$.getAttribute("overview-window-minimize-icon"), $panOpenDwnPath$$ = $mapStyleElem$$6$$.getAttribute("overview-window-minimize-active-icon"), $panOpenOvrPath$$ = $mapStyleElem$$6$$.getAttribute("overview-window-minimize-hover-icon");
        ovcontainer.setCollapsible(!0, $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$, {titleBgImg:$baseMapName$$1_closeImagePath_mapServerURL$$4$$, titleBgImgMO:$infoTBStyle_mapControlClass$$1_winHeaderPath$$, titleBgImgMD:$infoConeStyle_proxyPath$$2_satelliteMap$$, minBtnImg:$mapControlNotSelectClass$$1$$, minBtnImgMO:$originalSrid_panCloseOvrPath$$, minBtnImgMD:$mapControlOverClass$$, resBtnImg:$panOpenEnaPath$$, resBtnImgMO:$panOpenOvrPath$$, resBtnImgMD:$panOpenDwnPath$$});
        $me$$1$$.$_component$.$_mapview$.addMapDecoration(ovcontainer);
        $me$$1$$.$_component$.$_overviewMap$ = ovcontainer;
        $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = new MVOverviewMap(ovcontainer.getContainerDiv(), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$);
        $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = $mapStyleElem$$6$$.getAttribute("overviewMapAreaStyle");
        $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = $AdfDhtmlGeoMapPeer$$.$_splitCSS$($copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$);
        $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.setRectangleStyle($copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$.border, $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$.backgroundcolor);
        $me$$1$$.$_component$.$_overviewContainerId$ = ovcontainer.getContainerDiv().id;
        ovcontainer.getContainerDiv().className = $mapStyleElem$$6$$.getAttribute("overviewMapBodyClass");
        $me$$1$$.$_component$.$_mapview$.addOverviewMap($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$);
      }
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = document.getElementById(AdfRichUIPeer.CreateSubId($elemId$$4$$, "actualMap"));
      mapWidth = parseInt($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.style.width);
      null != $mapStyleElem$$6$$.getAttribute("isShowScaleBar") && ($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = null, $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = 8307 != $me$$1$$.$_component$.$_mapview$.srid ? new MVScaleBar(!0) : new MVScaleBar, $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = $mapStyleElem$$6$$.getAttribute("scaleBarBarStyle"), $baseMapName$$1_closeImagePath_mapServerURL$$4$$ = $mapStyleElem$$6$$.getAttribute("scaleBarTextStyle"), 
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.setStyle({barStyle:$copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$, barHeight:1, textStyle:$baseMapName$$1_closeImagePath_mapServerURL$$4$$}), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = new MVMapDecoration($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$, 0, 1), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.setEventListener("mouse_over", function anonymous() {
        this.getContainerDiv().title = "";
      }), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.enableEventPropagation(!0), $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.setOffset(5, -54), $me$$1$$.$_component$.$_mapview$.addMapDecoration($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$));
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = $mapStyleElem$$6$$.getAttribute("copyrightStyleClass");
      $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ = $mapStyleElem$$6$$.getAttribute("copyrightText");
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ = new MVMapDecoration("\x3ctable width\x3d'0' border\x3d'0' cellspacing\x3d'0' cellpadding\x3d'0'\x3e\x3ctr\x3e\x3ctd nowrap class\x3d'" + $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ + "'\x3e\x3cdiv id\x3d'" + $elemId$$4$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "copyrightText'\x3e" + $copyrightText_originalScale_ovCSSObj_overviewAreaStyle_overviewMapInitHidden_scaleBarBar$$ + "\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e", 
      0, 1, 0, 0);
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.enableEventPropagation(!0);
      $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$.setOffset(5, -12);
      $me$$1$$.$_component$.$_mapview$.addMapDecoration($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$);
      null == $me$$1$$.$_component$._themeIsInit && null != $me$$1$$.$_component$._initThemeFunction && $me$$1$$.$_component$._initThemeFunction();
      $me$$1$$.$_component$._callbackIsCalled = !0;
      AdfPage.PAGE.$__perfTimings$(!0, !1, !1, "After GeoMap Render: " + $elemId$$4$$);
    });
    null != $infoConeStyle_proxyPath$$2_satelliteMap$$ && (this.$_component$.$_satelliteMap$ = new MVBaseMap($infoConeStyle_proxyPath$$2_satelliteMap$$), this.$_component$.$_satelliteMap$.setVisible(!1), this.$_component$.$_mapview$.addMapTileLayer(this.$_component$.$_satelliteMap$));
    null != $hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$ && (this.$_component$.$_hybridMap$ = new MVBaseMap($hybridMap_infoBodyStyle_pathRootIndex_protocolIndex$$), this.$_component$.$_hybridMap$.setTransparent(!0), this.$_component$.$_mapview$.addMapTileLayer(this.$_component$.$_hybridMap$));
    $JSCompiler_StaticMethods__addMapControl$$(this.$_component$, $infoTBStyle_mapControlClass$$1_winHeaderPath$$, $mapControlNotSelectClass$$1$$, $mapControlOverClass$$);
  }
};
$AdfDhtmlGeoMapPeer$$.prototype._initMapView = $AdfDhtmlGeoMapPeer$$.prototype.$_initMapView$;
function $JSCompiler_StaticMethods__getMapControlDiv$$($id$$178$$, $defaultClass$$, $selectClass$$, $notSelectClass$$, $mouseoverClass$$, $label$$11$$) {
  return "\x3cdiv id\x3d'" + $id$$178$$ + "' class\x3d'" + $defaultClass$$ + "' onmousedown\x3d'AdfDhtmlGeoMap._selectMapType(this)' onmouseover\x3d\"if(this.className!\x3d'" + $selectClass$$ + "') this.className\x3d'" + $mouseoverClass$$ + "'\"  onmouseout\x3d\"if(this.className!\x3d'" + $selectClass$$ + "')this.className\x3d'" + $notSelectClass$$ + "'\" onfocus\x3d\"if(this.className!\x3d'" + $selectClass$$ + "') this.className\x3d'" + $mouseoverClass$$ + "'\"  onblur\x3d\"if(this.className!\x3d'" + 
  $selectClass$$ + "')this.className\x3d'" + $notSelectClass$$ + "'\"\x3e" + $label$$11$$ + "\x3c/div\x3e";
}
function $JSCompiler_StaticMethods__addMapControl$$($adfMap$$15$$, $md_styleClass$$, $notSelectStyleClass$$, $overClass$$) {
  var $mapTypeControl$$ = "\x3ctable\x3e\x3ctr\x3e\x3ctd nowrap\x3e" + $JSCompiler_StaticMethods__getMapControlDiv$$(AdfRichUIPeer.CreateSubId($adfMap$$15$$.getClientId(), "mapSwitch"), $md_styleClass$$, $md_styleClass$$, $notSelectStyleClass$$, $overClass$$, $AdfDhtmlGeoMapPeer$$.$_MAP_VIEW$) + "\x3c/td\x3e";
  if (null != $adfMap$$15$$.$_satelliteMap$ || null != $adfMap$$15$$.$_hybridMap$) {
    null != $adfMap$$15$$.$_satelliteMap$ && ($mapTypeControl$$ += "\x3ctd nowrap\x3e" + $JSCompiler_StaticMethods__getMapControlDiv$$(AdfRichUIPeer.CreateSubId($adfMap$$15$$.getClientId(), "satelliteMapSwitch"), $notSelectStyleClass$$, $md_styleClass$$, $notSelectStyleClass$$, $overClass$$, $AdfDhtmlGeoMapPeer$$.$_SATELLITE_VIEW$) + "\x3c/td\x3e"), null != $adfMap$$15$$.$_hybridMap$ && ($mapTypeControl$$ += "\x3ctd nowrap\x3e" + $JSCompiler_StaticMethods__getMapControlDiv$$(AdfRichUIPeer.CreateSubId($adfMap$$15$$.getClientId(), 
    "hybridMapSwitch"), $notSelectStyleClass$$, $md_styleClass$$, $notSelectStyleClass$$, $overClass$$, $AdfDhtmlGeoMapPeer$$.$_MIXED_VIEW$) + "\x3c/td\x3e"), $md_styleClass$$ = new MVMapDecoration($mapTypeControl$$ + "\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e", 1, 0, 100, 20), $md_styleClass$$.setOffset(-200, 5), $adfMap$$15$$.$_mapview$.addMapDecoration($md_styleClass$$);
  }
}
function $JSCompiler_StaticMethods__loadTheme$$($JSCompiler_StaticMethods__loadTheme$self_event$$46$$, $component$$133$$, $forceReload$$) {
  $JSCompiler_StaticMethods__loadTheme$self_event$$46$$ = new $AdfMapThemeLoadEvent$$($component$$133$$, $forceReload$$);
  $JSCompiler_StaticMethods__loadTheme$self_event$$46$$.setPartial(!0);
  $component$$133$$.queueEvent($JSCompiler_StaticMethods__loadTheme$self_event$$46$$);
}
$AdfDhtmlGeoMapPeer$$.prototype.ProcessPushData = function $$AdfDhtmlGeoMapPeer$$$$ProcessPushData$($payload$$5_themeId$$10$$) {
  var $changeList_changeMessage$$ = eval($payload$$5_themeId$$10$$);
  $payload$$5_themeId$$10$$ = $changeList_changeMessage$$.t_id;
  AdfLogger.LOGGER.fine("ProcessPushData. Theme id \x3d ", $payload$$5_themeId$$10$$);
  if (null == this.$_component$.getTheme($payload$$5_themeId$$10$$)) {
    return !1;
  }
  var $animationEffect$$ = $changeList_changeMessage$$.a_eff;
  null == $animationEffect$$ && ($animationEffect$$ = "a_eff_blink");
  var $animationTime$$ = $changeList_changeMessage$$.a_time;
  null == $animationTime$$ && ($animationTime$$ = 500);
  for (var $changeList_changeMessage$$ = $changeList_changeMessage$$.c_l, $i$$24$$ = 0;$i$$24$$ < $changeList_changeMessage$$.length;$i$$24$$++) {
    var $singleMessage$$ = $changeList_changeMessage$$[$i$$24$$];
    switch($singleMessage$$.type) {
      case "update":
        $JSCompiler_StaticMethods__processPointThemeUpdate$$(this, $singleMessage$$, $animationEffect$$, $animationTime$$);
        break;
      case "remove":
        $JSCompiler_StaticMethods__processPointThemeRemove$$(this, $payload$$5_themeId$$10$$, $singleMessage$$, $animationEffect$$);
        break;
      case "insert":
        $JSCompiler_StaticMethods__processPointThemeInsert$$(this, $payload$$5_themeId$$10$$, $singleMessage$$, $animationEffect$$, $animationTime$$);
    }
  }
  return !0;
};
function $JSCompiler_StaticMethods__processPointThemeUpdate$$($JSCompiler_StaticMethods__processPointThemeUpdate$self$$, $changeData_singleMessage$$1$$, $animationEffect$$1$$, $animationTime$$1$$) {
  AdfLogger.LOGGER.fine("_processPointThemeUpdate. Message \x3d" + $changeData_singleMessage$$1$$);
  var $pointFOI$$ = $JSCompiler_StaticMethods__processPointThemeUpdate$self$$.$_component$.$_mapview$.getFOI($changeData_singleMessage$$1$$.p_id);
  null != $pointFOI$$ && ($changeData_singleMessage$$1$$ = $changeData_singleMessage$$1$$.c_data, null != $changeData_singleMessage$$1$$ && $JSCompiler_StaticMethods__updatePointFOI$$($JSCompiler_StaticMethods__processPointThemeUpdate$self$$, $pointFOI$$, $changeData_singleMessage$$1$$.label, $changeData_singleMessage$$1$$["long"], $changeData_singleMessage$$1$$.lat, $changeData_singleMessage$$1$$.pt_data_value, $changeData_singleMessage$$1$$.pt_fmted_data_value, $changeData_singleMessage$$1$$.pt_data_value_column_label, 
  $changeData_singleMessage$$1$$.pt_image, $changeData_singleMessage$$1$$.pt_sel_image, $changeData_singleMessage$$1$$.pt_hover_image, $animationEffect$$1$$, $animationTime$$1$$));
}
function $JSCompiler_StaticMethods__processPointThemeRemove$$($JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$, $themeId$$12$$, $pointId$$inline_219_singleMessage$$2$$, $animationEffect$$2$$) {
  AdfLogger.LOGGER.fine("_processThemeRemove. Message \x3d" + $pointId$$inline_219_singleMessage$$2$$);
  $pointId$$inline_219_singleMessage$$2$$ = $pointId$$inline_219_singleMessage$$2$$.p_id;
  null != $JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$.$_component$.$_mapview$.getFOI($pointId$$inline_219_singleMessage$$2$$) && ($JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$ = "AdfDhtmlGeoMapPeer.removePointFOICallback('" + $JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$.$_component$.getClientId() + "', '" + $themeId$$12$$ + "', '" + $pointId$$inline_219_singleMessage$$2$$ + 
  "')", "a_eff_blink" == $animationEffect$$2$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$inline_219_singleMessage$$2$$, "blink", $JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$) : "a_eff_blink_n_fade" == $animationEffect$$2$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$inline_219_singleMessage$$2$$, "blink_and_fade_out", $JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$) : "a_eff_fade" == $animationEffect$$2$$ && AdfDhtmlGeoMap.$_animate$($pointId$$inline_219_singleMessage$$2$$, 
  "fade_out", $JSCompiler_StaticMethods__processPointThemeRemove$self_pointRemoveCallback$$inline_4961$$));
}
$AdfDhtmlGeoMapPeer$$.$removePointFOICallback$ = function $$AdfDhtmlGeoMapPeer$$$$removePointFOICallback$$($mapId$$18_pointFOI$$4$$, $themeFOIArray_themeId$$14$$, $pointId$$3$$) {
  var $mapComponent$$ = null;
  null != $mapId$$18_pointFOI$$4$$ && ($mapComponent$$ = AdfPage.PAGE.findComponent($mapId$$18_pointFOI$$4$$));
  if (null == $mapComponent$$ || "undefined" == $mapComponent$$) {
    return !1;
  }
  $mapId$$18_pointFOI$$4$$ = $mapComponent$$.$_mapview$.getFOI($pointId$$3$$);
  if (null == $mapId$$18_pointFOI$$4$$) {
    return !1;
  }
  $themeFOIArray_themeId$$14$$ = $mapComponent$$._foiTheme[$themeFOIArray_themeId$$14$$];
  for (var $pointIndex$$ = -1, $i$$25$$ = 0;$i$$25$$ < $themeFOIArray_themeId$$14$$.length;$i$$25$$++) {
    if ($themeFOIArray_themeId$$14$$[$i$$25$$].id == $mapId$$18_pointFOI$$4$$.id) {
      $pointIndex$$ = $i$$25$$;
      break;
    }
  }
  if (-1 == $pointIndex$$) {
    return !1;
  }
  $themeFOIArray_themeId$$14$$.splice($pointIndex$$, 1);
  $mapComponent$$.$_mapview$.removeFOI($pointId$$3$$);
};
function $JSCompiler_StaticMethods__processPointThemeInsert$$($JSCompiler_StaticMethods__processPointThemeInsert$self$$, $themeId$$15$$, $image$$4_singleMessage$$3$$, $animationEffect$$5$$, $animationTime$$5$$) {
  AdfLogger.LOGGER.fine("_processPointThemeInsert. Message \x3d" + $image$$4_singleMessage$$3$$);
  var $pointId$$5$$ = $image$$4_singleMessage$$3$$.p_id, $changeData$$1_newPointFOI$$ = $image$$4_singleMessage$$3$$.c_data;
  null != $changeData$$1_newPointFOI$$ && ($image$$4_singleMessage$$3$$ = $changeData$$1_newPointFOI$$.pt_image, $changeData$$1_newPointFOI$$ = $JSCompiler_StaticMethods__processPointThemeInsert$self$$.$_component$.$_addPointFOI$($pointId$$5$$, $changeData$$1_newPointFOI$$["long"], $changeData$$1_newPointFOI$$.lat, $image$$4_singleMessage$$3$$, $changeData$$1_newPointFOI$$.pt_sel_image, $changeData$$1_newPointFOI$$.pt_data_value_column_label, $changeData$$1_newPointFOI$$.pt_fmted_data_value, $changeData$$1_newPointFOI$$.label, 
  $changeData$$1_newPointFOI$$.pt_hover_image, $themeId$$15$$, $changeData$$1_newPointFOI$$.cat, $changeData$$1_newPointFOI$$.pt_data_value), $JSCompiler_StaticMethods__processPointThemeInsert$self$$.$_component$._foiTheme[$themeId$$15$$][0].isVisible() ? $JSCompiler_StaticMethods__processPointThemeInsert$self$$.$_component$.$_updateImageWidthHeight$($themeId$$15$$, $image$$4_singleMessage$$3$$, "AdfDhtmlGeoMapPeer._animatePointFOIInsert('" + $pointId$$5$$ + "', '" + $animationEffect$$5$$ + "', " + 
  $animationTime$$5$$.toString() + ");") : ($changeData$$1_newPointFOI$$.setVisible(!1), $JSCompiler_StaticMethods__processPointThemeInsert$self$$.$_component$.$_mapview$.addFOI($changeData$$1_newPointFOI$$), $JSCompiler_StaticMethods__processPointThemeInsert$self$$.$_component$._foiTheme[$themeId$$15$$].push($changeData$$1_newPointFOI$$)));
}
$AdfDhtmlGeoMapPeer$$.$_animatePointFOIInsert$ = function $$AdfDhtmlGeoMapPeer$$$$_animatePointFOIInsert$$($pointId$$6$$, $animationEffect$$6$$) {
  "a_eff_blink" == $animationEffect$$6$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$6$$, "blink") : "a_eff_blink_n_fade" == $animationEffect$$6$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$6$$, "fade_in_and_blink") : "a_eff_fade" == $animationEffect$$6$$ && AdfDhtmlGeoMap.$_animate$($pointId$$6$$, "fade_in");
};
function $JSCompiler_StaticMethods__updatePointFOI$$($JSCompiler_StaticMethods__updatePointFOI$self$$, $pointFOI$$6$$, $callBackFunction_pointLabel$$, $longitude$$2$$, $latitude$$2$$, $dataValue$$1_image$$5$$, $formattedDataValue$$1_mapId$$19$$, $dataAttrLabel$$, $pointImage$$, $pointSelectedImage$$, $pointHoverImage$$, $animationEffect$$7$$, $animationTime$$6$$) {
  if (null != $pointFOI$$6$$) {
    var $imageChanged$$ = !1;
    null != $callBackFunction_pointLabel$$ && $callBackFunction_pointLabel$$ != $pointFOI$$6$$.name && ($pointFOI$$6$$.name = $callBackFunction_pointLabel$$);
    null != $dataAttrLabel$$ && $dataAttrLabel$$ != $pointFOI$$6$$.attrnames[0] && ($pointFOI$$6$$.attrnames = [$dataAttrLabel$$, "__adf_item_Label0"]);
    null != $dataValue$$1_image$$5$$ && null != $formattedDataValue$$1_mapId$$19$$ && ($pointFOI$$6$$.attrs = [$dataValue$$1_image$$5$$, $formattedDataValue$$1_mapId$$19$$]);
    null != $pointImage$$ && $pointImage$$ != $pointFOI$$6$$.$originalImages$ && ($pointFOI$$6$$.$originalImages$ = $pointImage$$, $imageChanged$$ = !0);
    null != $pointSelectedImage$$ && $pointSelectedImage$$ != $pointFOI$$6$$.$selectedImages$ && ($pointFOI$$6$$.$selectedImages$ = $pointSelectedImage$$);
    null != $pointHoverImage$$ && $pointHoverImage$$ != $pointFOI$$6$$.$hoverImage$ && ($pointFOI$$6$$.$_hoverHTML$ = $pointHoverImage$$);
    $imageChanged$$ && ($callBackFunction_pointLabel$$ = function $$callBackFunction_pointLabel$$$() {
      var $JSCompiler_StaticMethods__updatePointFOI$self$$ = arguments.callee, $pointFOI$$6$$ = $JSCompiler_StaticMethods__createFOIImageHTML$$(AdfPage.PAGE.findComponent($JSCompiler_StaticMethods__updatePointFOI$self$$.$_mapId$), $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$, $JSCompiler_StaticMethods__updatePointFOI$self$$.$_image$.width, $JSCompiler_StaticMethods__updatePointFOI$self$$.$_image$.height);
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$.setHTMLElement($pointFOI$$6$$);
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$.setWidth($JSCompiler_StaticMethods__updatePointFOI$self$$.$_image$.width);
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$.setHeight($JSCompiler_StaticMethods__updatePointFOI$self$$.$_image$.height);
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$.reDraw();
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_image$ = null;
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_foi$ = null;
      $JSCompiler_StaticMethods__updatePointFOI$self$$.$_mapId$ = null;
    }, $dataValue$$1_image$$5$$ = new Image, $formattedDataValue$$1_mapId$$19$$ = $JSCompiler_StaticMethods__updatePointFOI$self$$.$_component$.getClientId(), $callBackFunction_pointLabel$$.$_image$ = $dataValue$$1_image$$5$$, $callBackFunction_pointLabel$$.$_foi$ = $pointFOI$$6$$, $callBackFunction_pointLabel$$.$_mapId$ = $formattedDataValue$$1_mapId$$19$$, $dataValue$$1_image$$5$$.onload = $callBackFunction_pointLabel$$, $dataValue$$1_image$$5$$.src = $pointImage$$);
    (null == $longitude$$2$$ && null == $latitude$$2$$ ? 0 : $pointFOI$$6$$.$_originalPointX$ != $longitude$$2$$ || $pointFOI$$6$$.$_originalPointY$ != $latitude$$2$$) ? $JSCompiler_StaticMethods__movePointFOI$$($JSCompiler_StaticMethods__updatePointFOI$self$$, $pointFOI$$6$$, $longitude$$2$$, $latitude$$2$$, $animationTime$$6$$) : $JSCompiler_StaticMethods__animatePointFOIUpdate$$($pointFOI$$6$$.id, $animationEffect$$7$$);
  }
}
function $JSCompiler_StaticMethods__animatePointFOIUpdate$$($pointId$$7$$, $animationEffect$$8$$) {
  "a_eff_blink" == $animationEffect$$8$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$7$$, "blink") : "a_eff_blink_n_fade" == $animationEffect$$8$$ ? AdfDhtmlGeoMap.$_animate$($pointId$$7$$, "blink") : "a_eff_fade" == $animationEffect$$8$$ && AdfDhtmlGeoMap.$_animate$($pointId$$7$$, "fade_out_and_fade_in");
}
function $JSCompiler_StaticMethods__movePointFOI$$($JSCompiler_StaticMethods__movePointFOI$self$$, $pointFOI$$8$$, $newLongitude$$3$$, $newLatitude$$3$$, $animationTime$$7$$) {
  if (null != $newLatitude$$3$$ || null != $newLongitude$$3$$) {
    null == $newLatitude$$3$$ && ($newLatitude$$3$$ = $pointFOI$$8$$.$_originalPointY$), null == $newLongitude$$3$$ && ($newLongitude$$3$$ = $pointFOI$$8$$.$_originalPointX$), $pointFOI$$8$$.$animateToNewLocation$(MVSdoGeometry.createPoint($newLongitude$$3$$, $newLatitude$$3$$, $JSCompiler_StaticMethods__getInitSrid$$($JSCompiler_StaticMethods__movePointFOI$self$$)), $animationTime$$7$$);
  }
}
$AdfDhtmlGeoMapPeer$$.prototype.ComponentRemoved = function $$AdfDhtmlGeoMapPeer$$$$ComponentRemoved$($component$$134$$) {
  this.$_component$.$_mapview$ && (this.$_component$.$_mapview$.removeAllFOIs(), $JSCompiler_StaticMethods_destroy$$(this.$_component$.$_mapview$), this.$_component$.$_mapview$ = null);
  $AdfDhtmlGeoMapPeer$$.superclass.ComponentRemoved.call(this, $component$$134$$);
};
