<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<MapbuilderConfig version="0.2.1" id="simpleTemplate" 
    xmlns="http://mapbuilder.sourceforge.net/mapbuilder" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd">
  <models>
    <Context id="mainMap">
      <defaultModelUrl>local.xml</defaultModelUrl>
      <widgets>
        <MapPane id="mainMapWidget">
          <htmlTagId>mainMapPane</htmlTagId>
          <mapContainerId>mainMapContainer</mapContainerId>
        </MapPane>
        <Loading id="loading">
        </Loading>
        <ModelUrlInput id="urlInput">
        </ModelUrlInput>
        <AoiBoxDHTML id="aoiBox2">
          <htmlTagId>mainMapPane</htmlTagId>
          <stylesheet>mapbuilder/lib/widget/Null.xsl</stylesheet>
          <lineColor>#FF0000</lineColor>
          <lineWidth>1</lineWidth>
          <crossSize>15</crossSize>
          <mapContainerId>mainMapContainer</mapContainerId>
        </AoiBoxDHTML>
      </widgets>
      <tools>
        <AoiMouseHandler id="mainAoi"/>
        <DragPanHandler id="mainDragPan">
          <enabled>false</enabled>
        </DragPanHandler>
      </tools>
    </Context>
  </models>

  <widgets>
    <ZoomIn id="zoomIn">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <mouseHandler>mainAoi</mouseHandler>
      <class>RadioButton</class>
      <selected>true</selected>
      <enabledSrc>/images/ZoomInEnable.gif</enabledSrc>
      <disabledSrc>/images/ZoomInDisable.gif</disabledSrc>
      <tooltip xml:lang="en">click and drag to zoom in</tooltip>
      <tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip>
    </ZoomIn>
    <ZoomOut id="zoomOut">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <mouseHandler>mainAoi</mouseHandler>
      <class>RadioButton</class>
      <enabledSrc>/images/ZoomOutEnable.gif</enabledSrc>
      <disabledSrc>/images/ZoomOutDisable.gif</disabledSrc>
      <tooltip xml:lang="en">click to zoom out</tooltip>
      <tooltip xml:lang="fr">cliquer pour rée</tooltip>
    </ZoomOut>
    <DragPan id="dragPan">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <mouseHandler>mainDragPan</mouseHandler>
      <class>RadioButton</class>
      <enabledSrc>/images/PanEnable.gif</enabledSrc>
      <disabledSrc>/images/PanDisable.gif</disabledSrc>
      <tooltip xml:lang="en">click and drag to pan</tooltip>
      <tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip>
    </DragPan>
    <Reset id="reset">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>Button</class>
      <disabledSrc>/images/ResetExtentDisable.gif</disabledSrc>
      <tooltip xml:lang="en">reset the map to full extent</tooltip>
      <tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip>
    </Reset>
  </widgets>
  <skinDir>mapbuilder/lib/skin/default</skinDir>
</MapbuilderConfig>
