AdfUIComponents.createComponentClass("AdfDhtmlGeoMap", {componentType:"oracle.dss.adf.geoMap.GeoMap", propertyKeys:[{name:"id", type:"String"}, {name:"centerX", type:"String"}, {name:"centerY", type:"String"}, {name:"centerSrid", type:"String"}, {name:"currentZoom", type:"String"}], namingContainer:!0, superclass:AdfUIComponent});
AdfDhtmlGeoMap.prototype.$_closePolygon$ = function $AdfDhtmlGeoMap$$$_closePolygon$$() {
  this.$_setCursor$("CLOSECUR", !0);
};
AdfDhtmlGeoMap.prototype._closePolygon = AdfDhtmlGeoMap.prototype.$_closePolygon$;
AdfDhtmlGeoMap.prototype.$_openPolygon$ = function $AdfDhtmlGeoMap$$$_openPolygon$$() {
  this.$_setCursor$("MAKECUR", !0);
};
AdfDhtmlGeoMap.prototype._openPolygon = AdfDhtmlGeoMap.prototype.$_openPolygon$;
AdfDhtmlGeoMap.prototype.$_showDistanceArea$ = function $AdfDhtmlGeoMap$$$_showDistanceArea$$() {
  function $callback$$73$$($callback$$73$$) {
    "ruler" == $mapTool$$3$$ ? $JSCompiler_StaticMethods__displayDistanceArea$$($adfMap$$20$$, !0, $AdfDhtmlGeoMapPeer$$.$_DISTANCE$, $callback$$73$$) : "area" != $mapTool$$3$$ && "polygonSelection" != $mapTool$$3$$ || $JSCompiler_StaticMethods__displayDistanceArea$$($adfMap$$20$$, !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, $callback$$73$$);
  }
  var $mapTool$$3$$ = this.$_mapTool$, $adfMap$$20$$ = this, $coords$$1_oldFOI$$1$$ = null;
  if ("ruler" == $mapTool$$3$$) {
    $coords$$1_oldFOI$$1$$ = this.$_measureTool$.$getOrdinates$(), null != $coords$$1_oldFOI$$1$$ && 2 <= $coords$$1_oldFOI$$1$$.length && MVSdoGeometry.createLineString($coords$$1_oldFOI$$1$$, this.$_mapview$.srid).$getLength$("meter", !0, null, $callback$$73$$);
  } else {
    if ("area" == $mapTool$$3$$ || "polygonSelection" == $mapTool$$3$$) {
      var $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = null;
      "polygonSelection" == $mapTool$$3$$ ? $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = this.$_redlineTool$ : "area" == $mapTool$$3$$ && ($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = this.$_areaTool$, $coords$$1_oldFOI$$1$$ = this.$_mapview$.getFOI("__adf_areaTool_Polygon"), null != $coords$$1_oldFOI$$1$$ && (this.$_mapview$.removeFOI($coords$$1_oldFOI$$1$$), $JSCompiler_StaticMethods__displayDistanceArea$$(this, !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0)));
      $coords$$1_oldFOI$$1$$ = $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.$getOrdinates$();
      $JSCompiler_StaticMethods__getContextPath$$(this);
      if (2 == $coords$$1_oldFOI$$1$$.length) {
        var $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ = $JSCompiler_StaticMethods__getStyleElement$$(this).getAttribute("POLYSEGMENT_IMAGE_PATH");
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.$setMarkerImage$($activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$, 5, 5);
        var $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.$getPointFOIs$()[0], $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ = this.createCallback(this.$_closePolygon$), $openPolygonCallback_selectFOIs$$1$$ = this.createCallback(this.$_openPolygon$);
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.setEventListener("mouse_over", $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$);
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.setEventListener("mouse_out", $openPolygonCallback_selectFOIs$$1$$);
      }
      if ("polygonSelection" == $mapTool$$3$$ && null != $coords$$1_oldFOI$$1$$ && 2 == $coords$$1_oldFOI$$1$$.length) {
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = null;
        if (null != this.$_selectTheme$) {
          $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ = this.getTheme(this.$_activeTheme$), null != $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ && ($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = $AdfDhtmlGeoMapPeer$$.$_convertThemeToArray$($activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$, this.$_selectTheme$), $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.selectionMode = "Unselect");
        } else {
          for ($openPolygonCallback_selectFOIs$$1$$ = this.$_selectFOI$, $activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ = 0;$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ < $openPolygonCallback_selectFOIs$$1$$.length;$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$++) {
            null == $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ && ($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = [], $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.selectionMode = "Unselect"), $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$, $openPolygonCallback_selectFOIs$$1$$[$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$]);
          }
        }
        null != $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ && ($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = new $AdfMapSelectEvent$$(this, $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$), $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.setPartial(!0), this.queueEvent($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$));
      }
      if (null != $coords$$1_oldFOI$$1$$ && 6 <= $coords$$1_oldFOI$$1$$.length) {
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$ = [];
        for ($activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ = 0;$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$ < $coords$$1_oldFOI$$1$$.length;$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$++) {
          $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.push($coords$$1_oldFOI$$1$$[$activeTheme$$4_closePolygonCallback_i$$41_imgPath$$1$$]);
        }
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.push($coords$$1_oldFOI$$1$$[0]);
        $curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$.push($coords$$1_oldFOI$$1$$[1]);
        MVSdoGeometry.createPolygon($curRedlineTool_event$$53_firstFOI_pCoords_prop$$7$$, this.$_mapview$.srid).$getArea$("sq_meter", !0);
      } else {
        null != this.$_redlineTool$ && (this.$_redlineTool$.$_isStart$ = !0), $JSCompiler_StaticMethods__displayDistanceArea$$(this, !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0);
      }
    }
  }
};
AdfDhtmlGeoMap.prototype._showDistanceArea = AdfDhtmlGeoMap.prototype.$_showDistanceArea$;
AdfDhtmlGeoMap.$_themeDone$ = function $AdfDhtmlGeoMap$$_themeDone$$() {
  var $adfMap$$21$$ = AdfPage.PAGE.findComponent(this.parent._mvMapViewId), $done_themeName$$1$$ = this.getLayerName();
  $adfMap$$21$$._getThemeEntry($done_themeName$$1$$).initStatus = "Done";
  for (var $done_themeName$$1$$ = !0, $i$$42$$ = 0;$i$$42$$ < $adfMap$$21$$._themeInfoTable.length;$i$$42$$++) {
    null != $adfMap$$21$$._themeInfoTable[$i$$42$$].initStatus && "Done" != $adfMap$$21$$._themeInfoTable[$i$$42$$].initStatus && ($done_themeName$$1$$ = !1);
  }
  $done_themeName$$1$$ && $adfMap$$21$$.$_mapview$.setLoadingIconVisible(!1);
  this.setEventListener("after_refresh", null);
};
$goog$exportSymbol$$("AdfDhtmlGeoMap._themeDone", AdfDhtmlGeoMap.$_themeDone$);
AdfDhtmlGeoMap.$_getDistance$ = function $AdfDhtmlGeoMap$$_getDistance$$($x$$65$$, $y$$46$$, $centerX$$1$$, $centerY$$1$$) {
  return Math.sqrt(Math.pow($centerX$$1$$ - $x$$65$$, 2) + Math.pow($centerY$$1$$ - $y$$46$$, 2));
};
AdfDhtmlGeoMap.$_blinkPoint$ = function $AdfDhtmlGeoMap$$_blinkPoint$$($rowId$$5$$, $nextFunc$$) {
  var $times$$ = 2, $elem$$3$$ = document.getElementById($rowId$$5$$);
  null != $elem$$3$$ && null != $elem$$3$$.childNodes && null != $elem$$3$$.childNodes[0] && null != $elem$$3$$.childNodes[0].childNodes && null != $elem$$3$$.childNodes[0].childNodes[0] && ($elem$$3$$ = $elem$$3$$.childNodes[0].childNodes[0], "0px" != $elem$$3$$.style.width ? ($elem$$3$$.parentNode.style.width = $elem$$3$$.style.width, $elem$$3$$.style.width = "0px") : "0px" == $elem$$3$$.style.width && ($elem$$3$$.style.width = $elem$$3$$.parentNode.style.width, --$times$$), 0 < $times$$ ? setTimeout("AdfDhtmlGeoMap._blinkPoint('" + 
  $rowId$$5$$ + "', " + $times$$.toString() + ',"' + $nextFunc$$ + '")', 500) : null != $nextFunc$$ && setTimeout($nextFunc$$, 500));
};
AdfDhtmlGeoMap.$_fadePoint$ = function $AdfDhtmlGeoMap$$_fadePoint$$($nextSibling_rowId$$6$$, $fadeOut$$, $nextFunc$$1$$, $keepParent$$) {
  var $times$$1$$ = 1, $elem$$4_functionCall$$1$$ = document.getElementById($nextSibling_rowId$$6$$);
  if (null != $elem$$4_functionCall$$1$$ && null != $elem$$4_functionCall$$1$$.parentNode) {
    if ("tempParent" != $elem$$4_functionCall$$1$$.parentNode.id) {
      var $opacity_originalParent_temp$$ = $elem$$4_functionCall$$1$$.parentNode, $newParent$$2$$ = document.createElement("div");
      $newParent$$2$$.id = "tempParent";
      $newParent$$2$$.style.opacity = $fadeOut$$ ? 1 : 0;
      $opacity_originalParent_temp$$.insertBefore($newParent$$2$$, $elem$$4_functionCall$$1$$.nextSibling);
      $opacity_originalParent_temp$$.removeChild($elem$$4_functionCall$$1$$);
      $newParent$$2$$.appendChild($elem$$4_functionCall$$1$$);
    }
    $opacity_originalParent_temp$$ = $elem$$4_functionCall$$1$$.parentNode.style.opacity;
    $opacity_originalParent_temp$$ = $fadeOut$$ ? parseFloat($opacity_originalParent_temp$$) - .2 : parseFloat($opacity_originalParent_temp$$) + .2;
    $fadeOut$$ ? 0 > $opacity_originalParent_temp$$ && ($opacity_originalParent_temp$$ = $keepParent$$ ? 0 : 1, --$times$$1$$) : 1 < $opacity_originalParent_temp$$ && ($opacity_originalParent_temp$$ = $keepParent$$ ? 1 : 0, --$times$$1$$);
    $elem$$4_functionCall$$1$$.parentNode.style.opacity = $opacity_originalParent_temp$$;
    $elem$$4_functionCall$$1$$.width = $elem$$4_functionCall$$1$$.width;
    $opacity_originalParent_temp$$ = $elem$$4_functionCall$$1$$.src;
    $elem$$4_functionCall$$1$$.src = "";
    $elem$$4_functionCall$$1$$.src = $opacity_originalParent_temp$$;
    0 < $times$$1$$ ? ($elem$$4_functionCall$$1$$ = "", $elem$$4_functionCall$$1$$ = $keepParent$$ ? "AdfDhtmlGeoMap._fadePoint('" + $nextSibling_rowId$$6$$ + "'," + $fadeOut$$.toString() + ", " + $times$$1$$.toString() + ', "' + $nextFunc$$1$$ + '", true)' : "AdfDhtmlGeoMap._fadePoint('" + $nextSibling_rowId$$6$$ + "'," + $fadeOut$$.toString() + ", " + $times$$1$$.toString() + ', "' + $nextFunc$$1$$ + '")', setTimeout($elem$$4_functionCall$$1$$, 500)) : ($fadeOut$$ || ($elem$$4_functionCall$$1$$.parentNode.style.opacity = 
    1), $keepParent$$ || ($opacity_originalParent_temp$$ = $elem$$4_functionCall$$1$$.parentNode.parentNode, $nextSibling_rowId$$6$$ = $elem$$4_functionCall$$1$$.parentNode.nextSibling, $opacity_originalParent_temp$$.removeChild($elem$$4_functionCall$$1$$.parentNode), $opacity_originalParent_temp$$.insertBefore($elem$$4_functionCall$$1$$, $nextSibling_rowId$$6$$)), null != $nextFunc$$1$$ && setTimeout($nextFunc$$1$$, 500));
  }
};
AdfDhtmlGeoMap.$_animate$ = function $AdfDhtmlGeoMap$$_animate$$($rowId$$7$$, $effect$$, $callback$$74$$) {
  "blink" == $effect$$ ? AdfDhtmlGeoMap.$_blinkPoint$($rowId$$7$$, $callback$$74$$) : "fade_in" == $effect$$ ? AdfDhtmlGeoMap.$_fadePoint$($rowId$$7$$, !1, $callback$$74$$) : "fade_out" == $effect$$ ? AdfDhtmlGeoMap.$_fadePoint$($rowId$$7$$, !0, $callback$$74$$) : "fade_in_and_blink" == $effect$$ ? AdfDhtmlGeoMap.$_fadePoint$($rowId$$7$$, !1, "AdfDhtmlGeoMap._blinkPoint('" + $rowId$$7$$ + "', 2, '" + $callback$$74$$ + "')") : "blink_and_fade_out" == $effect$$ ? AdfDhtmlGeoMap.$_blinkPoint$($rowId$$7$$, 
  "AdfDhtmlGeoMap._fadePoint('" + $rowId$$7$$ + "', true, 1, '" + $callback$$74$$ + "')") : "fade_out_and_fade_in" == $effect$$ && AdfDhtmlGeoMap.$_fadePoint$($rowId$$7$$, !0, "AdfDhtmlGeoMap._fadePoint('" + $rowId$$7$$ + "', false, 1, '" + $callback$$74$$ + "')", !0);
};
AdfDhtmlGeoMap.prototype.$getMVMapView$ = function $AdfDhtmlGeoMap$$$getMVMapView$$() {
  return this.$_mapview$;
};
AdfDhtmlGeoMap.prototype.getMVMapView = AdfDhtmlGeoMap.prototype.$getMVMapView$;
AdfDhtmlGeoMap.prototype.$getActiveTheme$ = function $AdfDhtmlGeoMap$$$getActiveTheme$$() {
  return this.$_activeTheme$;
};
AdfDhtmlGeoMap.prototype.getActiveTheme = AdfDhtmlGeoMap.prototype.$getActiveTheme$;
AdfDhtmlGeoMap.prototype.$setActiveTheme$ = function $AdfDhtmlGeoMap$$$setActiveTheme$$($themeName$$2$$) {
  null != this.$_activeTheme$ && this.$_activeTheme$ != $themeName$$2$$ && ($JSCompiler_StaticMethods__fixSelectThemeIndex$$(this), "rectSelection" == this.$_mapTool$ ? (this.$_rectangleTool$.clear(), $JSCompiler_StaticMethods__clearSelection$$(this), this.$_rectangleTool$.init(), this.$_rectangleTool$.setEventListener("on_finish", AdfDhtmlGeoMap.$_rectFinish$)) : "circleSelection" == this.$_mapTool$ ? (this.$_circleTool$.clear(), $JSCompiler_StaticMethods__clearSelection$$(this), this.$_circleTool$.init(), 
  this.$_circleTool$.setEventListener("on_finish", AdfDhtmlGeoMap.$_circleFinish$)) : "polygonSelection" == this.$_mapTool$ ? (this.$_redlineTool$.clear(), this.$_redlineTool$.init(), $JSCompiler_StaticMethods__clearSelection$$(this)) : "ruler" == this.$_mapTool$ ? (this.$_measureTool$.clear(), $JSCompiler_StaticMethods__displayDistanceArea$$(this, !0, $AdfDhtmlGeoMapPeer$$.$_DISTANCE$, 0), this.$_measureTool$.init()) : "area" == this.$_mapTool$ ? (this.$_areaTool$.clear(), $JSCompiler_StaticMethods__displayDistanceArea$$(this, 
  !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0), this.$_areaTool$.init()) : "pointSelection" == this.$_mapTool$ && $JSCompiler_StaticMethods__clearSelection$$(this), $JSCompiler_StaticMethods__initMapTool$$(this));
  this.$_activeTheme$ = $themeName$$2$$;
};
AdfDhtmlGeoMap.prototype.setActiveTheme = AdfDhtmlGeoMap.prototype.$setActiveTheme$;
AdfDhtmlGeoMap.prototype.$_startLogging$ = function $AdfDhtmlGeoMap$$$_startLogging$$() {
  this.$_startTime$ = (new Date).getTime();
};
AdfDhtmlGeoMap.prototype._startLogging = AdfDhtmlGeoMap.prototype.$_startLogging$;
AdfDhtmlGeoMap.prototype.$_endLogging$ = function $AdfDhtmlGeoMap$$$_endLogging$$() {
  AdfLogger.LOGGER.info("Theme rendering time:  " + ((new Date).getTime() - this.$_startTime$));
};
AdfDhtmlGeoMap.prototype._endLogging = AdfDhtmlGeoMap.prototype.$_endLogging$;
function $JSCompiler_StaticMethods__createInfoArea$$($JSCompiler_StaticMethods__createInfoArea$self$$) {
  var $descLat_elemId$$7$$ = $JSCompiler_StaticMethods__createInfoArea$self$$.getClientId();
  document.getElementById($descLat_elemId$$7$$).onmousemove = $AdfDhtmlGeoMapPeer$$.$_handleMouseMove$;
  var $mapStyleElem$$7$$ = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__createInfoArea$self$$);
  $mapStyleElem$$7$$.getAttribute("contextPath");
  var $latLongDesc$$ = "\x3ctable id\x3d'" + AdfRichUIPeer.CreateSubId($descLat_elemId$$7$$, "infoArea") + "' cellpadding\x3d0 cellspacing\x3d0 align\x3d'left'";
  AdfAgent.getAgent().getPlatform() == AdfAgent.WEBKIT_PLATFORM && ($latLongDesc$$ += " width\x3d'100' ");
  $latLongDesc$$ += " valign\x3d'center'\x3e\x3ctr\x3e";
  if (null == $mapStyleElem$$7$$.getAttribute("infoAreaHidden")) {
    var $distanceAreaPanelClass_xLabel$$1$$ = $AdfDhtmlGeoMapPeer$$.$_X$ + ":", $yLabel$$1$$ = $AdfDhtmlGeoMapPeer$$.$_Y$ + ":";
    if (8307 == $JSCompiler_StaticMethods__createInfoArea$self$$.$_mapview$.srid || 54004 == $JSCompiler_StaticMethods__createInfoArea$self$$.$_mapview$.srid) {
      $distanceAreaPanelClass_xLabel$$1$$ = $AdfDhtmlGeoMapPeer$$.$_LONGITUDE$ + ":", $yLabel$$1$$ = $AdfDhtmlGeoMapPeer$$.$_LATITUDE$ + ":";
    }
    var $xPanelClass$$ = $mapStyleElem$$7$$.getAttribute("xPanelStyleClass"), $yPanelClass$$ = $mapStyleElem$$7$$.getAttribute("yPanelStyleClass"), $panelLeftClass$$ = $mapStyleElem$$7$$.getAttribute("panelLeftClass"), $panelRightClass$$ = $mapStyleElem$$7$$.getAttribute("panelRightClass"), $panelCenterClass$$ = $mapStyleElem$$7$$.getAttribute("panelCenterClass"), $infoPath$$ = $mapStyleElem$$7$$.getAttribute("INFO_IMAGE_PATH"), $separatorPath$$ = $mapStyleElem$$7$$.getAttribute("SEPARATOR_IMAGE_PATH"), 
    $latLongDesc$$ = $latLongDesc$$ + ("\x3ctd align\x3dleft valign\x3dcenter nowrap\x3e\x3ctable id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latlong' style\x3d'display:none;overflow:hidden;' cellspacing\x3d'0' cellpadding\x3d'0'\x3e"), $latLongDesc$$ = $latLongDesc$$ + ('\x3ctr\x3e\x3ctd\x3e\x3cdiv class\x3d"' + $panelLeftClass$$ + '"\x3e\x3c/div\x3e\x3c/td\x3e') + ('\x3ctd class\x3d"' + $panelCenterClass$$ + '"\x3e') + ("\x3cdiv height\x3d'33'  id\x3d'" + $descLat_elemId$$7$$ + 
    $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latitude' class\x3d\"" + $xPanelClass$$ + "\"\x3e\x3cimg src\x3d'" + $infoPath$$ + "' style\x3d'margin-top:1px;margin-right:4px;vertical-align:text-top'/\x3e" + $yLabel$$1$$ + "\x26nbsp;-000.0000\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x3c/div\x3e\x3c/td\x3e"), $latLongDesc$$ = $latLongDesc$$ + ('\x3ctd class\x3d"' + $panelCenterClass$$ + "\"\x3e\x3cdiv height\x3d'33'\x3e\x3cimg src\x3d'" + $separatorPath$$ + "' align\x3d'top'/\x3e\x3c/div\x3e\x3c/td\x3e"), 
    $latLongDesc$$ = $latLongDesc$$ + ('\x3ctd class\x3d"' + $panelCenterClass$$ + '"\x3e'), $latLongDesc$$ = $latLongDesc$$ + ("\x3cdiv height\x3d'33' id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longitude' class\x3d\"" + $yPanelClass$$ + '"\x3e' + $distanceAreaPanelClass_xLabel$$1$$ + "\x26nbsp;-000.0000\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x26nbsp;\x3c/div\x3e\x3c/td\x3e"), $latLongDesc$$ = $latLongDesc$$ + ("\x3ctd\x3e\x3ctable id\x3d'" + $descLat_elemId$$7$$ + 
    $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatEnd'  cellspacing\x3d'0' cellpadding\x3d'0' style\x3d'display:none;'\x3e"), $latLongDesc$$ = $latLongDesc$$ + ('\x3ctr\x3e\x3ctd\x3e\x3cdiv class\x3d"' + $panelRightClass$$ + '"\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e'), $latLongDesc$$ = $latLongDesc$$ + "\x3c/table\x3e\x3c/td\x3e", $latLongDesc$$ = $latLongDesc$$ + ("\x3ctd\x3e\x3ctable id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatConnector' cellpadding\x3d0 cellspacing\x3d0 align\x3d'left' valign\x3d'center' style\x3d\"display:none\"\x3e"), 
    $latLongDesc$$ = $latLongDesc$$ + ('\x3ctr\x3e\x3ctd class\x3d"' + $panelCenterClass$$ + '"\x3e\x3cdiv\x3e\x26nbsp\x26nbsp\x3c/div\x3e\x3c/td\x3e'), $latLongDesc$$ = $latLongDesc$$ + ('\x3ctd class\x3d"' + $panelCenterClass$$ + "\"\x3e\x3cdiv height\x3d'33'\x3e\x3cimg src\x3d\"" + $separatorPath$$ + "\" align\x3d'top'/\x3e\x3c/div\x3e\x3c/td\x3e"), $latLongDesc$$ = $latLongDesc$$ + ('\x3ctd class\x3d"' + $panelCenterClass$$ + '"\x3e\x3cdiv\x3e\x26nbsp\x26nbsp\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e'), 
    $latLongDesc$$ = $latLongDesc$$ + "\x3c/table\x3e\x3c/td\x3e", $latLongDesc$$ = $latLongDesc$$ + "\x3c/tr\x3e\x3c/table\x3e\x3c/td\x3e";
  }
  $distanceAreaPanelClass_xLabel$$1$$ = $mapStyleElem$$7$$.getAttribute("distAreaPanelStyleClass");
  $latLongDesc$$ += "\x3ctd align\x3dleft valign\x3dcenter nowrap\x3e\x3ctable cellspacing\x3d'0' cellpadding\x3d'0'\x3e\x3ctr\x3e";
  $latLongDesc$$ += "\x3ctd\x3e\x3ctable id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceAreaStart' cellpadding\x3d0 cellspacing\x3d0 align\x3d'left' valign\x3d'center' width\x3d'100%' style\x3d\"display:none\"\x3e";
  $latLongDesc$$ += '\x3ctr\x3e\x3ctd\x3e\x3cdiv class\x3d"' + $panelLeftClass$$ + '"\x3e\x3c/div\x3e\x3c/td\x3e';
  $latLongDesc$$ += "\x3c/tr\x3e\x3c/table\x3e\x3c/td\x3e";
  $latLongDesc$$ += '\x3ctd class\x3d"' + $panelCenterClass$$ + "\"\x3e\x3cdiv align\x3d'top' height\x3d'33' id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceArea' class\x3d\"" + $distanceAreaPanelClass_xLabel$$1$$ + '" \x3e';
  $latLongDesc$$ += "\x3c/div\x3e\x3c/td\x3e";
  $latLongDesc$$ += "\x3ctd\x3e\x3ctable id\x3d'" + $descLat_elemId$$7$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceAreaEnd'  width\x3d'5' border\x3d'0' cellspacing\x3d'0' cellpadding\x3d'0' style\x3d'display:none'\x3e";
  $latLongDesc$$ += '\x3ctr\x3e\x3ctd\x3e\x3cdiv class\x3d"' + $panelRightClass$$ + '"\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e';
  $latLongDesc$$ += "\x3c/table\x3e\x3c/td\x3e";
  $latLongDesc$$ += "\x3c/tr\x3e\x3c/table\x3e\x3c/td\x3e\x3c/tr\x3e";
  $latLongDesc$$ += "\x3c/table\x3e";
  $descLat_elemId$$7$$ = new MVMapDecoration($latLongDesc$$, 0, 1, 0, 0);
  $descLat_elemId$$7$$.enableEventPropagation(!0);
  null != $mapStyleElem$$7$$.getAttribute("isShowScaleBar") ? $descLat_elemId$$7$$.setOffset(5, -74) : $descLat_elemId$$7$$.setOffset(5, -34);
  $JSCompiler_StaticMethods__createInfoArea$self$$.$_mapview$.addMapDecoration($descLat_elemId$$7$$);
}
function $JSCompiler_StaticMethods__refreshZoombar$$($JSCompiler_StaticMethods__refreshZoombar$self$$) {
  var $elemId$$8_navPosition$$ = $JSCompiler_StaticMethods__refreshZoombar$self$$.getClientId(), $elemId$$8_navPosition$$ = document.getElementById(AdfRichUIPeer.CreateSubId($elemId$$8_navPosition$$, "mapStyle")).getAttribute("navigatorPosition");
  null == $JSCompiler_StaticMethods__refreshZoombar$self$$.$_navigatorDecoration$ && null != $elemId$$8_navPosition$$ && ($JSCompiler_StaticMethods__refreshZoombar$self$$.$_navigatorDecoration$ = "EAST" == $elemId$$8_navPosition$$ ? new MVMapDecoration(new MVNavigationPanel(8, !0, !0, !1), 1, 0, null, null, -60, 10) : new MVMapDecoration(new MVNavigationPanel(8, !0, !0, !1), 0, 0, null, null, 10, 10), $JSCompiler_StaticMethods__refreshZoombar$self$$.$_mapview$.addMapDecoration($JSCompiler_StaticMethods__refreshZoombar$self$$.$_navigatorDecoration$));
  null != $elemId$$8_navPosition$$ && $JSCompiler_StaticMethods__refreshZoombar$self$$.$_navigatorDecoration$.setVisible(!0);
}
function $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__getStyleElement$self_mapId$$21$$) {
  $JSCompiler_StaticMethods__getStyleElement$self_mapId$$21$$ = $JSCompiler_StaticMethods__getStyleElement$self_mapId$$21$$.getClientId();
  return document.getElementById(AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__getStyleElement$self_mapId$$21$$, "mapStyle"));
}
function $JSCompiler_StaticMethods__getContextPath$$($JSCompiler_StaticMethods__getContextPath$self$$) {
  $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__getContextPath$self$$).getAttribute("contextPath");
}
AdfDhtmlGeoMap.prototype.$_toolDrag$ = function $AdfDhtmlGeoMap$$$_toolDrag$$() {
  var $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ = this.$_mapTool$;
  "rectSelection" == $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ ? ($area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ = this.$_rectangleTool$, $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ = $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$.getWidth("meter") * $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$.getHeight("meter"), $JSCompiler_StaticMethods__displayDistanceArea$$(this, 
  !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$)) : "circleSelection" == $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ && ($area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$ = this.$_circleTool$.$getRadius$("meter"), $JSCompiler_StaticMethods__displayDistanceArea$$(this, !0, $AdfDhtmlGeoMapPeer$$.$_RADIUS$, $area$$inline_323_radius$$inline_324_rectTool$$inline_322_tool$$inline_321$$));
};
AdfDhtmlGeoMap.prototype._toolDrag = AdfDhtmlGeoMap.prototype.$_toolDrag$;
AdfDhtmlGeoMap.prototype.$_toolBegin$ = function $AdfDhtmlGeoMap$$$_toolBegin$$() {
  var $activeTheme$$5$$ = this.getTheme(this.$_activeTheme$);
  null != $activeTheme$$5$$ && "object" == typeof $activeTheme$$5$$[0] && $JSCompiler_StaticMethods__clearSelection$$(this);
};
AdfDhtmlGeoMap.prototype._toolBegin = AdfDhtmlGeoMap.prototype.$_toolBegin$;
function $JSCompiler_StaticMethods__getToolGeometry$$($JSCompiler_StaticMethods__getToolGeometry$self$$) {
  var $tool$$ = $JSCompiler_StaticMethods__getToolGeometry$self$$.$_mapTool$;
  if ("rectSelection" == $tool$$) {
    return $JSCompiler_StaticMethods__getToolGeometry$self$$.$_rectangleTool$.$getRectangle$();
  }
  if ("circleSelection" == $tool$$) {
    return $JSCompiler_StaticMethods__getToolGeometry$self$$.$_circleTool$.$getCircle$();
  }
  if ("polygonSelection" == $tool$$) {
    return $JSCompiler_StaticMethods__getToolGeometry$self$$.$_redlineTool$.$getPolygon$();
  }
  if ("pointSelection" == $tool$$) {
    return $JSCompiler_StaticMethods__getToolGeometry$self$$.$_mapview$.getMouseLocation();
  }
}
function $JSCompiler_StaticMethods__checkPointInGeometry$$($JSCompiler_StaticMethods__checkPointInGeometry$self$$, $foi$$8$$) {
  var $centerX$$2_mbr_poly$$inline_334_tool$$2$$ = $JSCompiler_StaticMethods__checkPointInGeometry$self$$.$_mapTool$;
  if ("undefined" != typeof $foi$$8$$.getGeometry() && $foi$$8$$.getGeometry().$isPoint$()) {
    var $centerY$$2_circlePoint_geom_npoints$$inline_337$$ = $JSCompiler_StaticMethods__getToolGeometry$$($JSCompiler_StaticMethods__checkPointInGeometry$self$$);
    if (null == $centerY$$2_circlePoint_geom_npoints$$inline_337$$) {
      return !1;
    }
    var $JSCompiler_inline_result$$17_curFOI_x$$66$$ = $foi$$8$$.getGeometry().getPointX(), $y$$47$$ = $foi$$8$$.getGeometry().getPointY();
    if ("rectSelection" == $centerX$$2_mbr_poly$$inline_334_tool$$2$$) {
      return $centerX$$2_mbr_poly$$inline_334_tool$$2$$ = $centerY$$2_circlePoint_geom_npoints$$inline_337$$.$getMBR$(), $JSCompiler_inline_result$$17_curFOI_x$$66$$ >= $centerX$$2_mbr_poly$$inline_334_tool$$2$$[0] && $JSCompiler_inline_result$$17_curFOI_x$$66$$ <= $centerX$$2_mbr_poly$$inline_334_tool$$2$$[2] && $y$$47$$ >= $centerX$$2_mbr_poly$$inline_334_tool$$2$$[1] && $y$$47$$ <= $centerX$$2_mbr_poly$$inline_334_tool$$2$$[3] ? !0 : !1;
    }
    if ("circleSelection" == $centerX$$2_mbr_poly$$inline_334_tool$$2$$) {
      var $centerY$$2_circlePoint_geom_npoints$$inline_337$$ = $centerY$$2_circlePoint_geom_npoints$$inline_337$$.$getOrdinates$(), $centerX$$2_mbr_poly$$inline_334_tool$$2$$ = $centerY$$2_circlePoint_geom_npoints$$inline_337$$[2], $centerY$$2_circlePoint_geom_npoints$$inline_337$$ = $centerY$$2_circlePoint_geom_npoints$$inline_337$$[1], $radius$$3_xnew$$inline_338$$ = $JSCompiler_StaticMethods__checkPointInGeometry$self$$.$_circleTool$.$getRadius$();
      return AdfDhtmlGeoMap.$_getDistance$($JSCompiler_inline_result$$17_curFOI_x$$66$$, $y$$47$$, $centerX$$2_mbr_poly$$inline_334_tool$$2$$, $centerY$$2_circlePoint_geom_npoints$$inline_337$$) <= $radius$$3_xnew$$inline_338$$ ? !0 : !1;
    }
    if ("polygonSelection" == $centerX$$2_mbr_poly$$inline_334_tool$$2$$) {
      var $centerX$$2_mbr_poly$$inline_334_tool$$2$$ = $centerY$$2_circlePoint_geom_npoints$$inline_337$$.$getOrdinates$(), $centerY$$2_circlePoint_geom_npoints$$inline_337$$ = $centerX$$2_mbr_poly$$inline_334_tool$$2$$.length, $ynew$$inline_339$$, $xold$$inline_340$$, $y2$$inline_345_yold$$inline_341$$, $x1$$inline_342$$, $y1$$inline_343$$, $x2$$inline_344$$, $i$$inline_346$$, $inside$$inline_347$$ = !1;
      if (3 > $centerY$$2_circlePoint_geom_npoints$$inline_337$$ / 2) {
        $JSCompiler_inline_result$$17_curFOI_x$$66$$ = !1;
      } else {
        $xold$$inline_340$$ = $centerX$$2_mbr_poly$$inline_334_tool$$2$$[$centerY$$2_circlePoint_geom_npoints$$inline_337$$ - 2];
        $y2$$inline_345_yold$$inline_341$$ = $centerX$$2_mbr_poly$$inline_334_tool$$2$$[$centerY$$2_circlePoint_geom_npoints$$inline_337$$ - 1];
        for ($i$$inline_346$$ = 0;$i$$inline_346$$ < $centerY$$2_circlePoint_geom_npoints$$inline_337$$;$i$$inline_346$$ += 2) {
          $radius$$3_xnew$$inline_338$$ = $centerX$$2_mbr_poly$$inline_334_tool$$2$$[$i$$inline_346$$], $ynew$$inline_339$$ = $centerX$$2_mbr_poly$$inline_334_tool$$2$$[$i$$inline_346$$ + 1], $radius$$3_xnew$$inline_338$$ > $xold$$inline_340$$ ? ($x1$$inline_342$$ = $xold$$inline_340$$, $x2$$inline_344$$ = $radius$$3_xnew$$inline_338$$, $y1$$inline_343$$ = $y2$$inline_345_yold$$inline_341$$, $y2$$inline_345_yold$$inline_341$$ = $ynew$$inline_339$$) : ($x1$$inline_342$$ = $radius$$3_xnew$$inline_338$$, 
          $x2$$inline_344$$ = $xold$$inline_340$$, $y1$$inline_343$$ = $ynew$$inline_339$$), $radius$$3_xnew$$inline_338$$ < $JSCompiler_inline_result$$17_curFOI_x$$66$$ == $JSCompiler_inline_result$$17_curFOI_x$$66$$ <= $xold$$inline_340$$ && ($y$$47$$ - $y1$$inline_343$$) * ($x2$$inline_344$$ - $x1$$inline_342$$) < ($y2$$inline_345_yold$$inline_341$$ - $y1$$inline_343$$) * ($JSCompiler_inline_result$$17_curFOI_x$$66$$ - $x1$$inline_342$$) && ($inside$$inline_347$$ = !$inside$$inline_347$$), $xold$$inline_340$$ = 
          $radius$$3_xnew$$inline_338$$, $y2$$inline_345_yold$$inline_341$$ = $ynew$$inline_339$$;
        }
        $JSCompiler_inline_result$$17_curFOI_x$$66$$ = $inside$$inline_347$$;
      }
      return $JSCompiler_inline_result$$17_curFOI_x$$66$$ ? !0 : !1;
    }
    if ("pointSelection" == $centerX$$2_mbr_poly$$inline_334_tool$$2$$) {
      return $JSCompiler_inline_result$$17_curFOI_x$$66$$ = $JSCompiler_StaticMethods__checkPointInGeometry$self$$.$_currentFOI$, null != $JSCompiler_inline_result$$17_curFOI_x$$66$$ && $JSCompiler_inline_result$$17_curFOI_x$$66$$.id == $foi$$8$$.id ? !0 : !1;
    }
  }
}
AdfDhtmlGeoMap.prototype.$_toolFinish$ = function $AdfDhtmlGeoMap$$$_toolFinish$$() {
  $JSCompiler_StaticMethods__toolFinishCallback$$(this);
};
AdfDhtmlGeoMap.prototype._toolFinish = AdfDhtmlGeoMap.prototype.$_toolFinish$;
function $JSCompiler_StaticMethods__selectPointFOI$$($JSCompiler_StaticMethods__selectPointFOI$self$$, $foi$$10$$, $prop$$9$$, $index$$55$$) {
  var $newHTML$$1$$ = "", $newHTML$$1$$ = $foi$$10$$.$isImage$ ? $JSCompiler_StaticMethods__createFOIImageHTML$$(0, $foi$$10$$, $foi$$10$$.width, $foi$$10$$.height, !0) : $foi$$10$$.$selectedImages$;
  $foi$$10$$.$_isSelected$ = !0;
  $foi$$10$$.setHTMLElement($newHTML$$1$$);
  $foi$$10$$.reDraw();
  $JSCompiler_StaticMethods__selectPointFOI$self$$.$_selectFOI$[$index$$55$$] = $foi$$10$$;
  $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($prop$$9$$, $foi$$10$$);
}
function $JSCompiler_StaticMethods__toolFinishCallback$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $foi$$11$$) {
  var $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_mapTool$;
  if ("area" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$) {
    var $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_areaTool$.$getPolygon$(), $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = $JSCompiler_StaticMethods__getDataSourceName$$($JSCompiler_StaticMethods__toolFinishCallback$self$$.getPeer()), $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = new MVFOI("__adf_areaTool_Polygon", $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$, 
    $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ + ".BLACK_LINE");
    $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_mapview$.addFOI($activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$);
    $JSCompiler_StaticMethods__initMapTool$$($JSCompiler_StaticMethods__toolFinishCallback$self$$);
  } else {
    if ("rectSelection" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ && 3 != $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_rectangleTool$.$getStatus$() || "circleSelection" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ && 3 != $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_circleTool$.$getStatus$()) {
      $JSCompiler_StaticMethods__initMapTool$$($JSCompiler_StaticMethods__toolFinishCallback$self$$);
    } else {
      if ("polygonSelection" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$) {
        if ($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_redlineTool$.$_isStart$) {
          $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_redlineTool$.$_isStart$ = !1;
        } else {
          return;
        }
      }
      if (null != $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$) {
        $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = $JSCompiler_StaticMethods__toolFinishCallback$self$$.getTheme($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$);
        if ("object" == typeof $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$[0]) {
          $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods__toolFinishCallback$self$$);
          var $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = 0, $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$ = [];
          $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$.selectionMode = "Select";
          if (null != $foi$$11$$) {
            $JSCompiler_StaticMethods__selectPointFOI$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $foi$$11$$, $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$, 0);
          } else {
            for (var $i$$44_keyColumn$$inline_361_locationName$$inline_4968$$ = 0;$i$$44_keyColumn$$inline_361_locationName$$inline_4968$$ < $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.length;$i$$44_keyColumn$$inline_361_locationName$$inline_4968$$++) {
              $JSCompiler_StaticMethods__checkPointInGeometry$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$[$i$$44_keyColumn$$inline_361_locationName$$inline_4968$$]) && ($JSCompiler_StaticMethods__selectPointFOI$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$[$i$$44_keyColumn$$inline_361_locationName$$inline_4968$$], $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$, 
              $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$), $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$++);
            }
          }
          $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = new $AdfMapSelectEvent$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$);
          $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.setPartial(!0);
          $JSCompiler_StaticMethods__toolFinishCallback$self$$.queueEvent($activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$);
        } else {
          if ("object" == typeof $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ && ($JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods__toolFinishCallback$self$$), $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = null, null == $foi$$11$$ && ($dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = $JSCompiler_StaticMethods__getToolGeometry$$($JSCompiler_StaticMethods__toolFinishCallback$self$$)), 
          null != $foi$$11$$ || null != $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$)) {
            $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$ = $JSCompiler_StaticMethods__toolFinishCallback$self$$._getThemeEntry($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$);
            $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$ = $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_mapview$.getThemeBasedFOI($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$);
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$ = new MVThemeBasedFOI("selectTheme", $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$.$getThemeName$());
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setBringToTopOnMouseOver(!0);
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.addStyle($activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.selectionStyle);
            if (null == $foi$$11$$) {
              $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.$setHighlightOnly$(!0), $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.$setFilteringGeom$($dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$), $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setNSDP($activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.nsdp);
            } else {
              var $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = $JSCompiler_StaticMethods__getThemeDefinitionElement$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$), $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$ = $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.getAttribute("themeName"), $data$$inline_360_xmlChild$$inline_4970$$ = 
              $JSCompiler_StaticMethods__getDataTable$$($dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.innerHTML), $i$$44_keyColumn$$inline_361_locationName$$inline_4968$$ = $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.getAttribute("locationColumn"), $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$ = new MVNSDP("defaultNSDP");
              $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.setTheme($activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$);
              $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.setKeyColumn($i$$44_keyColumn$$inline_361_locationName$$inline_4968$$);
              for (var $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$ = {}, $i$$44_keyColumn$$inline_361_locationName$$inline_4968$$ = $foi$$11$$.name, $resultString$$inline_4969$$ = "", $data$$inline_360_xmlChild$$inline_4970$$ = $data$$inline_360_xmlChild$$inline_4970$$.split("\x3ctr\x3e"), $i$$inline_4971$$ = 0;$i$$inline_4971$$ < $data$$inline_360_xmlChild$$inline_4970$$.length;$i$$inline_4971$$++) {
                if (1 < $i$$inline_4971$$) {
                  for (var $xmlColumn$$inline_4972$$ = $data$$inline_360_xmlChild$$inline_4970$$[$i$$inline_4971$$].split("\x3ctd\x3e"), $j$$inline_4973$$ = 0;$j$$inline_4973$$ < $xmlColumn$$inline_4972$$.length;$j$$inline_4973$$++) {
                    if (0 < $j$$inline_4973$$) {
                      var $realChild$$inline_4975_s2$$inline_4974$$ = $xmlColumn$$inline_4972$$[$j$$inline_4973$$].split("\x3c/td\x3e")[0].split("\x3c/tr\x3e");
                      1 == $j$$inline_4973$$ && $realChild$$inline_4975_s2$$inline_4974$$ == $i$$44_keyColumn$$inline_361_locationName$$inline_4968$$ && ($realChild$$inline_4975_s2$$inline_4974$$ = $data$$inline_360_xmlChild$$inline_4970$$[$i$$inline_4971$$].split("\x3c/table\x3e"), $resultString$$inline_4969$$ += $realChild$$inline_4975_s2$$inline_4974$$[0]);
                    }
                  }
                } else {
                  $resultString$$inline_4969$$ += $data$$inline_360_xmlChild$$inline_4970$$[$i$$inline_4971$$] + "\x3ctr\x3e";
                }
              }
              $activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$.xml = $resultString$$inline_4969$$ + "\x3c/table\x3e\x3c/nsdp_xml\x3e";
              $dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$.setParameters($activeThemeFOI$$inline_357_prop$$10_ps$$inline_363_themeName$$inline_359$$);
              $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setNSDP($dataSourceName$$1_geom$$inline_355_index$$56_nsdpInfo2$$inline_362_themeElem$$inline_358$$);
            }
            "ColorTheme" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.type ? ($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setRenderingStyle("BUCKETCOLOR"), $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setMaxWholeImageLevel($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_baseMap$.config.zoomLevels.length - 1 - 2)) : "BarChartTheme" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.type ? 
            ($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setRenderingStyle("BARSTYLE"), $JSCompiler_StaticMethods__isMaxWholeImage$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$) && $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setMaxWholeImageLevel($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_baseMap$.config.zoomLevels.length - 1 - 2)) : "PieChartTheme" == $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$.type && 
            ($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setRenderingStyle("PIESTYLE"), $JSCompiler_StaticMethods__isMaxWholeImage$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_activeTheme$) && $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setMaxWholeImageLevel($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_baseMap$.config.zoomLevels.length - 1 - 2));
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.$enableInfoWindow$(!1);
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_mapview$.addThemeBasedFOI($JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$);
            $JSCompiler_StaticMethods__setThemeEntryIndex$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, $activeTheme$$6_event$$54_polygon$$1_polygonFOI_themeEntry$$inline_356_tool$$3$$, $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$, !0);
            $JSCompiler_StaticMethods__toolFinishCallback$self$$.$_selectTheme$.setEventListener("after_refresh", $AdfDhtmlGeoMapPeer$$.$_selectThemeRefresh$);
          }
        }
        $JSCompiler_StaticMethods__initMapTool$$($JSCompiler_StaticMethods__toolFinishCallback$self$$);
        $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__toolFinishCallback$self$$, !1, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0);
      }
    }
  }
}
AdfDhtmlGeoMap.prototype.$_setCursor$ = function $AdfDhtmlGeoMap$$$_setCursor$$($cursor$$3$$, $isCustom$$1$$) {
  var $infoAreaElem_infoAreaId$$ = AdfRichUIPeer.CreateSubId(this.getClientId(), "infoArea"), $infoAreaElem_infoAreaId$$ = document.getElementById($infoAreaElem_infoAreaId$$), $copyrightTextElem_copyrightTextId$$ = this.getClientId() + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "copyrightText", $copyrightTextElem_copyrightTextId$$ = document.getElementById($copyrightTextElem_copyrightTextId$$), $foiArray$$1_themeFOI$$2$$ = this.$_mapview$.getAllFOIs(), $cursorStyles$$2_cursorStyles$$inline_368$$;
  $cursorStyles$$2_cursorStyles$$inline_368$$ = $cursor$$3$$;
  if ($isCustom$$1$$) {
    var $cursorPath$$inline_369_i$$45$$ = $JSCompiler_StaticMethods__getStyleElement$$(this).getAttribute($cursor$$3$$);
    AdfAgent.getAgent().getPlatform() == AdfAgent.IE_PLATFORM ? $cursorStyles$$2_cursorStyles$$inline_368$$ = $cursorPath$$inline_369_i$$45$$ : ($cursorStyles$$2_cursorStyles$$inline_368$$ = [], $cursorStyles$$2_cursorStyles$$inline_368$$.push("url(" + $cursorPath$$inline_369_i$$45$$ + ")"), $cursorStyles$$2_cursorStyles$$inline_368$$.push("default"));
  }
  for ($cursorPath$$inline_369_i$$45$$ = 0;$cursorPath$$inline_369_i$$45$$ < $foiArray$$1_themeFOI$$2$$.length;$cursorPath$$inline_369_i$$45$$++) {
    "hand.cur" == $cursor$$3$$ ? $foiArray$$1_themeFOI$$2$$[$cursorPath$$inline_369_i$$45$$].setMouseCursorStyle("pointer") : $foiArray$$1_themeFOI$$2$$[$cursorPath$$inline_369_i$$45$$].setMouseCursorStyle($cursorStyles$$2_cursorStyles$$inline_368$$);
  }
  this.$_mapview$.setMouseCursorStyle($cursorStyles$$2_cursorStyles$$inline_368$$, "default");
  this.$_mapview$.setMouseCursorStyle($cursorStyles$$2_cursorStyles$$inline_368$$, "dragging");
  for ($cursorPath$$inline_369_i$$45$$ = 0;$cursorPath$$inline_369_i$$45$$ < this._themeInfoTable.length;$cursorPath$$inline_369_i$$45$$++) {
    $foiArray$$1_themeFOI$$2$$ = this.$_mapview$.getThemeBasedFOI(this._themeInfoTable[$cursorPath$$inline_369_i$$45$$].id), null != $foiArray$$1_themeFOI$$2$$ && ("hand.cur" == $cursor$$3$$ ? $foiArray$$1_themeFOI$$2$$.setMouseCursorStyle("pointer") : $foiArray$$1_themeFOI$$2$$.setMouseCursorStyle($cursorStyles$$2_cursorStyles$$inline_368$$));
  }
  null != $infoAreaElem_infoAreaId$$ && ($infoAreaElem_infoAreaId$$.parentNode.style.cursor = $cursorStyles$$2_cursorStyles$$inline_368$$);
  null != $copyrightTextElem_copyrightTextId$$ && ($copyrightTextElem_copyrightTextId$$.style.cursor = $cursorStyles$$2_cursorStyles$$inline_368$$);
};
function $JSCompiler_StaticMethods__initMapTool$$($JSCompiler_StaticMethods__initMapTool$self$$) {
  $JSCompiler_StaticMethods__getContextPath$$($JSCompiler_StaticMethods__initMapTool$self$$);
  var $dataSourceName$$2_showInfoAreaFunction$$ = $JSCompiler_StaticMethods__getDataSourceName$$($JSCompiler_StaticMethods__initMapTool$self$$.getPeer()), $blackLineStyle_imgPath$$2$$ = $dataSourceName$$2_showInfoAreaFunction$$ + ".BLACK_LINE", $nullStyle$$ = $dataSourceName$$2_showInfoAreaFunction$$ + ".NULL_STYLE";
  $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("HANDCUR", !0);
  var $tool$$4$$ = $JSCompiler_StaticMethods__initMapTool$self$$.$_mapTool$, $toolBeginFunction$$ = $JSCompiler_StaticMethods__initMapTool$self$$.createCallback($JSCompiler_StaticMethods__initMapTool$self$$.$_toolBegin$), $toolEndFunction$$ = $JSCompiler_StaticMethods__initMapTool$self$$.createCallback($JSCompiler_StaticMethods__initMapTool$self$$.$_toolFinish$), $toolDragFunction$$ = $JSCompiler_StaticMethods__initMapTool$self$$.createCallback($JSCompiler_StaticMethods__initMapTool$self$$.$_toolDrag$), 
  $dataSourceName$$2_showInfoAreaFunction$$ = $JSCompiler_StaticMethods__initMapTool$self$$.createCallback($JSCompiler_StaticMethods__initMapTool$self$$.$_showDistanceArea$), $distAreaElemId$$1_isDistanceAreaVisible$$ = $JSCompiler_StaticMethods__initMapTool$self$$.getClientId() + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceArea", $distanceAreaElem$$1$$ = document.getElementById($distAreaElemId$$1_isDistanceAreaVisible$$), $distAreaElemId$$1_isDistanceAreaVisible$$ = !1;
  null != $distanceAreaElem$$1$$ && ($distAreaElemId$$1_isDistanceAreaVisible$$ = "none" != $distanceAreaElem$$1$$.style.display);
  "hand" == $tool$$4$$ ? $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("HANDCUR", !0) : "rectSelection" == $tool$$4$$ ? (null == $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$ && ($JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$ = new MVRectangleTool($nullStyle$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.addRectangleTool($JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$)), $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$.init(), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$.setDivBorderStyle("#000000", 1, "dashed"), $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$.setEventListener("on_start", $toolBeginFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$.setEventListener("on_drag", $toolDragFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_rectangleTool$.setEventListener("on_finish", $toolEndFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("HAIRCUR", 
  !0), $distAreaElemId$$1_isDistanceAreaVisible$$ || $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0)) : "circleSelection" == $tool$$4$$ ? (null == $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$ && ($JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$ = new MVCircleTool($nullStyle$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.addCircleTool($JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$)), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$.init(), $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$.setPlotDivFillColor("#000000", 1), $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$.setEventListener("on_start", $toolBeginFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$.setEventListener("on_drag", $toolDragFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_circleTool$.setEventListener("on_finish", $toolEndFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("HAIRCUR", 
  !0), $distAreaElemId$$1_isDistanceAreaVisible$$ || $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, !0, $AdfDhtmlGeoMapPeer$$.$_RADIUS$, 0)) : "polygonSelection" == $tool$$4$$ ? (null == $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$ && ($JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$ = new MVRedlineTool($blackLineStyle_imgPath$$2$$, $nullStyle$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.setEditingMode({deletePoint:!1, 
  dragPoint:!1, deleteLine:!1, dragLine:!1}), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.addRedLineTool($JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.setAutoClose(!0), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.setControlPanelVisible(!1), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.attachEventListener(MVEvent.$NEW_SHAPE_POINT$, $dataSourceName$$2_showInfoAreaFunction$$), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.attachEventListener(MVEvent.$FINISH$, $toolEndFunction$$)), $blackLineStyle_imgPath$$2$$ = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__initMapTool$self$$).getAttribute("POLYSTART_IMAGE_PATH"), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.$setMarkerImage$($blackLineStyle_imgPath$$2$$, 11, 11), $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("MAKECUR", !0), $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.clear(), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_redlineTool$.init(), $distAreaElemId$$1_isDistanceAreaVisible$$ || $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0)) : "zoomIn" == $tool$$4$$ ? ($JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("ZOOMINCUR", !0), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.startMarqueeZoom("continuous", {borderColor:"#000000", borderWidth:1, $borderDashed$:!0, 
  fillColor:"#333333", $fillOpacity$:.1})) : "zoomOut" == $tool$$4$$ ? ($JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("ZOOMOUTCUR", !0), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.enableDragging(!1)) : "ruler" == $tool$$4$$ ? ($JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, !0, $AdfDhtmlGeoMapPeer$$.$_DISTANCE$, 0), null == $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$ && ($JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$ = 
  new MVRedlineTool($blackLineStyle_imgPath$$2$$, $nullStyle$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$.setEditingMode({$deletePoint$:!1, $dragPoint$:!1, $deleteLine$:!1, $dragLine$:!1}), $blackLineStyle_imgPath$$2$$ = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__initMapTool$self$$).getAttribute("POLYSTART_IMAGE_PATH"), $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$.$setMarkerImage$($blackLineStyle_imgPath$$2$$, 11, 11), $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$.setControlPanelVisible(!1), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.addRedLineTool($JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$), $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$.attachEventListener(MVEvent.$NEW_SHAPE_POINT$, $dataSourceName$$2_showInfoAreaFunction$$)), $JSCompiler_StaticMethods__initMapTool$self$$.$_measureTool$.init(), $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("HAIRCUR", !0), $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, 
  !0, $AdfDhtmlGeoMapPeer$$.$_DISTANCE$, 0)) : "area" == $tool$$4$$ ? (null == $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$ && ($JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$ = new MVRedlineTool($blackLineStyle_imgPath$$2$$, $blackLineStyle_imgPath$$2$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.setEditingMode({$deletePoint$:!1, $dragPoint$:!1, $deleteLine$:!1, $dragLine$:!1}), $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.addRedLineTool($JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$), 
  $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.setAutoClose(!0), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.setControlPanelVisible(!1), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.attachEventListener(MVEvent.$NEW_SHAPE_POINT$, $dataSourceName$$2_showInfoAreaFunction$$), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.attachEventListener(MVEvent.$FINISH$, $toolEndFunction$$)), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.clear(), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.init(), 
  $blackLineStyle_imgPath$$2$$ = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__initMapTool$self$$).getAttribute("POLYSTART_IMAGE_PATH"), $JSCompiler_StaticMethods__initMapTool$self$$.$_areaTool$.$setMarkerImage$($blackLineStyle_imgPath$$2$$, 11, 11), $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("MAKECUR", !0), null == $JSCompiler_StaticMethods__initMapTool$self$$.$_mapview$.getFOI("__adf_areaTool_Polygon") && $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__initMapTool$self$$, 
  !0, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0)) : "pointSelection" == $tool$$4$$ && $JSCompiler_StaticMethods__initMapTool$self$$.$_setCursor$("default");
}
function $JSCompiler_StaticMethods__fixSelectThemeIndex$$($JSCompiler_StaticMethods__fixSelectThemeIndex$self$$) {
  null != $JSCompiler_StaticMethods__fixSelectThemeIndex$self$$.$_selectTheme$ && ($JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods__fixSelectThemeIndex$self$$), $JSCompiler_StaticMethods__fixSelectThemeIndex$self$$.$_setThemeIndex$());
}
function $JSCompiler_StaticMethods_setMapTool$$($JSCompiler_StaticMethods_setMapTool$self$$, $tool$$5$$) {
  if ($JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ != $tool$$5$$) {
    var $isSelectionTool_oldFOI$$3$$ = !1;
    if ("rectSelection" == $tool$$5$$ || "circleSelection" == $tool$$5$$ || "polygonSelection" == $tool$$5$$ || "pointSelection" == $tool$$5$$) {
      $isSelectionTool_oldFOI$$3$$ = !0;
    }
    "rectSelection" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? ($isSelectionTool_oldFOI$$3$$ || ($JSCompiler_StaticMethods__fixSelectThemeIndex$$($JSCompiler_StaticMethods_setMapTool$self$$), $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods_setMapTool$self$$)), $JSCompiler_StaticMethods_setMapTool$self$$.$_rectangleTool$.clear()) : "circleSelection" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? ($isSelectionTool_oldFOI$$3$$ || ($JSCompiler_StaticMethods__fixSelectThemeIndex$$($JSCompiler_StaticMethods_setMapTool$self$$), 
    $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods_setMapTool$self$$)), $JSCompiler_StaticMethods_setMapTool$self$$.$_circleTool$.clear()) : "polygonSelection" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? ($isSelectionTool_oldFOI$$3$$ || ($JSCompiler_StaticMethods__fixSelectThemeIndex$$($JSCompiler_StaticMethods_setMapTool$self$$), $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods_setMapTool$self$$)), $JSCompiler_StaticMethods_setMapTool$self$$.$_redlineTool$.clear()) : 
    "zoomIn" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? $JSCompiler_StaticMethods_setMapTool$self$$.$_mapview$.stopMarqueeZoom() : "ruler" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? $JSCompiler_StaticMethods_setMapTool$self$$.$_measureTool$.clear() : "area" == $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ ? ($JSCompiler_StaticMethods_setMapTool$self$$.$_areaTool$.clear(), $isSelectionTool_oldFOI$$3$$ = $JSCompiler_StaticMethods_setMapTool$self$$.$_mapview$.getFOI("__adf_areaTool_Polygon"), 
    null != $isSelectionTool_oldFOI$$3$$ && $JSCompiler_StaticMethods_setMapTool$self$$.$_mapview$.removeFOI($isSelectionTool_oldFOI$$3$$)) : "pointSelection" != $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ || $isSelectionTool_oldFOI$$3$$ || ($JSCompiler_StaticMethods__fixSelectThemeIndex$$($JSCompiler_StaticMethods_setMapTool$self$$), $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods_setMapTool$self$$));
    $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods_setMapTool$self$$, !1, $AdfDhtmlGeoMapPeer$$.$_AREA$, 0);
    $JSCompiler_StaticMethods_setMapTool$self$$.$_mapview$.enableDragging(!0);
    $JSCompiler_StaticMethods_setMapTool$self$$.$_mapview$.enableKeyboardPanning(!0);
    $JSCompiler_StaticMethods_setMapTool$self$$.$_mapTool$ = $tool$$5$$;
    $JSCompiler_StaticMethods__initMapTool$$($JSCompiler_StaticMethods_setMapTool$self$$);
  }
}
AdfDhtmlGeoMap.prototype.getImmediate = function $AdfDhtmlGeoMap$$getImmediate$() {
  return !0;
};
AdfDhtmlGeoMap.prototype.getTheme = function $AdfDhtmlGeoMap$$getTheme$($themeName$$4$$) {
  var $themeFOI$$3$$ = this.$_mapview$.getThemeBasedFOI($themeName$$4$$);
  return null == $themeFOI$$3$$ ? this._foiTheme[$themeName$$4$$] : $themeFOI$$3$$;
};
function $JSCompiler_StaticMethods__clearSelection$$($JSCompiler_StaticMethods__clearSelection$self$$) {
  for (var $activeTheme$$7_selectFOIs$$2$$ = $JSCompiler_StaticMethods__clearSelection$self$$.$_selectFOI$, $event$$55_prop$$11$$ = null, $i$$46$$ = 0;$i$$46$$ < $activeTheme$$7_selectFOIs$$2$$.length;$i$$46$$++) {
    null == $event$$55_prop$$11$$ && ($event$$55_prop$$11$$ = [], $event$$55_prop$$11$$.selectionMode = "Unselect");
    $AdfDhtmlGeoMapPeer$$.$_addFOIPropertyToArray$($event$$55_prop$$11$$, $activeTheme$$7_selectFOIs$$2$$[$i$$46$$]);
    var $newHTML$$2$$ = "", $newHTML$$2$$ = $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].$isImage$ ? $JSCompiler_StaticMethods__createFOIImageHTML$$(0, $activeTheme$$7_selectFOIs$$2$$[$i$$46$$], $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].width, $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].height, !1) : $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].originalImages;
    $activeTheme$$7_selectFOIs$$2$$[$i$$46$$]._isSelected = !1;
    $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].setHTMLElement($newHTML$$2$$);
    $activeTheme$$7_selectFOIs$$2$$[$i$$46$$].reDraw();
  }
  null != $JSCompiler_StaticMethods__clearSelection$self$$.$_selectTheme$ && ($activeTheme$$7_selectFOIs$$2$$ = $JSCompiler_StaticMethods__clearSelection$self$$.getTheme($JSCompiler_StaticMethods__clearSelection$self$$.$_activeTheme$), null != $activeTheme$$7_selectFOIs$$2$$ && ($event$$55_prop$$11$$ = $AdfDhtmlGeoMapPeer$$.$_convertThemeToArray$($activeTheme$$7_selectFOIs$$2$$, $JSCompiler_StaticMethods__clearSelection$self$$.$_selectTheme$), $event$$55_prop$$11$$.selectionMode = "Unselect", $JSCompiler_StaticMethods__clearSelection$self$$.$_mapview$.$removeThemeBasedFOI$($JSCompiler_StaticMethods__clearSelection$self$$.$_selectTheme$), 
  $JSCompiler_StaticMethods__clearSelection$self$$.$_selectTheme$ = null));
  null != $event$$55_prop$$11$$ && ($event$$55_prop$$11$$ = new $AdfMapSelectEvent$$($JSCompiler_StaticMethods__clearSelection$self$$, $event$$55_prop$$11$$), $event$$55_prop$$11$$.setPartial(!0), $JSCompiler_StaticMethods__clearSelection$self$$.queueEvent($event$$55_prop$$11$$));
}
function $JSCompiler_StaticMethods__setThemeEntryIndex$$($JSCompiler_StaticMethods__setThemeEntryIndex$self$$, $themeEntry$$5_themeIndex$$, $themeFOI$$4$$, $isSelectTheme$$) {
  $themeEntry$$5_themeIndex$$ = 2 * parseInt($themeEntry$$5_themeIndex$$.themeIndex);
  $isSelectTheme$$ || --$themeEntry$$5_themeIndex$$;
  $JSCompiler_StaticMethods__setThemeEntryIndex$self$$.$_mapview$.setThemeIndex($themeFOI$$4$$, $themeEntry$$5_themeIndex$$);
}
AdfDhtmlGeoMap.prototype.$_setThemeIndex$ = function $AdfDhtmlGeoMap$$$_setThemeIndex$$() {
  for (var $i$$47$$ = 0;$i$$47$$ < this._themeInfoTable.length;$i$$47$$++) {
    var $themeEntry$$6$$ = this._themeInfoTable[$i$$47$$], $themeFOI$$5$$ = this.$_mapview$.getThemeBasedFOI($themeEntry$$6$$.id);
    null != $themeFOI$$5$$ && $JSCompiler_StaticMethods__setThemeEntryIndex$$(this, $themeEntry$$6$$, $themeFOI$$5$$);
  }
};
AdfDhtmlGeoMap.prototype._setThemeIndex = AdfDhtmlGeoMap.prototype.$_setThemeIndex$;
AdfDhtmlGeoMap.prototype._getThemeEntry = function $AdfDhtmlGeoMap$$_getThemeEntry$($themeId$$22$$) {
  for (var $i$$48$$ = 0;$i$$48$$ < this._themeInfoTable.length;$i$$48$$++) {
    if (this._themeInfoTable[$i$$48$$].id == $themeId$$22$$) {
      return this._themeInfoTable[$i$$48$$];
    }
  }
  return null;
};
AdfDhtmlGeoMap.prototype._getThemeEntry = AdfDhtmlGeoMap.prototype._getThemeEntry;
function $JSCompiler_StaticMethods__isThemeVisibleinZoomLevel$$($themeEntry$$7$$, $zoomLevel$$1$$) {
  return null != $themeEntry$$7$$.minScale && $zoomLevel$$1$$ < $themeEntry$$7$$.minScale || null != $themeEntry$$7$$.maxScale && $zoomLevel$$1$$ > $themeEntry$$7$$.maxScale ? !1 : !0;
}
function $JSCompiler_StaticMethods__setNSDPThemeVisible$$($JSCompiler_StaticMethods__setNSDPThemeVisible$self$$, $themeEntry$$8$$, $bVisible$$) {
  var $themeName$$5$$ = $themeEntry$$8$$.id;
  $themeEntry$$8$$.visible = $bVisible$$;
  var $selectTheme$$1$$ = $JSCompiler_StaticMethods__setNSDPThemeVisible$self$$.$_mapview$.getThemeBasedFOI($themeName$$5$$);
  if (null != $selectTheme$$1$$) {
    $selectTheme$$1$$.setVisible($bVisible$$), $bVisible$$ && $JSCompiler_StaticMethods__setThemeEntryIndex$$($JSCompiler_StaticMethods__setNSDPThemeVisible$self$$, $themeEntry$$8$$, $selectTheme$$1$$);
  } else {
    var $allThemes$$ = $JSCompiler_StaticMethods__setNSDPThemeVisible$self$$.$_themeBasedFOIs$;
    for (i = 0;i < $allThemes$$.length;i++) {
      if ($allThemes$$[i].name == $themeName$$5$$) {
        $selectTheme$$1$$ = $allThemes$$[i];
        break;
      }
    }
    null != $selectTheme$$1$$ && $bVisible$$ && $JSCompiler_StaticMethods__setThemeEntryIndex$$($JSCompiler_StaticMethods__setNSDPThemeVisible$self$$, $themeEntry$$8$$, $selectTheme$$1$$);
  }
}
AdfDhtmlGeoMap.prototype.$_setPointFOIVisible$ = function $AdfDhtmlGeoMap$$$_setPointFOIVisible$$($func$$6_themeName$$6$$, $j$$8_start$$19$$, $end$$4$$, $bVisible$$1$$) {
  for (var $pointTheme$$ = this._foiTheme[$func$$6_themeName$$6$$];$j$$8_start$$19$$ < $end$$4$$ && $j$$8_start$$19$$ < $pointTheme$$.length;$j$$8_start$$19$$++) {
    if (null != $pointTheme$$[$j$$8_start$$19$$].parent) {
      if ($pointTheme$$[$j$$8_start$$19$$].$isImage$) {
        var $pointElem$$ = document.getElementById($pointTheme$$[$j$$8_start$$19$$].getId());
        if (null != $pointElem$$) {
          var $img$$4$$ = $pointElem$$.getElementsByTagName("img");
          null != $img$$4$$ && 0 < $img$$4$$.length && ($img$$4$$[0].parentNode.style.visibility = $bVisible$$1$$ ? "visible" : "hidden");
          $pointTheme$$[$j$$8_start$$19$$].setHTMLElement($pointElem$$.innerHTML);
        }
      }
      $pointTheme$$[$j$$8_start$$19$$].setVisible($bVisible$$1$$);
    }
  }
  $end$$4$$ < $pointTheme$$.length && ($j$$8_start$$19$$ = $end$$4$$, $end$$4$$ += 500, $end$$4$$ > $pointTheme$$.length && ($end$$4$$ = $pointTheme$$.length), $func$$6_themeName$$6$$ = new Function("this._setPointFOIVisible('" + $func$$6_themeName$$6$$ + "', " + $j$$8_start$$19$$.toString() + ", " + $end$$4$$.toString() + ", " + $bVisible$$1$$.toString() + ");"), setTimeout(this.createCallback($func$$6_themeName$$6$$), 1));
};
AdfDhtmlGeoMap.prototype._setPointFOIVisible = AdfDhtmlGeoMap.prototype.$_setPointFOIVisible$;
function $JSCompiler_StaticMethods__setPointThemeVisible$$($JSCompiler_StaticMethods__setPointThemeVisible$self$$, $pointTheme$$1_themeEntry$$9$$, $bVisible$$2$$) {
  var $themeName$$7$$ = $pointTheme$$1_themeEntry$$9$$.id;
  $pointTheme$$1_themeEntry$$9$$.visible = $bVisible$$2$$;
  $pointTheme$$1_themeEntry$$9$$ = $JSCompiler_StaticMethods__setPointThemeVisible$self$$._foiTheme[$themeName$$7$$];
  null != $pointTheme$$1_themeEntry$$9$$ && 0 < $pointTheme$$1_themeEntry$$9$$.length && $pointTheme$$1_themeEntry$$9$$[0].isVisible != $bVisible$$2$$ && $JSCompiler_StaticMethods__setPointThemeVisible$self$$.$_setPointFOIVisible$($themeName$$7$$, 0, 500, $bVisible$$2$$);
}
AdfDhtmlGeoMap.$_imageCallback$ = function $AdfDhtmlGeoMap$$_imageCallback$$($foiArray$$2_mapId$$22$$, $themeId$$23$$, $image$$9$$, $i$$49_start$$20$$, $end$$5$$) {
  $image$$9$$.onload = null;
  if (null != $foiArray$$2_mapId$$22$$ && null != $themeId$$23$$) {
    var $map$$4$$ = AdfPage.PAGE.findComponent($foiArray$$2_mapId$$22$$);
    if (null != $map$$4$$) {
      for ($foiArray$$2_mapId$$22$$ = $map$$4$$._foiTheme[$themeId$$23$$], null == $i$$49_start$$20$$ && ($i$$49_start$$20$$ = 0), null == $end$$5$$ && ($end$$5$$ = $foiArray$$2_mapId$$22$$ ? $foiArray$$2_mapId$$22$$.length : 0);$i$$49_start$$20$$ < $end$$5$$;$i$$49_start$$20$$++) {
        (new RegExp($foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].originalImages + "$")).test($image$$9$$.src) && ($foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].setWidth($image$$9$$.width), $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].setHeight($image$$9$$.height), $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].setHTMLElement($JSCompiler_StaticMethods__createFOIImageHTML$$(0, $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$], $image$$9$$.width, $image$$9$$.height, !1)), $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$]._set || 
        ($map$$4$$.$_mapview$.addFOI($foiArray$$2_mapId$$22$$[$i$$49_start$$20$$]), $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$]._set = !0), $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$]._isGeocoded && null != $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].node && $foiArray$$2_mapId$$22$$[$i$$49_start$$20$$].setVisible(!1));
      }
    }
  }
  $map$$4$$.$_endLogging$();
};
$goog$exportSymbol$$("AdfDhtmlGeoMap._imageCallback", AdfDhtmlGeoMap.$_imageCallback$);
AdfDhtmlGeoMap.prototype.$_updateImageWidthHeight$ = function $AdfDhtmlGeoMap$$$_updateImageWidthHeight$$($strCallback_themeId$$24$$, $imagePath$$1$$, $callBackFunction$$1_strUserCallback$$, $start$$21$$, $end$$6$$) {
  if ($AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$(this._themeInfoTable, $strCallback_themeId$$24$$, "isImage")) {
    var $image$$10$$ = new Image;
    $strCallback_themeId$$24$$ = "var f\x3darguments.callee;AdfDhtmlGeoMap._imageCallback('" + this.getClientId() + "', '" + $strCallback_themeId$$24$$ + "', f._image";
    null != $start$$21$$ && null != $end$$6$$ && ($strCallback_themeId$$24$$ += ", " + $start$$21$$.toString() + " , " + $end$$6$$.toString());
    $strCallback_themeId$$24$$ += ");";
    null != $callBackFunction$$1_strUserCallback$$ && ($strCallback_themeId$$24$$ += $callBackFunction$$1_strUserCallback$$);
    $callBackFunction$$1_strUserCallback$$ = new Function($strCallback_themeId$$24$$);
    $callBackFunction$$1_strUserCallback$$._image = $image$$10$$;
    $image$$10$$.onload = $callBackFunction$$1_strUserCallback$$;
    $image$$10$$.src = $imagePath$$1$$;
  }
};
AdfDhtmlGeoMap.prototype._updateImageWidthHeight = AdfDhtmlGeoMap.prototype.$_updateImageWidthHeight$;
function $JSCompiler_StaticMethods__createFOIImageHTML$$($JSCompiler_StaticMethods__createFOIImageHTML$self_inlineClass$$, $foi$$12$$, $defaultInlineStyle_resultHTML_width$$15$$, $height$$15$$, $hoverHTML$$1_isSelect$$1$$) {
  var $inlineStyle$$ = $foi$$12$$._inlineStyle;
  $JSCompiler_StaticMethods__createFOIImageHTML$self_inlineClass$$ = $foi$$12$$._inlineClass;
  var $imageHTML$$2$$ = $foi$$12$$.originalImages;
  $hoverHTML$$1_isSelect$$1$$ && ($imageHTML$$2$$ = $foi$$12$$.selectedImages);
  $hoverHTML$$1_isSelect$$1$$ = $foi$$12$$._hoverHTML;
  var $textStyle$$ = $foi$$12$$._textStyle, $textClass$$ = $foi$$12$$._textClass;
  $defaultInlineStyle_resultHTML_width$$15$$ = "background-image:url(" + $imageHTML$$2$$ + ");background-repeat:no-repeat;width:" + $defaultInlineStyle_resultHTML_width$$15$$ + "px;height:" + $height$$15$$ + "px;";
  null != $inlineStyle$$ && (";" != $inlineStyle$$.charAt($inlineStyle$$.length - 1) && ($inlineStyle$$ += ";"), $defaultInlineStyle_resultHTML_width$$15$$ = $inlineStyle$$ + $defaultInlineStyle_resultHTML_width$$15$$);
  $defaultInlineStyle_resultHTML_width$$15$$ = "\x3cdiv style\x3d'" + $defaultInlineStyle_resultHTML_width$$15$$ + "'";
  null != $JSCompiler_StaticMethods__createFOIImageHTML$self_inlineClass$$ && ($defaultInlineStyle_resultHTML_width$$15$$ += " class\x3d'" + $JSCompiler_StaticMethods__createFOIImageHTML$self_inlineClass$$ + "'");
  null != $hoverHTML$$1_isSelect$$1$$ && ($defaultInlineStyle_resultHTML_width$$15$$ = $defaultInlineStyle_resultHTML_width$$15$$ + (' onmouseover\x3d"' + ("this.style.backgroundImage\x3d'url(" + $hoverHTML$$1_isSelect$$1$$ + ")';") + '"') + (" onmouseout\x3d\"this.style.backgroundImage\x3d'url(" + $imageHTML$$2$$ + ")';\""));
  $defaultInlineStyle_resultHTML_width$$15$$ += "\x3e";
  null != $foi$$12$$.$_rowIndex$ && ($defaultInlineStyle_resultHTML_width$$15$$ += "\x3ctable width\x3d'100%' height\x3d'100%'\x3e\x3ctr\x3e\x3ctd align\x3d'center'\x3e\x3cdiv", null != $textStyle$$ && ($defaultInlineStyle_resultHTML_width$$15$$ += " style\x3d'" + $textStyle$$ + "'"), null != $textClass$$ && ($defaultInlineStyle_resultHTML_width$$15$$ += " class\x3d'" + $textClass$$ + "'"), $defaultInlineStyle_resultHTML_width$$15$$ += "\x3e" + $foi$$12$$.$_rowIndex$ + "\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");
  return $defaultInlineStyle_resultHTML_width$$15$$ += "\x3c/div\x3e";
}
AdfDhtmlGeoMap.$_htmlPointMouseOverListener$ = function $AdfDhtmlGeoMap$$_htmlPointMouseOverListener$$($point$$6$$, $foi$$13$$) {
  document.getElementById(rowId).innerHTML = hoverHTML;
  $foi$$13$$.$detachEventListener$(MVEvent.MOUSE_OVER, AdfDhtmlGeoMap.$_htmlPointMouseOverListener$);
};
$goog$exportSymbol$$("AdfDhtmlGeoMap._htmlPointMouseOverListener", AdfDhtmlGeoMap.$_htmlPointMouseOverListener$);
AdfDhtmlGeoMap.$_htmlPointMouseOutListener$ = function $AdfDhtmlGeoMap$$_htmlPointMouseOutListener$$($point$$7$$, $foi$$14$$) {
  document.getElementById(rowId).innerHTML = $foi$$14$$.$_isSelected$ ? selImageHTML : imageHTML;
  $foi$$14$$.attachEventListener(MVEvent.MOUSE_OVER, AdfDhtmlGeoMap.$_htmlPointMouseOverListener$);
};
$goog$exportSymbol$$("AdfDhtmlGeoMap._htmlPointMouseOutListener", AdfDhtmlGeoMap.$_htmlPointMouseOutListener$);
AdfDhtmlGeoMap.prototype.$_addPointFOI$ = function $AdfDhtmlGeoMap$$$_addPointFOI$$($rowId$$8$$, $pointX$$, $pointY$$, $imageHTML$$3$$, $selImageHTML$$1$$, $measure$$, $formatValue$$, $location$$21$$, $hoverHTML$$2$$, $themeId$$25$$, $category$$, $unFormatValue$$, $inlineStyle$$1$$, $inlineClass$$1$$, $textStyle$$1$$, $textClass$$1$$, $rowIndex$$11$$) {
  var $srid$$2$$ = $JSCompiler_StaticMethods__getStyleElement$$(this).getAttribute("startSRID"), $pointFOI$$10$$ = null, $isHTML$$1$$ = !$AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$(this._themeInfoTable, $themeId$$25$$, "isImage"), $hoverBehavior$$ = $AdfDhtmlGeoMapPeer$$.$_getThemeInfoValue$(this._themeInfoTable, $themeId$$25$$, "hoverBehavior"), $originalImageHTML$$ = $imageHTML$$3$$;
  null == $selImageHTML$$1$$ && ($selImageHTML$$1$$ = $imageHTML$$3$$);
  $isHTML$$1$$ || ($imageHTML$$3$$ = "\x3cdiv\x3e\x3c/div\x3e");
  null == $pointX$$ || null == $pointY$$ ? ($pointFOI$$10$$ = MVFOI.createHTMLFOI($rowId$$8$$, MVSdoGeometry.createPoint(0, 0, $srid$$2$$), $imageHTML$$3$$), $pointFOI$$10$$._isGeocoded = !0) : ($pointFOI$$10$$ = MVFOI.createHTMLFOI($rowId$$8$$, MVSdoGeometry.createPoint($pointX$$, $pointY$$, $srid$$2$$), $imageHTML$$3$$), $pointFOI$$10$$._isGeocoded = !1);
  $isHTML$$1$$ ? null != $hoverHTML$$2$$ && ($pointFOI$$10$$.setWidth(-1), $pointFOI$$10$$.setHeight(-1), $pointFOI$$10$$.attachEventListener(MVEvent.MOUSE_OVER, AdfDhtmlGeoMap.$_htmlPointMouseOverListener$), $pointFOI$$10$$.attachEventListener(MVEvent.MOUSE_OUT, AdfDhtmlGeoMap.$_htmlPointMouseOutListener$)) : ($pointFOI$$10$$.setWidth(0), $pointFOI$$10$$.setHeight(0));
  $pointFOI$$10$$.attrnames = [$measure$$, "__adf_item_Label0"];
  $pointFOI$$10$$.attrs = null == $unFormatValue$$ && null == $formatValue$$ ? null : [$unFormatValue$$, $formatValue$$];
  $pointFOI$$10$$.name = $location$$21$$;
  $pointFOI$$10$$.selectedImages = $selImageHTML$$1$$;
  $pointFOI$$10$$.originalImages = $originalImageHTML$$;
  $pointFOI$$10$$.isImage = !$isHTML$$1$$;
  $pointFOI$$10$$._isSelected = !1;
  $pointFOI$$10$$._themeID = $themeId$$25$$;
  $pointFOI$$10$$._category = $category$$;
  $pointFOI$$10$$._hoverBehavior = $hoverBehavior$$;
  $pointFOI$$10$$._originalPointX = $pointX$$;
  $pointFOI$$10$$._originalPointY = $pointY$$;
  $pointFOI$$10$$._hoverHTML = $hoverHTML$$2$$;
  $pointFOI$$10$$._inlineStyle = $inlineStyle$$1$$;
  $pointFOI$$10$$._inlineClass = $inlineClass$$1$$;
  $pointFOI$$10$$._textStyle = $textStyle$$1$$;
  $pointFOI$$10$$._textClass = $textClass$$1$$;
  $pointFOI$$10$$._rowIndex = $rowIndex$$11$$;
  "Tooltip" == $hoverBehavior$$ ? $pointFOI$$10$$.setInfoTip($location$$21$$) : "InfoWindow" == $hoverBehavior$$ && null != $unFormatValue$$ && null != $formatValue$$ && $pointFOI$$10$$.setEventListener("mouse_over", $AdfDhtmlGeoMapPeer$$.$_showInfoWindow$);
  $pointFOI$$10$$.setEventListener("mouse_click", $AdfDhtmlGeoMapPeer$$.$_FOIClick$);
  $pointFOI$$10$$.setEventListener("mouse_right_click", $AdfDhtmlGeoMapPeer$$.$_FOIClick$);
  null == this._foiTheme[$themeId$$25$$] && (this._foiTheme[$themeId$$25$$] = []);
  this._foiTheme[$themeId$$25$$].push($pointFOI$$10$$);
  $isHTML$$1$$ && this.$_mapview$.addFOI($pointFOI$$10$$);
  return $pointFOI$$10$$;
};
AdfDhtmlGeoMap.prototype._addPointFOI = AdfDhtmlGeoMap.prototype.$_addPointFOI$;
function $JSCompiler_StaticMethods__isMaxWholeImage$$($JSCompiler_StaticMethods__isMaxWholeImage$self$$, $themeId$$26$$) {
  var $themeEntry$$13$$ = $JSCompiler_StaticMethods__isMaxWholeImage$self$$._getThemeEntry($themeId$$26$$);
  return "ColorTheme" == $themeEntry$$13$$.type || ("BarChartTheme" == $themeEntry$$13$$.type || "PieChartTheme" == $themeEntry$$13$$.type) && "None" == $themeEntry$$13$$.leftClickBehavior && "None" == $themeEntry$$13$$.rightClickBehavior ? !0 : !1;
}
function $JSCompiler_StaticMethods__getThemeDefinitionElement$$($JSCompiler_StaticMethods__getThemeDefinitionElement$self$$, $themeId$$28$$) {
  for (var $themeChilds$$ = document.getElementById(AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__getThemeDefinitionElement$self$$.getClientId(), "themeList")).childNodes, $i$$53$$ = 0;$i$$53$$ < $themeChilds$$.length;$i$$53$$++) {
    if ($themeChilds$$[$i$$53$$].getAttribute("themeId") == $themeId$$28$$) {
      return $themeChilds$$[$i$$53$$];
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__getDataTable$$($dataText$$) {
  var $startIndex$$3$$ = $dataText$$.indexOf("\x3cnsdp_xml\x3e"), $endIndex$$ = $dataText$$.lastIndexOf("\x3c/nsdp_xml\x3e");
  return $dataText$$.substring($startIndex$$3$$, $endIndex$$ + 11);
}
AdfDhtmlGeoMap.prototype.$_addNSDPTheme$ = function $AdfDhtmlGeoMap$$$_addNSDPTheme$$($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$, $isAutoZoom$$, $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$, $currentlyVisible$$) {
  if (null == this.$_mapview$.getThemeBasedFOI($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$)) {
    var $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ = $JSCompiler_StaticMethods__getThemeDefinitionElement$$(this, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$), $data$$39$$ = $JSCompiler_StaticMethods__getDataTable$$($i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.innerHTML), $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = 
    $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("themeName"), $realThemeName$$1_themebasedfoi$$1$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("realThemeName"), $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("locationColumn"), 
    $themeEntry$$14$$ = this._getThemeEntry($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$), $realThemeName$$1_themebasedfoi$$1$$ = new MVThemeBasedFOI($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$, $realThemeName$$1_themebasedfoi$$1$$);
    $realThemeName$$1_themebasedfoi$$1$$.setBringToTopOnMouseOver(!0);
    $realThemeName$$1_themebasedfoi$$1$$.setEventListener("mouse_click", $AdfDhtmlGeoMapPeer$$.$_FOIClick$);
    $realThemeName$$1_themebasedfoi$$1$$.setEventListener("mouse_right_click", $AdfDhtmlGeoMapPeer$$.$_FOIClick$);
    $realThemeName$$1_themebasedfoi$$1$$.setMouseCursorStyle("pointer");
    $JSCompiler_StaticMethods__isMaxWholeImage$$(this, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$) && $realThemeName$$1_themebasedfoi$$1$$.setMaxWholeImageLevel(this.$_baseMap$.config.zoomLevels.length - 1 - 2);
    if (null != $data$$39$$ && 0 <= $data$$39$$.indexOf("nsdp_xml")) {
      var $nsdpInfo$$ = new MVNSDP("defaultNSDP");
      $nsdpInfo$$.setTheme($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$);
      $nsdpInfo$$.setKeyColumn($_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$);
      $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = {};
      $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$.xml = $data$$39$$;
      $nsdpInfo$$.setParameters($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$);
      $realThemeName$$1_themebasedfoi$$1$$.setRenderingStyle($bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$);
      $themeEntry$$14$$.nsdp = $nsdpInfo$$;
    }
    $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = null;
    if ("ColorTheme" == $themeEntry$$14$$.type) {
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("colors").split(";");
      $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("minValues").split(";");
      for (var $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("maxValues").split(";"), $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("opacity"), 
      $_selectionFillColor$$inline_428_bucketLength$$inline_404$$ = $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.length, $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ = [], $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = [], $i$$inline_407_selbarStyle$$inline_429$$ = 
      0;$i$$inline_407_selbarStyle$$inline_429$$ < $_selectionFillColor$$inline_428_bucketLength$$inline_404$$;$i$$inline_407_selbarStyle$$inline_429$$++) {
        var $colorStyleName$$inline_408$$ = "colorStyle" + $i$$inline_407_selbarStyle$$inline_429$$.toString();
        colorStyle = new MVStyleColor($colorStyleName$$inline_408$$, $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$[$i$$inline_407_selbarStyle$$inline_429$$].toString(), "000000");
        $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$[$i$$inline_407_selbarStyle$$inline_429$$] = new MVNumericRangedBucket(parseFloat($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$[$i$$inline_407_selbarStyle$$inline_429$$]), parseFloat($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$[$i$$inline_407_selbarStyle$$inline_429$$]), 
        $colorStyleName$$inline_408$$, "label");
        colorStyle.setFillOpacity($barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$);
        $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.push(colorStyle);
      }
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = new MVBucketSeries("SCHEMA_CUSTOM");
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.setBuckets($_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$);
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = new MVBucketStyle("BUCKETCOLOR", $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$);
      $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.push($bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$);
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $JSCompiler_StaticMethods__getStyleElement$$(this);
      $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = "ffff00";
      $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = 255;
      null != $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionStrokeColor") && ($_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionStrokeColor"));
      null != $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionFillColor") && ($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionFillColor"));
      null != $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionOpaque") && ($_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = parseInt($bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.getAttribute("selectionOpaque")));
      null != $themeEntry$$14$$ && ($themeEntry$$14$$.selectionStyle = new MVStyleColor("BUCKETCOLOR", $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$), $themeEntry$$14$$.selectionStyle.setFillOpacity($_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ / 
      100), $themeEntry$$14$$.selectionStyle.setStrokeOpacity(255));
      $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$;
    } else {
      if ("BarChartTheme" == $themeEntry$$14$$.type) {
        $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("barWidth");
        $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("barHeight");
        $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("barColors").split(";");
        $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("showXAxis");
        $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = [];
        for ($barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = 0;$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ < $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.length;$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$++) {
          $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$[$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$] = new MVBarInfo("barStyle" + $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$.toString(), $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$[$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$])
          ;
        }
        $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = new MVBarChartStyle("BARSTYLE", $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$, $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$);
        $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$.setShowXAxis($i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$);
        $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = [];
        $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$.push($barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$);
        $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = $JSCompiler_StaticMethods__getStyleElement$$(this);
        $_selectionFillColor$$inline_428_bucketLength$$inline_404$$ = "ffff00";
        null != $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$.getAttribute("selectionFillColor") && ($_selectionFillColor$$inline_428_bucketLength$$inline_404$$ = $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$.getAttribute("selectionFillColor"));
        $i$$inline_407_selbarStyle$$inline_429$$ = [];
        for ($barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = 0;$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ < $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.length;$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$++) {
          $i$$inline_407_selbarStyle$$inline_429$$[$barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$] = new MVBarInfo("barStyle" + $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$.toString(), $_selectionFillColor$$inline_428_bucketLength$$inline_404$$);
        }
        null != $themeEntry$$14$$ && ($themeEntry$$14$$.selectionStyle = new MVBarChartStyle("BARSTYLE", $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$, $i$$inline_407_selbarStyle$$inline_429$$), $themeEntry$$14$$.selectionStyle.setShowXAxis($i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$));
        $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$;
      } else {
        if ("PieChartTheme" == $themeEntry$$14$$.type) {
          $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("sliceColor").split(";");
          $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ = $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$.getAttribute("pieRadius");
          $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = [];
          for ($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = 0;$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ < $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.length;$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$++) {
            $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$[$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$] = new MVPieSlice("pieStyle" + $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.toString(), 
            $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$[$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$]);
          }
          $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = new MVPieChartStyle("PIESTYLE", $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$, $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$);
          $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$ = [];
          $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$.push($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$);
          $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = $JSCompiler_StaticMethods__getStyleElement$$(this);
          $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = "ffff00";
          null != $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.getAttribute("selectionFillColor") && ($_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$ = $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.getAttribute("selectionFillColor"));
          $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$ = [];
          for ($_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ = 0;$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$ < $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.length;$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$++) {
            $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$[$_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$] = new MVPieSlice("selPieStyle" + $_selectionFillColor$$inline_413_barColors$$inline_421_i$$inline_437_mapStyleElem$$inline_440_maxValues$$inline_402_pieChartStyle$$inline_438_themeName$$10$$.toString(), $_selectionFillColor$$inline_441__selectionOpaque$$inline_414_barStyle$$inline_423_bucketStyles$$inline_406_keyColumn$$1_styleArray$$inline_426$$)
            ;
          }
          null != $themeEntry$$14$$ && ($themeEntry$$14$$.selectionStyle = new MVPieChartStyle("PIESTYLE", $i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$, $barChartStyle$$inline_425_i$$inline_424_mapStyleElem$$inline_427_opacity$$inline_403_selSliceStyle$$inline_442$$));
          $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$ = $_selectionStrokeColor$$inline_412_barHeight$$inline_420_minValues$$inline_401_ps$$1_sliceStyle$$inline_436_styleArray$$inline_439_themeId$$29$$;
        }
      }
    }
    if (null != $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$) {
      for ($i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ = 0;$i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$ < $bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$.length;$i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$++) {
        $realThemeName$$1_themebasedfoi$$1$$.addStyle($bSeries$$inline_409_barWidth$$inline_419_bucketStyle$$inline_410_colors$$inline_400_mapStyleElem$$inline_411_renderStyleName_sliceColors$$inline_434_styles$$2$$[$i$$54_pieRadius$$inline_435_showXAxis$$inline_422_styles$$inline_405_themeElem$$5$$]);
      }
    }
    "centerOnly" == $isAutoZoom$$ ? $realThemeName$$1_themebasedfoi$$1$$.setBoundingTheme(!0, !0) : "zoom" == $isAutoZoom$$ && $realThemeName$$1_themebasedfoi$$1$$.setBoundingTheme(!0);
    $realThemeName$$1_themebasedfoi$$1$$.setEventListener("after_refresh", AdfDhtmlGeoMap.$_themeDone$);
    null != $data$$39$$ && $realThemeName$$1_themebasedfoi$$1$$.setNSDP($nsdpInfo$$);
    $realThemeName$$1_themebasedfoi$$1$$.enableImageCaching(!1);
    this.$_themeBasedFOIs$.push($realThemeName$$1_themebasedfoi$$1$$);
    $currentlyVisible$$ && ($JSCompiler_StaticMethods__setThemeEntryIndex$$(this, $themeEntry$$14$$, $realThemeName$$1_themebasedfoi$$1$$), this.$_mapview$.addThemeBasedFOI($realThemeName$$1_themebasedfoi$$1$$));
  }
};
AdfDhtmlGeoMap.prototype._addNSDPTheme = AdfDhtmlGeoMap.prototype.$_addNSDPTheme$;
function $JSCompiler_StaticMethods__formatValue$$($JSCompiler_StaticMethods__formatValue$self$$, $label$$12$$, $value$$112$$) {
  if (isNaN(parseFloat($value$$112$$)) || 0 == $value$$112$$) {
    return "MILES" == $JSCompiler_StaticMethods__formatValue$self$$.$_unit$ ? $label$$12$$ == $AdfDhtmlGeoMapPeer$$.$_AREA$ ? "0 " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_MILES$ : "0 " + $AdfDhtmlGeoMapPeer$$.$_MILES$ : $label$$12$$ == $AdfDhtmlGeoMapPeer$$.$_AREA$ ? "0 " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_KILOMETERS$ : "0 " + $AdfDhtmlGeoMapPeer$$.$_METERS$;
  }
  if ($label$$12$$ == $AdfDhtmlGeoMapPeer$$.$_DISTANCE$ || $label$$12$$ == $AdfDhtmlGeoMapPeer$$.$_RADIUS$) {
    if ("MILES" == $JSCompiler_StaticMethods__formatValue$self$$.$_unit$) {
      if (1609.344 <= $value$$112$$) {
        return msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round(6.214E-4 * $value$$112$$)), msg + " " + $AdfDhtmlGeoMapPeer$$.$_MILES$;
      }
      msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round(3.2808 * $value$$112$$));
      return msg + " " + $AdfDhtmlGeoMapPeer$$.$_FEET$;
    }
    if (1E3 < $value$$112$$) {
      return msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$ / 1E3)), msg + " " + $AdfDhtmlGeoMapPeer$$.$_KILOMETERS$;
    }
    msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$));
    return msg + " " + $AdfDhtmlGeoMapPeer$$.$_METERS$;
  }
  if ($label$$12$$ == $AdfDhtmlGeoMapPeer$$.$_AREA$) {
    if ("MILES" == $JSCompiler_StaticMethods__formatValue$self$$.$_unit$) {
      if (2589988 <= $value$$112$$) {
        return msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$ / 2589988)), msg + " " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_MILES$;
      }
      if (4046.8564 <= $value$$112$$) {
        return msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$ / 4046.8564)), msg + " " + $AdfDhtmlGeoMapPeer$$.$_ACRES$;
      }
      msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round(10.7639 * $value$$112$$));
      return msg + " " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_FEET$;
    }
    if (1E6 < $value$$112$$) {
      return msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$ / 1E6)), msg + " " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_KILOMETERS$;
    }
    msg = $AdfDhtmlGeoMapPeer$$.$_formatMessage$(Math.round($value$$112$$));
    return msg + " " + $AdfDhtmlGeoMapPeer$$.$_SQUARE_METERS$;
  }
}
function $JSCompiler_StaticMethods__displayDistanceArea$$($JSCompiler_StaticMethods__displayDistanceArea$self$$, $result$$4_showHide$$, $label$$13$$, $value$$113$$) {
  var $distAreaElemId$$2_distAreaStartElem$$1$$ = $JSCompiler_StaticMethods__displayDistanceArea$self$$.getClientId() + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceArea", $distAreaStartId$$1$$ = $JSCompiler_StaticMethods__displayDistanceArea$self$$.getClientId() + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceAreaStart", $distAreaEndElem_distAreaEndId$$ = $JSCompiler_StaticMethods__displayDistanceArea$self$$.getClientId() + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "distanceAreaEnd", 
  $distanceAreaElem$$2$$ = document.getElementById($distAreaElemId$$2_distAreaStartElem$$1$$);
  null == $distanceAreaElem$$2$$ && $result$$4_showHide$$ && ($JSCompiler_StaticMethods__createInfoArea$$($JSCompiler_StaticMethods__displayDistanceArea$self$$), $distanceAreaElem$$2$$ = document.getElementById($distAreaElemId$$2_distAreaStartElem$$1$$));
  $distAreaElemId$$2_distAreaStartElem$$1$$ = document.getElementById($distAreaStartId$$1$$);
  $distAreaEndElem_distAreaEndId$$ = document.getElementById($distAreaEndElem_distAreaEndId$$);
  $result$$4_showHide$$ ? ($label$$13$$ == $AdfDhtmlGeoMapPeer$$.$_DISTANCE$ || $label$$13$$ == $AdfDhtmlGeoMapPeer$$.$_RADIUS$ ? imgPath = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__displayDistanceArea$self$$).getAttribute("DISTANCE_IMAGE_PATH") : $label$$13$$ == $AdfDhtmlGeoMapPeer$$.$_AREA$ && (imgPath = $JSCompiler_StaticMethods__getStyleElement$$($JSCompiler_StaticMethods__displayDistanceArea$self$$).getAttribute("AREA_IMAGE_PATH")), $result$$4_showHide$$ = "\x3cimg src\x3d'" + 
  imgPath, $result$$4_showHide$$ = $result$$4_showHide$$ + "' style\x3d'margin-top:1px;margin-right:4px;vertical-align:text-top'/\x3e" + ($label$$13$$ + ":") + ("\x26nbsp;\x3cfont color\x3d'#FFFFFF'\x3e" + $JSCompiler_StaticMethods__formatValue$$($JSCompiler_StaticMethods__displayDistanceArea$self$$, $label$$13$$, $value$$113$$) + "\x3c/font\x3e\x26nbsp;\x26nbsp;"), null != $distanceAreaElem$$2$$ && ($distanceAreaElem$$2$$.style.display = "block", $distanceAreaElem$$2$$.innerHTML = $result$$4_showHide$$.toString()), 
  null != $distAreaElemId$$2_distAreaStartElem$$1$$ && null != $distAreaEndElem_distAreaEndId$$ && ($distAreaElemId$$2_distAreaStartElem$$1$$.style.display = "block", $distAreaEndElem_distAreaEndId$$.style.display = "block")) : (null != $distanceAreaElem$$2$$ && ($distanceAreaElem$$2$$.style.display = "none", $distanceAreaElem$$2$$.style.borderWidth = "0px", $distanceAreaElem$$2$$.innerHTML = ""), null != $distAreaElemId$$2_distAreaStartElem$$1$$ && null != $distAreaEndElem_distAreaEndId$$ && ($distAreaElemId$$2_distAreaStartElem$$1$$.style.display = 
  "none", $distAreaEndElem_distAreaEndId$$.style.display = "none"));
  $AdfDhtmlGeoMapPeer$$.$_adjustInfoWindowWidth$($JSCompiler_StaticMethods__displayDistanceArea$self$$.getClientId());
}
function $JSCompiler_StaticMethods_destroy$$($JSCompiler_StaticMethods_destroy$self$$) {
  $JSCompiler_StaticMethods_destroy$self$$.$_selectFOI$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_selectTheme$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_activeTheme$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_rectangleTool$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_circleTool$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_redlineTool$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_measureTool$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_areaTool$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_themeBasedFOIs$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_baseMap$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_satelliteMap$ = null;
  $JSCompiler_StaticMethods_destroy$self$$.$_hybridMap$ = null;
  $JSCompiler_StaticMethods_destroy$self$$._themeInfoTable = null;
  if (null != $JSCompiler_StaticMethods_destroy$self$$._foiTheme) {
    for (var $i$$56$$ = 0;$i$$56$$ < $JSCompiler_StaticMethods_destroy$self$$._foiTheme.length;$i$$56$$++) {
      $JSCompiler_StaticMethods_destroy$self$$._foiTheme[$i$$56$$] = null;
    }
  }
  $JSCompiler_StaticMethods_destroy$self$$._foiTheme = null;
}
;