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.0" id="tutorial2" >
|
7
|
<skinDir>/mapbuilder/lib/skin/default</skinDir>
|
8
|
|
9
|
<models>
|
10
|
|
11
|
<Context id="firstMap">
|
12
|
<defaultModelUrl>/mapbuilder/demo/data/context/locatorMap.xml</defaultModelUrl>
|
13
|
<widgets>
|
14
|
<MapPane id="mainMapWidget">
|
15
|
<htmlTagId>firstMapPane</htmlTagId>
|
16
|
<mapContainerId>firstMapContainer</mapContainerId>
|
17
|
</MapPane>
|
18
|
<AoiBoxDHTML id="firstAoiBox">
|
19
|
<htmlTagId>firstMapPane</htmlTagId>
|
20
|
<lineColor>#FF0077</lineColor>
|
21
|
<lineWidth>3</lineWidth>
|
22
|
<crossSize>15</crossSize>
|
23
|
<mapContainerId>firstMapContainer</mapContainerId>
|
24
|
</AoiBoxDHTML>
|
25
|
</widgets>
|
26
|
</Context>
|
27
|
|
28
|
<Context id="secondMap">
|
29
|
<defaultModelUrl>/mapbuilder/demo/data/context/DM_Canada.xml</defaultModelUrl>
|
30
|
<widgets>
|
31
|
<MapPane id="secondMapWidget">
|
32
|
<htmlTagId>secondMapPane</htmlTagId>
|
33
|
<mapContainerId>secondMapContainer</mapContainerId>
|
34
|
</MapPane>
|
35
|
<AoiBoxDHTML id="secondAoiBox">
|
36
|
<htmlTagId>secondMapPane</htmlTagId>
|
37
|
<lineColor>#FF0000</lineColor>
|
38
|
<lineWidth>1</lineWidth>
|
39
|
<crossSize>15</crossSize>
|
40
|
<mapContainerId>secondMapContainer</mapContainerId>
|
41
|
</AoiBoxDHTML>
|
42
|
</widgets>
|
43
|
<tools>
|
44
|
<AoiMouseHandler id="locatorAoi"/>
|
45
|
<ZoomToAoi id="zoomToAoi">
|
46
|
<targetModel>firstMap</targetModel>
|
47
|
</ZoomToAoi>
|
48
|
</tools>
|
49
|
</Context>
|
50
|
|
51
|
</models>
|
52
|
<skinDir>/mapbuilder/lib/skin/default</skinDir>
|
53
|
<languages>en,fr</languages>
|
54
|
<widgetTextUrl>widgetText.xml</widgetTextUrl> <!-- relative to the skinDir + language subdir -->
|
55
|
|
56
|
</MapbuilderConfig>
|