AdfUIComponents.createComponentClass("AdfDhtmlGeoMapToolbar", {componentType:"oracle.dss.adf.geoMap.GeoMapToolbar", propertyKeys:[{name:"id", type:"String"}, {name:"mapId", type:"String"}, {name:"clickButton", type:"String"}], namingContainer:!0, superclass:AdfUIComponent});
var $AdfDhtmlGeoMapToolbarPeer$$ = AdfRichUIPeer.createPeerClass(AdfRichUIPeer, "AdfDhtmlGeoMapToolbarPeer", !0);
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer", $AdfDhtmlGeoMapToolbarPeer$$);
AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.geoMap.GeoMapToolbar", "AdfDhtmlGeoMapToolbarPeer");
$AdfDhtmlGeoMapToolbarPeer$$.InitSubclass = function $$AdfDhtmlGeoMapToolbarPeer$$$InitSubclass$() {
  AdfObject.ensureClassInitialization($AdfDhtmlGeoMapToolbarPeer$$);
  AdfRichUIPeer.addComponentEventHandlers(this, AdfUIInputEvent.CLICK_EVENT_TYPE);
};
$AdfDhtmlGeoMapToolbarPeer$$.$_initOptions$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_initOptions$$($selectId$$, $shownList$$) {
  var $elem$$7$$ = document.getElementById(AdfRichUIPeer.CreateSubId($selectId$$, "content"));
  if (null != $elem$$7$$ && null != $shownList$$) {
    $elem$$7$$.$_labelArray$ = [];
    for (var $allFalse$$ = !0, $curIndex$$ = 0, $selIndex$$ = $elem$$7$$.selectedIndex, $i$$57$$ = 0;$i$$57$$ < $shownList$$.length;$i$$57$$++) {
      $elem$$7$$.$_labelArray$[$i$$57$$] = $elem$$7$$.options[$curIndex$$].text, $selIndex$$ == $i$$57$$ && ($elem$$7$$.options.selected = !0), $shownList$$[$i$$57$$] ? ($curIndex$$++, $allFalse$$ = !1) : $elem$$7$$.remove($curIndex$$);
    }
    if ($allFalse$$) {
      for (;0 < $elem$$7$$.options.length;) {
        $elem$$7$$.remove(0);
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._initOptions", $AdfDhtmlGeoMapToolbarPeer$$.$_initOptions$);
$AdfDhtmlGeoMapToolbarPeer$$.$_updateMenu$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_updateMenu$$($evt$$33_map$$5_mapId$$23$$) {
  var $ovMenuComp_ovMenuId_source$$68$$ = $evt$$33_map$$5_mapId$$23$$.getSource();
  $evt$$33_map$$5_mapId$$23$$ = $evt$$33_map$$5_mapId$$23$$.getSource().getProperty("mapId");
  $ovMenuComp_ovMenuId_source$$68$$ = $ovMenuComp_ovMenuId_source$$68$$.getProperty("overviewMapMenuId");
  $ovMenuComp_ovMenuId_source$$68$$ = AdfPage.PAGE.findComponent($ovMenuComp_ovMenuId_source$$68$$);
  $evt$$33_map$$5_mapId$$23$$ = AdfPage.PAGE.findComponent($evt$$33_map$$5_mapId$$23$$);
  null != $ovMenuComp_ovMenuId_source$$68$$ && null != $evt$$33_map$$5_mapId$$23$$ && $ovMenuComp_ovMenuId_source$$68$$.setSelected(!$evt$$33_map$$5_mapId$$23$$.$_overviewMap$.isCollapsed());
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._updateMenu", $AdfDhtmlGeoMapToolbarPeer$$.$_updateMenu$);
$AdfDhtmlGeoMapToolbarPeer$$.$_toggleOverviewMap$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_toggleOverviewMap$$($evt$$34_map$$6_mapId$$24$$) {
  var $source$$69$$ = $evt$$34_map$$6_mapId$$24$$.getSource();
  $evt$$34_map$$6_mapId$$24$$ = $evt$$34_map$$6_mapId$$24$$.getSource().getProperty("mapId");
  $evt$$34_map$$6_mapId$$24$$ = AdfPage.PAGE.findComponent($evt$$34_map$$6_mapId$$24$$);
  $source$$69$$.getSelected() ? $evt$$34_map$$6_mapId$$24$$.$_overviewMap$.$minimizedIcon$.parentNode.click() : $evt$$34_map$$6_mapId$$24$$.$_overviewMap$.collapse();
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._toggleOverviewMap", $AdfDhtmlGeoMapToolbarPeer$$.$_toggleOverviewMap$);
$AdfDhtmlGeoMapToolbarPeer$$.$_updateNavigationBar$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_updateNavigationBar$$($evt$$35$$) {
  var $map$$7_mapId$$25$$ = $evt$$35$$.getSource().getProperty("mapId"), $map$$7_mapId$$25$$ = AdfPage.PAGE.findComponent($map$$7_mapId$$25$$);
  $evt$$35$$.getSource().getSelected() ? $JSCompiler_StaticMethods__refreshZoombar$$($map$$7_mapId$$25$$) : null != $map$$7_mapId$$25$$.$_navigatorDecoration$ && $map$$7_mapId$$25$$.$_navigatorDecoration$.setVisible(!1);
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._updateNavigationBar", $AdfDhtmlGeoMapToolbarPeer$$.$_updateNavigationBar$);
$AdfDhtmlGeoMapToolbarPeer$$.$_updateCheckBox$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_updateCheckBox$$($evt$$36_newValueArray$$) {
  var $source$$70$$ = $evt$$36_newValueArray$$.getSource();
  if (null != $source$$70$$.getProperty("themeIds") && null != $source$$70$$.getProperty("comboBoxId")) {
    var $themeIds$$1$$ = $source$$70$$.getProperty("themeIds").split(" "), $selChoiceId_selThemeId$$ = $source$$70$$.getProperty("comboBoxId"), $selChoice$$ = AdfPage.PAGE.findComponent($selChoiceId_selThemeId$$), $selChoiceId_selThemeId$$ = $selChoice$$.getProperty("selThemeId"), $arr$$8$$ = null;
    if ($evt$$36_newValueArray$$.getNewValue()) {
      if ($arr$$8$$ = $selChoice$$.getValue(), null == $arr$$8$$ || 0 == $arr$$8$$.length) {
        $source$$70$$.setValue(!1);
        return;
      }
    } else {
      $arr$$8$$ = [];
    }
    $evt$$36_newValueArray$$ = $arr$$8$$;
    1 == $arr$$8$$.length && ($evt$$36_newValueArray$$ = [], $evt$$36_newValueArray$$.push($arr$$8$$));
    $AdfDhtmlGeoMapToolbarPeer$$.$_updateActiveTheme$($themeIds$$1$$, $selChoiceId_selThemeId$$, $evt$$36_newValueArray$$);
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._updateCheckBox", $AdfDhtmlGeoMapToolbarPeer$$.$_updateCheckBox$);
$AdfDhtmlGeoMapToolbarPeer$$.$_updateSelectedOneChoice$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_updateSelectedOneChoice$$($evt$$37$$) {
  var $checkBox_checkBoxId_newValueArray$$1_source$$71$$ = $evt$$37$$.getSource();
  if (null != $checkBox_checkBoxId_newValueArray$$1_source$$71$$.getProperty("themeIds") && null != $checkBox_checkBoxId_newValueArray$$1_source$$71$$.getProperty("selThemeId")) {
    var $themeIds$$2$$ = $checkBox_checkBoxId_newValueArray$$1_source$$71$$.getProperty("themeIds").split(" "), $selThemeId$$1$$ = $checkBox_checkBoxId_newValueArray$$1_source$$71$$.getProperty("selThemeId"), $checkBox_checkBoxId_newValueArray$$1_source$$71$$ = $checkBox_checkBoxId_newValueArray$$1_source$$71$$.getProperty("checkBoxId"), $checkBox_checkBoxId_newValueArray$$1_source$$71$$ = AdfPage.PAGE.findComponent($checkBox_checkBoxId_newValueArray$$1_source$$71$$);
    null == $evt$$37$$.getNewValue() || 0 == $evt$$37$$.getNewValue().length ? $checkBox_checkBoxId_newValueArray$$1_source$$71$$.setValue(!1) : $checkBox_checkBoxId_newValueArray$$1_source$$71$$.setValue(!0);
    $checkBox_checkBoxId_newValueArray$$1_source$$71$$ = $evt$$37$$.getNewValue();
    1 == $evt$$37$$.getNewValue().length && ($checkBox_checkBoxId_newValueArray$$1_source$$71$$ = [], $checkBox_checkBoxId_newValueArray$$1_source$$71$$.push($evt$$37$$.getNewValue()));
    $AdfDhtmlGeoMapToolbarPeer$$.$_updateActiveTheme$($themeIds$$2$$, $selThemeId$$1$$, $checkBox_checkBoxId_newValueArray$$1_source$$71$$);
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._updateSelectedOneChoice", $AdfDhtmlGeoMapToolbarPeer$$.$_updateSelectedOneChoice$);
$AdfDhtmlGeoMapToolbarPeer$$.$_updateActiveTheme$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_updateActiveTheme$$($optionIndex_sourceThemeIds$$, $allThemeIds_selThemeId$$2$$, $allValues_curOption_curValue$$) {
  var $elem$$8$$ = document.getElementById(AdfRichUIPeer.CreateSubId($allThemeIds_selThemeId$$2$$, "content"));
  if (null != $elem$$8$$) {
    $allThemeIds_selThemeId$$2$$ = AdfPage.PAGE.findComponent($allThemeIds_selThemeId$$2$$).getProperty("themeIds").split(" ");
    var $hashTable$$1$$ = [];
    for (i = 0;i < $optionIndex_sourceThemeIds$$.length;i++) {
      $hashTable$$1$$[$optionIndex_sourceThemeIds$$[i]] = "UnSelect";
    }
    for (i = 0;i < $allValues_curOption_curValue$$.length;i++) {
      $hashTable$$1$$[$optionIndex_sourceThemeIds$$[parseInt($allValues_curOption_curValue$$[i])]] = "Select";
    }
    $optionIndex_sourceThemeIds$$ = $elem$$8$$.options.length - 1;
    for (i = $allThemeIds_selThemeId$$2$$.length - 1;0 <= i;i--) {
      $allValues_curOption_curValue$$ = $allValues_curOption_curValue$$ = null;
      0 <= $optionIndex_sourceThemeIds$$ && ($allValues_curOption_curValue$$ = $elem$$8$$.options[$optionIndex_sourceThemeIds$$], $allValues_curOption_curValue$$ = parseInt($allValues_curOption_curValue$$.value));
      if ("UnSelect" == $hashTable$$1$$[$allThemeIds_selThemeId$$2$$[i]] && 0 <= $optionIndex_sourceThemeIds$$) {
        $allValues_curOption_curValue$$ == i && $elem$$8$$.remove($optionIndex_sourceThemeIds$$);
      } else {
        if ("Select" == $hashTable$$1$$[$allThemeIds_selThemeId$$2$$[i]] && (0 > $optionIndex_sourceThemeIds$$ || $allValues_curOption_curValue$$ != i)) {
          var $option$$2$$ = document.createElement("OPTION");
          $option$$2$$.text = $elem$$8$$.$_labelArray$[i];
          $option$$2$$.label = $elem$$8$$.$_labelArray$[i];
          $option$$2$$.value = i.toString();
          AdfAgent.getAgent().getPlatform() == AdfAgent.IE_PLATFORM ? 0 > $optionIndex_sourceThemeIds$$ ? $elem$$8$$.options.add($option$$2$$, 0) : $elem$$8$$.options.add($option$$2$$, $optionIndex_sourceThemeIds$$ + 1) : $elem$$8$$.add($option$$2$$, $elem$$8$$.options[$optionIndex_sourceThemeIds$$ + 1]);
        }
      }
      i == $allValues_curOption_curValue$$ && $optionIndex_sourceThemeIds$$--;
    }
  }
};
$AdfDhtmlGeoMapToolbarPeer$$.$_getComboBox$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_getComboBox$$($comboId$$) {
  return null == $comboId$$ ? null : AdfPage.PAGE.findComponent($comboId$$);
};
$AdfDhtmlGeoMapToolbarPeer$$.$_themeOpened$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_themeOpened$$($elem$$9_selThemeComboId$$, $combo0Id_elemOptions$$, $combo1Id_i$$58$$, $combo2Id$$, $combo3Id$$) {
  var $combo$$1$$ = [];
  $combo$$1$$[0] = $AdfDhtmlGeoMapToolbarPeer$$.$_getComboBox$($combo0Id_elemOptions$$);
  $combo$$1$$[1] = $AdfDhtmlGeoMapToolbarPeer$$.$_getComboBox$($combo1Id_i$$58$$);
  $combo$$1$$[2] = $AdfDhtmlGeoMapToolbarPeer$$.$_getComboBox$($combo2Id$$);
  $combo$$1$$[3] = $AdfDhtmlGeoMapToolbarPeer$$.$_getComboBox$($combo3Id$$);
  if (null != $elem$$9_selThemeComboId$$) {
    AdfPage.PAGE.findComponent($elem$$9_selThemeComboId$$);
    $elem$$9_selThemeComboId$$ = document.getElementById(AdfRichUIPeer.CreateSubId($elem$$9_selThemeComboId$$, "content"));
    $combo0Id_elemOptions$$ = $elem$$9_selThemeComboId$$.options;
    $elem$$9_selThemeComboId$$.$_originalOptions$ = [];
    for ($combo1Id_i$$58$$ = 0;$combo1Id_i$$58$$ < $elem$$9_selThemeComboId$$.options.length;$combo1Id_i$$58$$++) {
      $elem$$9_selThemeComboId$$.$_originalOptions$.push($combo0Id_elemOptions$$[$combo1Id_i$$58$$]);
    }
    for ($combo1Id_i$$58$$ = $elem$$9_selThemeComboId$$.options.length = 0;3 > $combo1Id_i$$58$$;$combo1Id_i$$58$$++) {
      null != $combo$$1$$[$combo1Id_i$$58$$] && ($combo$$1$$[$combo1Id_i$$58$$].getSelectItems(), $elem$$9_selThemeComboId$$.add($elem$$9_selThemeComboId$$.$_originalOptions$[$combo1Id_i$$58$$], null));
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._themeOpened", $AdfDhtmlGeoMapToolbarPeer$$.$_themeOpened$);
$AdfDhtmlGeoMapToolbarPeer$$.$_showThemeDialog$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_showThemeDialog$$($evt$$38_themeDialogId$$) {
  $evt$$38_themeDialogId$$ = $evt$$38_themeDialogId$$.getSource().getProperty("dialogID");
  AdfPage.PAGE.findComponent($evt$$38_themeDialogId$$).show();
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._showThemeDialog", $AdfDhtmlGeoMapToolbarPeer$$.$_showThemeDialog$);
$AdfDhtmlGeoMapToolbarPeer$$.$_hideThemesOnSelection$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_hideThemesOnSelection$$($map$$8$$, $selectBoxId$$) {
  var $selectBox_visibleNSDPThemes$$ = AdfPage.PAGE.findComponent($selectBoxId$$);
  if (null != $selectBox_visibleNSDPThemes$$) {
    var $checkBoxId$$1_valueArray$$6$$ = $selectBox_visibleNSDPThemes$$.getProperty("checkBoxId"), $checkBox$$1_i$$59$$ = AdfPage.PAGE.findComponent($checkBoxId$$1_valueArray$$6$$);
    if (null != $checkBox$$1_i$$59$$) {
      var $checkBoxId$$1_valueArray$$6$$ = null, $themeIds$$3$$ = $selectBox_visibleNSDPThemes$$.getProperty("themeIds").split(" ");
      $checkBox$$1_i$$59$$.getValue() && ($checkBoxId$$1_valueArray$$6$$ = $selectBox_visibleNSDPThemes$$.getValue(), null != $checkBoxId$$1_valueArray$$6$$ && 1 == $checkBoxId$$1_valueArray$$6$$.length && ($checkBoxId$$1_valueArray$$6$$ = [], $checkBoxId$$1_valueArray$$6$$.push($selectBox_visibleNSDPThemes$$.getValue())));
      $selectBox_visibleNSDPThemes$$ = [];
      for ($checkBox$$1_i$$59$$ = 0;$checkBox$$1_i$$59$$ < $themeIds$$3$$.length;$checkBox$$1_i$$59$$++) {
        for (var $bMatch$$ = !1, $j$$9_themeEntry$$15$$ = 0;null != $checkBoxId$$1_valueArray$$6$$ && $j$$9_themeEntry$$15$$ < $checkBoxId$$1_valueArray$$6$$.length;$j$$9_themeEntry$$15$$++) {
          if ($checkBox$$1_i$$59$$ == parseInt($checkBoxId$$1_valueArray$$6$$[$j$$9_themeEntry$$15$$])) {
            $bMatch$$ = !0;
            break;
          }
        }
        $j$$9_themeEntry$$15$$ = $map$$8$$._getThemeEntry($themeIds$$3$$[$checkBox$$1_i$$59$$]);
        null != $j$$9_themeEntry$$15$$ && $j$$9_themeEntry$$15$$.loaded && ("PointTheme" != $j$$9_themeEntry$$15$$.type ? $bMatch$$ ? $selectBox_visibleNSDPThemes$$.push($j$$9_themeEntry$$15$$) : ($JSCompiler_StaticMethods__setNSDPThemeVisible$$($map$$8$$, $j$$9_themeEntry$$15$$, !1), $j$$9_themeEntry$$15$$.toolbarVisible = !1) : ($JSCompiler_StaticMethods__setPointThemeVisible$$($map$$8$$, $j$$9_themeEntry$$15$$, $bMatch$$), $j$$9_themeEntry$$15$$.toolbarVisible = $bMatch$$));
      }
      for ($checkBox$$1_i$$59$$ = 0;$checkBox$$1_i$$59$$ < $selectBox_visibleNSDPThemes$$.length;$checkBox$$1_i$$59$$++) {
        $JSCompiler_StaticMethods__setNSDPThemeVisible$$($map$$8$$, $selectBox_visibleNSDPThemes$$[$checkBox$$1_i$$59$$], !0), $selectBox_visibleNSDPThemes$$[$checkBox$$1_i$$59$$].toolbarVisible = !0;
      }
      $JSCompiler_StaticMethods__loadTheme$$($map$$8$$.getPeer(), $map$$8$$, !1);
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._hideThemesOnSelection", $AdfDhtmlGeoMapToolbarPeer$$.$_hideThemesOnSelection$);
$AdfDhtmlGeoMapToolbarPeer$$.$_themeDialogOK$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_themeDialogOK$$($activeThemeComboId_activeThemeSelect_evt$$39$$) {
  if ("ok" == $activeThemeComboId_activeThemeSelect_evt$$39$$.getOutcome() && null != $activeThemeComboId_activeThemeSelect_evt$$39$$.getCurrentTarget() && null != $activeThemeComboId_activeThemeSelect_evt$$39$$.getCurrentTarget().getParent()) {
    for (var $map$$9$$ = AdfPage.PAGE.findComponent($activeThemeComboId_activeThemeSelect_evt$$39$$.getCurrentTarget().getProperty("mapId")), $allActiveThemeIds_comboBoxIds$$ = $activeThemeComboId_activeThemeSelect_evt$$39$$.getCurrentTarget().getProperty("comboBoxIds").split(" "), $i$$60$$ = 0;$i$$60$$ < $allActiveThemeIds_comboBoxIds$$.length;$i$$60$$++) {
      $AdfDhtmlGeoMapToolbarPeer$$.$_hideThemesOnSelection$($map$$9$$, $allActiveThemeIds_comboBoxIds$$[$i$$60$$]);
    }
    $activeThemeComboId_activeThemeSelect_evt$$39$$ = $activeThemeComboId_activeThemeSelect_evt$$39$$.getCurrentTarget().getProperty("activeThemeComboId");
    $activeThemeComboId_activeThemeSelect_evt$$39$$ = AdfPage.PAGE.findComponent($activeThemeComboId_activeThemeSelect_evt$$39$$);
    $allActiveThemeIds_comboBoxIds$$ = $activeThemeComboId_activeThemeSelect_evt$$39$$.getProperty("themeIds").split(" ");
    null != $activeThemeComboId_activeThemeSelect_evt$$39$$.getValue() ? $map$$9$$.$setActiveTheme$($allActiveThemeIds_comboBoxIds$$[parseInt($activeThemeComboId_activeThemeSelect_evt$$39$$.getValue())]) : $map$$9$$.$setActiveTheme$(null);
  }
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._themeDialogOK", $AdfDhtmlGeoMapToolbarPeer$$.$_themeDialogOK$);
$AdfDhtmlGeoMapToolbarPeer$$.$_closeLegendListener$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_closeLegendListener$$() {
  var $legendElem_legendElemId_menuComp_menuId$$1$$ = this.getProperty("menuItemId"), $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$ = this.getProperty("buttonId"), $dialogId_popup$$2$$ = this.getProperty("dialogId"), $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$ = AdfPage.PAGE.findComponent($buttonComp_legendDiv_mapId$$26_toolbarButtonId$$), $legendElem_legendElemId_menuComp_menuId$$1$$ = AdfPage.PAGE.findComponent($legendElem_legendElemId_menuComp_menuId$$1$$), $dialogId_popup$$2$$ = AdfPage.PAGE.findComponent($dialogId_popup$$2$$);
  null != $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$ && $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$.setSelected(!1);
  null != $legendElem_legendElemId_menuComp_menuId$$1$$ && $legendElem_legendElemId_menuComp_menuId$$1$$.setSelected(!1);
  $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$ = this.getProperty("mapId");
  $legendElem_legendElemId_menuComp_menuId$$1$$ = AdfRichUIPeer.CreateSubId($buttonComp_legendDiv_mapId$$26_toolbarButtonId$$, "hiddenLegend");
  $legendElem_legendElemId_menuComp_menuId$$1$$ = document.getElementById($legendElem_legendElemId_menuComp_menuId$$1$$);
  $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$ = document.getElementById($buttonComp_legendDiv_mapId$$26_toolbarButtonId$$);
  null != $legendElem_legendElemId_menuComp_menuId$$1$$ && ($legendElem_legendElemId_menuComp_menuId$$1$$.style.display = "none", $buttonComp_legendDiv_mapId$$26_toolbarButtonId$$.appendChild($legendElem_legendElemId_menuComp_menuId$$1$$));
  $dialogId_popup$$2$$.removeEventListener("popupClosed", $dialogId_popup$$2$$.$_legendCallback$);
  $dialogId_popup$$2$$.$_legendCallback$ = null;
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._closeLegendListener", $AdfDhtmlGeoMapToolbarPeer$$.$_closeLegendListener$);
$AdfDhtmlGeoMapToolbarPeer$$.$_showLegend$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_showLegend$$($evt$$40$$) {
  var $closeListener$$ = $evt$$40$$.getSource().createCallback($AdfDhtmlGeoMapToolbarPeer$$.$_closeLegendListener$), $dialogId$$1_popup$$3$$ = $evt$$40$$.getSource().getProperty("dialogId"), $menuComp$$1_menuId$$2$$ = $evt$$40$$.getSource().getProperty("menuItemId"), $buttonComp$$1_toolbarButtonId$$1$$ = $evt$$40$$.getSource().getProperty("buttonId"), $buttonComp$$1_toolbarButtonId$$1$$ = AdfPage.PAGE.findComponent($buttonComp$$1_toolbarButtonId$$1$$), $menuComp$$1_menuId$$2$$ = AdfPage.PAGE.findComponent($menuComp$$1_menuId$$2$$), 
  $dialogId$$1_popup$$3$$ = AdfPage.PAGE.findComponent($dialogId$$1_popup$$3$$);
  $dialogId$$1_popup$$3$$.addEventListener("popupClosed", $closeListener$$);
  $dialogId$$1_popup$$3$$.$_legendCallback$ = $closeListener$$;
  $dialogId$$1_popup$$3$$ && ($evt$$40$$.getSource().getProperty("selected") && !$dialogId$$1_popup$$3$$.isPopupVisible() ? (null != $buttonComp$$1_toolbarButtonId$$1$$ && $buttonComp$$1_toolbarButtonId$$1$$.setSelected(!0), null != $menuComp$$1_menuId$$2$$ && $menuComp$$1_menuId$$2$$.setSelected(!0), $dialogId$$1_popup$$3$$.show()) : !$evt$$40$$.getSource().getProperty("selected") && $dialogId$$1_popup$$3$$.isPopupVisible() && (null != $buttonComp$$1_toolbarButtonId$$1$$ && $buttonComp$$1_toolbarButtonId$$1$$.setSelected(!1), 
  null != $menuComp$$1_menuId$$2$$ && $menuComp$$1_menuId$$2$$.setSelected(!1), $dialogId$$1_popup$$3$$.hide()));
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._showLegend", $AdfDhtmlGeoMapToolbarPeer$$.$_showLegend$);
$AdfDhtmlGeoMapToolbarPeer$$.$_showInfoWindow$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$_showInfoWindow$$($evt$$41_latwidth$$) {
  var $mapId$$27$$ = $evt$$41_latwidth$$.getSource().getProperty("mapId"), $menuComp$$2_menuId$$3$$ = $evt$$41_latwidth$$.getSource().getProperty("menuItemId"), $buttonComp$$2_toolbarButtonId$$2$$ = $evt$$41_latwidth$$.getSource().getProperty("buttonId"), $latlongElem$$1_latlongId$$1$$ = $mapId$$27$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "latlong", $longElem$$2_longId$$1$$ = $mapId$$27$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longitude", $langElem$$1_langId$$1$$ = $mapId$$27$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + 
  "latitude", $longLatConnectorElem_longLatConnectorId$$ = $mapId$$27$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatConnector", $longLatEndElem_longLatEndId$$ = $mapId$$27$$ + $AdfDhtmlGeoMapPeer$$.$NAMING_SEPARATOR$ + "longlatEnd", $infoAreaId$$1$$ = AdfRichUIPeer.CreateSubId($mapId$$27$$, "infoArea");
  null == document.getElementById($infoAreaId$$1$$) && $evt$$41_latwidth$$.getSource().getProperty("selected") && ($JSCompiler_StaticMethods__createInfoArea$$(AdfPage.PAGE.findComponent($mapId$$27$$)), document.getElementById($infoAreaId$$1$$));
  $latlongElem$$1_latlongId$$1$$ = document.getElementById($latlongElem$$1_latlongId$$1$$);
  $longElem$$2_longId$$1$$ = document.getElementById($longElem$$2_longId$$1$$);
  $langElem$$1_langId$$1$$ = document.getElementById($langElem$$1_langId$$1$$);
  $longLatConnectorElem_longLatConnectorId$$ = document.getElementById($longLatConnectorElem_longLatConnectorId$$);
  $longLatEndElem_longLatEndId$$ = document.getElementById($longLatEndElem_longLatEndId$$);
  null != $latlongElem$$1_latlongId$$1$$ && null != $longLatConnectorElem_longLatConnectorId$$ && null != $longLatEndElem_longLatEndId$$ && ($buttonComp$$2_toolbarButtonId$$2$$ = AdfPage.PAGE.findComponent($buttonComp$$2_toolbarButtonId$$2$$), $menuComp$$2_menuId$$3$$ = AdfPage.PAGE.findComponent($menuComp$$2_menuId$$3$$), $evt$$41_latwidth$$.getSource().getProperty("selected") ? ($longElem$$2_longId$$1$$.style.display = "block", $langElem$$1_langId$$1$$.style.display = "block", $latlongElem$$1_latlongId$$1$$.style.display = 
  "block", $longLatEndElem_longLatEndId$$.style.display = "block", null == this.$_initInfoWindow$ && ($evt$$41_latwidth$$ = $langElem$$1_langId$$1$$.clientWidth, $AdfDhtmlGeoMapPeer$$.$_longWidth$ = $longElem$$2_longId$$1$$.clientWidth, $AdfDhtmlGeoMapPeer$$.$_latWidth$ = $evt$$41_latwidth$$, this.$_initInfoWindow$ = 0), null != $buttonComp$$2_toolbarButtonId$$2$$ && $buttonComp$$2_toolbarButtonId$$2$$.setSelected(!0), null != $menuComp$$2_menuId$$3$$ && $menuComp$$2_menuId$$3$$.setSelected(!0)) : 
  ($longElem$$2_longId$$1$$.style.display = "none", $langElem$$1_langId$$1$$.style.display = "none", $latlongElem$$1_latlongId$$1$$.style.display = "none", $longLatConnectorElem_longLatConnectorId$$.style.display = "none", $longLatEndElem_longLatEndId$$.style.display = "none", null != $buttonComp$$2_toolbarButtonId$$2$$ && $buttonComp$$2_toolbarButtonId$$2$$.setSelected(!1), null != $menuComp$$2_menuId$$3$$ && $menuComp$$2_menuId$$3$$.setSelected(!1)), $AdfDhtmlGeoMapPeer$$.$_adjustInfoWindowWidth$($mapId$$27$$));
};
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer._showInfoWindow", $AdfDhtmlGeoMapToolbarPeer$$.$_showInfoWindow$);
$AdfDhtmlGeoMapToolbarPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$$HandleComponentClick$$($adfMap$$23_componentEvent$$11_mapId$$28$$) {
  var $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$ = $adfMap$$23_componentEvent$$11_mapId$$28$$.getSource();
  if (null != $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getComponentType()) {
    $adfMap$$23_componentEvent$$11_mapId$$28$$ = this.getComponent().getProperty("mapId");
    $adfMap$$23_componentEvent$$11_mapId$$28$$ = AdfPage.PAGE.findComponent($adfMap$$23_componentEvent$$11_mapId$$28$$);
    var $buttonType$$ = $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getProperty("buttonType");
    "oracle.adf.RichCommandMenuItem" == $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getComponentType() ? null != $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getProperty("themeButtonType") && "activeTheme" == $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getProperty("themeButtonType") && ($activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$ = $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.getProperty("themeID"), 
    $adfMap$$23_componentEvent$$11_mapId$$28$$.$setActiveTheme$($activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$), $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$ = new $AdfMapActiveThemeEvent$$($adfMap$$23_componentEvent$$11_mapId$$28$$, $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$), $activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$.setPartial(!0), $adfMap$$23_componentEvent$$11_mapId$$28$$.queueEvent($activeThemeEvent$$inline_4979_actualThemeName$$inline_460_source$$72$$)) : 
    $buttonType$$ && $JSCompiler_StaticMethods_setMapTool$$($adfMap$$23_componentEvent$$11_mapId$$28$$, $buttonType$$);
  }
};
$AdfDhtmlGeoMapToolbarPeer$$.prototype.HandleComponentClick = $AdfDhtmlGeoMapToolbarPeer$$.prototype.$HandleComponentClick$;
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer.prototype.HandleComponentClick", $AdfDhtmlGeoMapToolbarPeer$$.prototype.$HandleComponentClick$);
$AdfDhtmlGeoMapToolbarPeer$$.prototype.GetComponent = function $$AdfDhtmlGeoMapToolbarPeer$$$$GetComponent$() {
  return this.getComponent();
};
$AdfDhtmlGeoMapToolbarPeer$$.prototype.GetComponent = $AdfDhtmlGeoMapToolbarPeer$$.prototype.GetComponent;
$AdfDhtmlGeoMapToolbarPeer$$.prototype.$GetComponentMapId$ = function $$AdfDhtmlGeoMapToolbarPeer$$$$$GetComponentMapId$$($component$$166$$) {
  return $component$$166$$.getProperty("mapId");
};
$AdfDhtmlGeoMapToolbarPeer$$.prototype.GetComponentMapId = $AdfDhtmlGeoMapToolbarPeer$$.prototype.$GetComponentMapId$;
$goog$exportSymbol$$("AdfDhtmlGeoMapToolbarPeer.prototype.GetComponentMapId", $AdfDhtmlGeoMapToolbarPeer$$.prototype.$GetComponentMapId$);
$AdfDhtmlGeoMapToolbarPeer$$.prototype.InitDomElement = function $$AdfDhtmlGeoMapToolbarPeer$$$$InitDomElement$($component$$167$$, $domElement$$30$$) {
  $AdfDhtmlGeoMapToolbarPeer$$.superclass.InitDomElement.call(this, $component$$167$$, $domElement$$30$$);
};
