1 |
3032
|
perry
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2 |
|
|
<MapbuilderConfig version="1.0.0" id="basicMap" 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">
|
3 |
|
|
<models>
|
4 |
|
|
<Context id="mainMap">
|
5 |
|
|
<defaultModelUrl>../data/context/demisWorldMap.xml</defaultModelUrl>
|
6 |
|
|
<widgets>
|
7 |
|
|
<MapPane id="mainMapWidget">
|
8 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
9 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
10 |
|
|
</MapPane>
|
11 |
|
|
<AoiBoxDHTML id="aoiBoxMain">
|
12 |
|
|
<htmlTagId>mainMapPane</htmlTagId>
|
13 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
14 |
|
|
<lineColor>#FF0000</lineColor>
|
15 |
|
|
<lineWidth>2</lineWidth>
|
16 |
|
|
<crossSize>15</crossSize>
|
17 |
|
|
</AoiBoxDHTML>
|
18 |
|
|
<Legend id="legend"/>
|
19 |
|
|
<Loading2 id="loading2">
|
20 |
|
|
<mapContainerId>mainMapContainer</mapContainerId>
|
21 |
|
|
</Loading2>
|
22 |
|
|
</widgets>
|
23 |
|
|
<tools>
|
24 |
|
|
<AoiMouseHandler id="mainAoi"/>
|
25 |
|
|
<DragPanHandler id="mainDragPan">
|
26 |
|
|
<enabled>false</enabled>
|
27 |
|
|
</DragPanHandler>
|
28 |
|
|
</tools>
|
29 |
|
|
</Context>
|
30 |
|
|
</models>
|
31 |
|
|
<widgets>
|
32 |
|
|
<ZoomIn id="zoomIn">
|
33 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
34 |
|
|
<targetModel>mainMap</targetModel>
|
35 |
|
|
<mouseHandler>mainAoi</mouseHandler>
|
36 |
|
|
<class>RadioButton</class>
|
37 |
|
|
<selected>true</selected>
|
38 |
|
|
<enabledSrc>/images/ZoomInEnable.png</enabledSrc>
|
39 |
|
|
<disabledSrc>/images/ZoomInDisable.png</disabledSrc>
|
40 |
|
|
</ZoomIn>
|
41 |
|
|
<ZoomOut id="zoomOut">
|
42 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
43 |
|
|
<targetModel>mainMap</targetModel>
|
44 |
|
|
<mouseHandler>mainAoi</mouseHandler>
|
45 |
|
|
<class>RadioButton</class>
|
46 |
|
|
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
|
47 |
|
|
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
|
48 |
|
|
</ZoomOut>
|
49 |
|
|
<DragPan id="dragPan">
|
50 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
51 |
|
|
<targetModel>mainMap</targetModel>
|
52 |
|
|
<mouseHandler>mainDragPan</mouseHandler>
|
53 |
|
|
<class>RadioButton</class>
|
54 |
|
|
<enabledSrc>/images/PanEnable.png</enabledSrc>
|
55 |
|
|
<disabledSrc>/images/PanDisable.png</disabledSrc>
|
56 |
|
|
</DragPan>
|
57 |
|
|
<Reset id="reset">
|
58 |
|
|
<buttonBar>mainButtonBar</buttonBar>
|
59 |
|
|
<targetModel>mainMap</targetModel>
|
60 |
|
|
<class>Button</class>
|
61 |
|
|
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
|
62 |
|
|
</Reset>
|
63 |
|
|
</widgets>
|
64 |
|
|
<skinDir>../../lib/skin/default</skinDir>
|
65 |
|
|
<widgetTextUrl>widgetText.xml</widgetTextUrl>
|
66 |
|
|
<!-- relative to the skin dir -->
|
67 |
|
|
</MapbuilderConfig>
|