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: africa_frame_config.xml 4309 2008-08-26 17:13:24Z 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>africa_frame_model.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
  </models>
44
  <widgets>
45
    
46
    <Back id="back">
47
      <buttonBar>mainButtonBar</buttonBar>
48
      <targetModel>mainMap</targetModel>
49
      <class>Button</class>
50
      <disabledSrc>/images/UndoDisable.png</disabledSrc>
51
    </Back>
52
    <Forward id="forward">
53
      <buttonBar>mainButtonBar</buttonBar>
54
      <targetModel>mainMap</targetModel>
55
      <class>Button</class>
56
      <disabledSrc>/images/RedoDisable.png</disabledSrc>
57
    </Forward>
58
    <ZoomIn id="zoomIn">
59
      <buttonBar>mainButtonBar</buttonBar>
60
      <targetModel>mainMap</targetModel>
61
      <class>RadioButton</class>
62
      <selected>true</selected>
63
      <enabledSrc>/images/ZoomInEnable.png</enabledSrc>
64
      <disabledSrc>/images/ZoomInDisable.png</disabledSrc>
65
    </ZoomIn>
66
    <ZoomOut id="zoomOut">
67
      <buttonBar>mainButtonBar</buttonBar>
68
      <targetModel>mainMap</targetModel>
69
      <class>RadioButton</class>
70
      <enabledSrc>/images/ZoomOutEnable.png</enabledSrc>
71
      <disabledSrc>/images/ZoomOutDisable.png</disabledSrc>
72
    </ZoomOut>
73
    <DragPan id="dragPan">
74
      <buttonBar>mainButtonBar</buttonBar>
75
      <targetModel>mainMap</targetModel>
76
      <class>RadioButton</class>
77
      <enabledSrc>/images/PanEnable.png</enabledSrc>
78
      <disabledSrc>/images/PanDisable.png</disabledSrc>
79
    </DragPan>
80
    <Reset id="reset">
81
      <buttonBar>mainButtonBar</buttonBar>
82
      <targetModel>mainMap</targetModel>
83
      <class>Button</class>
84
      <disabledSrc>/images/ResetExtentDisable.png</disabledSrc>
85
    </Reset>
86
    <Loading id="loadingApp">
87
      <htmlTagId>mainMapPane</htmlTagId>
88
    </Loading>
89
    
90
    <AoiMetacatQuery id="aoiMetacatQuery">
91
      <buttonBar>mainButtonBar</buttonBar>
92
      <targetModel>mainMap</targetModel>
93
      <class>RadioButton</class>
94
      <mouseHandler>mainAoi</mouseHandler>      
95
      <enabledSrc>/images/QueryEnable.png</enabledSrc>
96
      <disabledSrc>/images/QueryDisable.png</disabledSrc>
97
      <tooltip xml:lang="en">select multiple datasets</tooltip>
98
      <metacat>../../../../metacat</metacat>
99
      <skin>sanparks</skin>
100
      <pixel_tolerance>5</pixel_tolerance>
101
    </AoiMetacatQuery>
102
    
103
  </widgets>
104
  <skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir>
105
  <!-- Url of LOCAL redirection script, required to access external URLs -->
106
  <proxyUrl>../../proxy.jsp</proxyUrl>
107
</MapbuilderConfig>
(1-1/6)