Project

General

Profile

1
<?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: config.xml 4315 2008-08-26 21:12:37Z leinfelder $
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>context.xml</defaultModelUrl>
18
      <widgets>
19
        
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
        <Loading2 id="loading2">
32
          <mapContainerId>mainMapPane</mapContainerId>
33
        </Loading2>
34
        
35
      </widgets>
36
      <tools>
37
        <History id="extentHistory"/>
38
        <AoiMouseHandler id="mainAoi"/>
39
        <MouseClickHandler id="mainMouseClick"/>
40
      </tools>
41
    </Context>
42
    
43
    <Model id="locations">
44
      <defaultModelUrl>./named_locations.xml</defaultModelUrl>
45
      <widgets>
46
        <Locations id="locationsSelect">
47
          <targetModel>mainMap</targetModel>
48
        </Locations>
49
      </widgets>
50
      <tools>
51
        <ZoomToAoi id="locationsZoomToAoi">
52
          <targetModel>mainMap</targetModel>
53
        </ZoomToAoi>
54
      </tools>
55
    </Model>
56
    
57
  </models>
58
  <widgets>
59
    
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
    <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
    <Loading id="loadingApp">
101
      <htmlTagId>mainMapPane</htmlTagId>
102
    </Loading>
103
    
104
    <AoiMetacatQuery id="aoiMetacatQuery">
105
      <buttonBar>mainButtonBar</buttonBar>
106
      <targetModel>mainMap</targetModel>
107
      <class>RadioButton</class>
108
      <mouseHandler>mainAoi</mouseHandler>      
109
      <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>obfs</skin>
114
      <pixel_tolerance>5</pixel_tolerance>
115
    </AoiMetacatQuery>
116
    
117
  </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
</MapbuilderConfig>
(1-1/8)