Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
2
<MapbuilderConfig 
3
    xmlns="http://mapbuilder.sourceforge.net/mapbuilder" 
4
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
5
    xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../lib/schemas/config.xsd"
6
    version="0.2.1" id="tutorial2" >
7

    
8
  <models>
9
    <Context id="firstMap">
10
      <defaultModelUrl>/mapbuilder/examples/data/context/locatorMap.xml</defaultModelUrl>
11
      <widgets>
12
        <MapPane id="mainMapWidget">
13
          <htmlTagId>firstMapPane</htmlTagId>
14
          <mapContainerId>firstMapContainer</mapContainerId>
15
        </MapPane>
16
        <AoiBoxDHTML id="firstAoiBox">
17
          <htmlTagId>firstMapPane</htmlTagId>
18
          <mapContainerId>firstMapContainer</mapContainerId>
19
          <lineColor>#FF0077</lineColor>
20
          <lineWidth>3</lineWidth>
21
          <crossSize>15</crossSize>
22
        </AoiBoxDHTML>
23
      </widgets>
24
    </Context>
25

    
26
    <Context id="secondMap">
27
      <defaultModelUrl>/mapbuilder/demo/data/context/DM_Canada.xml</defaultModelUrl>
28
      <widgets>
29
        <MapPane id="secondMapWidget">
30
          <htmlTagId>secondMapPane</htmlTagId>
31
          <mapContainerId>secondMapContainer</mapContainerId>
32
        </MapPane>
33
        <AoiBoxDHTML id="secondAoiBox">
34
          <htmlTagId>secondMapPane</htmlTagId>
35
          <mapContainerId>secondMapContainer</mapContainerId>
36
          <lineColor>#FF0000</lineColor>
37
          <lineWidth>1</lineWidth>
38
          <crossSize>15</crossSize>
39
        </AoiBoxDHTML>
40
      </widgets>
41
      <tools>
42
        <AoiMouseHandler id="locatorAoi"/>
43
        <ZoomToAoi id="zoomToAoi">
44
          <targetModel>firstMap</targetModel>
45
        </ZoomToAoi>
46
      </tools>
47
    </Context>
48
    
49
  </models>
50
  <skinDir>/mapbuilder/lib/skin/default</skinDir>
51
</MapbuilderConfig>
(6-6/12)