Project

General

Profile

1 3640 leinfelder
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
<MapbuilderConfig version="0.2.1" id="referenceTemplate" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../mapbuilder/lib/schemas/config.xsd">
3
  <!--
4
    Description: This configuration file determines what components from the
5
                 Mapbuilder library are to be included in a Main Mapbuilder web
6
                 page.
7
    Licence:     GPL as per: http://www.gnu.org/copyleft/gpl.html
8
9
    $Id$
10
  -->
11
  <!--
12
    All static images should be relative to this URL.
13
    This dir is relative the dir of the main html file.
14
  -->
15
  <models>
16
    <Context id="mainMap">
17
      <defaultModelUrl>africa_frame_model.xml</defaultModelUrl>
18
      <widgets>
19 4311 leinfelder
20
        <MapPaneOL id="mainMapWidget">
21
          <htmlTagId>mainMapPane</htmlTagId>
22
          <fixedSize>true</fixedSize>
23
          <transitionEffect>resize</transitionEffect>
24
        </MapPaneOL>
25
        <CursorTrack id="cursorTrack">
26
          <precision>5</precision>
27
        </CursorTrack>
28
        <MapScaleText id="scaleText"/>
29
        <Legend id="legend"/>
30
31 3640 leinfelder
        <Loading2 id="loading2">
32 4311 leinfelder
          <mapContainerId>mainMapPane</mapContainerId>
33 3640 leinfelder
        </Loading2>
34
35
      </widgets>
36
      <tools>
37 4311 leinfelder
        <History id="extentHistory"/>
38 3640 leinfelder
        <AoiMouseHandler id="mainAoi"/>
39
        <MouseClickHandler id="mainMouseClick"/>
40
      </tools>
41
    </Context>
42
43 4311 leinfelder
    <Model id="locations">
44
      <defaultModelUrl>./named_locations.xml</defaultModelUrl>
45 3640 leinfelder
      <widgets>
46 4311 leinfelder
        <Locations id="locationsSelect">
47 3640 leinfelder
          <targetModel>mainMap</targetModel>
48 4311 leinfelder
        </Locations>
49 3640 leinfelder
      </widgets>
50
      <tools>
51 4311 leinfelder
        <ZoomToAoi id="locationsZoomToAoi">
52 3640 leinfelder
          <targetModel>mainMap</targetModel>
53
        </ZoomToAoi>
54
      </tools>
55 4311 leinfelder
    </Model>
56 3640 leinfelder
57
  </models>
58
  <widgets>
59 4311 leinfelder
60
    <Back id="back">
61
      <buttonBar>mainButtonBar</buttonBar>
62
      <targetModel>mainMap</targetModel>
63
      <class>Button</class>
64
      <disabledSrc>/images/UndoDisable.png</disabledSrc>
65
    </Back>
66
    <Forward id="forward">
67
      <buttonBar>mainButtonBar</buttonBar>
68
      <targetModel>mainMap</targetModel>
69
      <class>Button</class>
70
      <disabledSrc>/images/RedoDisable.png</disabledSrc>
71
    </Forward>
72 3640 leinfelder
    <ZoomIn id="zoomIn">
73
      <buttonBar>mainButtonBar</buttonBar>
74
      <targetModel>mainMap</targetModel>
75
      <class>RadioButton</class>
76
      <selected>true</selected>
77
      <enabledSrc>/images/ZoomInEnable.png</enabledSrc>
78
      <disabledSrc>/images/ZoomInDisable.png</disabledSrc>
79
    </ZoomIn>
80
    <ZoomOut id="zoomOut">
81
      <buttonBar>mainButtonBar</buttonBar>
82
      <targetModel>mainMap</targetModel>
83
      <class>RadioButton</class>
84
      <enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
85
      <disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
86
    </ZoomOut>
87
    <DragPan id="dragPan">
88
      <buttonBar>mainButtonBar</buttonBar>
89
      <targetModel>mainMap</targetModel>
90
      <class>RadioButton</class>
91
      <enabledSrc>/images/PanEnable.png</enabledSrc>
92
      <disabledSrc>/images/PanDisable.png</disabledSrc>
93
    </DragPan>
94
    <Reset id="reset">
95
      <buttonBar>mainButtonBar</buttonBar>
96
      <targetModel>mainMap</targetModel>
97
      <class>Button</class>
98
      <disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
99
    </Reset>
100 4311 leinfelder
    <Loading id="loadingApp">
101
      <htmlTagId>mainMapPane</htmlTagId>
102
    </Loading>
103
104
    <AoiMetacatQuery id="aoiMetacatQuery">
105 3640 leinfelder
      <buttonBar>mainButtonBar</buttonBar>
106
      <targetModel>mainMap</targetModel>
107
      <class>RadioButton</class>
108 4311 leinfelder
      <mouseHandler>mainAoi</mouseHandler>
109 3640 leinfelder
      <enabledSrc>/images/QueryEnable.png</enabledSrc>
110
      <disabledSrc>/images/QueryDisable.png</disabledSrc>
111
      <tooltip xml:lang="en">select multiple datasets</tooltip>
112
      <metacat>../../../../metacat</metacat>
113
      <skin>saeon</skin>
114
      <pixel_tolerance>5</pixel_tolerance>
115 4311 leinfelder
    </AoiMetacatQuery>
116
117 3640 leinfelder
  </widgets>
118
  <skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir>
119
  <!-- Url of LOCAL redirection script, required to access external URLs -->
120
  <proxyUrl>../../proxy.jsp</proxyUrl>
121 4311 leinfelder
</MapbuilderConfig>