Revision 3097
Added by perry about 18 years ago
lib/style/skins/default/index.jsp | ||
---|---|---|
31 | 31 |
%> |
32 | 32 |
<%@ include file="settings.jsp"%> |
33 | 33 |
<%@ include file="session_vars.jsp"%> |
34 |
<%@ page import="edu.ucsb.nceas.metacat.MetaCatUtil" %> |
|
34 | 35 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
35 | 36 |
<html> |
36 | 37 |
<head> |
... | ... | |
49 | 50 |
insertSearchBox(); |
50 | 51 |
</script> |
51 | 52 |
<br/> |
53 |
|
|
54 |
<% if ( MetaCatUtil.getOption("runSpatialOption").equals("true") ) { %> |
|
52 | 55 |
<script language="javascript"> |
53 | 56 |
insertMap(); |
54 | 57 |
</script> |
55 | 58 |
<br/> |
59 |
<% } %> |
|
60 |
|
|
56 | 61 |
<script language="javascript"> |
57 | 62 |
insertLoginBox(); |
58 | 63 |
</script> |
lib/style/skins/knp/spatial/africa_frame_model.xml | ||
---|---|---|
5 | 5 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
6 | 6 |
xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd"> |
7 | 7 |
<General> |
8 |
<Window width="250" height="375" /> |
|
9 |
<BoundingBox SRS="EPSG:4326" minx="30.5912" miny="-25.535" maxx="32.3037" maxy="-22.325" /> |
|
8 |
<Window width="250" height="417" /> |
|
9 |
<!-- <BoundingBox SRS="EPSG:4326" minx="30.5912" miny="-25.535" maxx="32.3037" maxy="-22.325" /> --> |
|
10 |
<BoundingBox SRS="EPSG:4326" minx="30" miny="-26.5" maxx="33" maxy="-21.5"/> |
|
10 | 11 |
<Title>Krueger National Park</Title> |
11 | 12 |
<KeywordList> |
12 | 13 |
<Keyword>metacat</Keyword> |
lib/style/skins/nceas/map.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* '$RCSfile$' |
|
3 |
* Authors: Matt Jones |
|
4 |
* Copyright: 2000 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* |
|
8 |
* '$Author$' |
|
9 |
* '$Date$' |
|
10 |
* '$Revision$' |
|
11 |
* |
|
12 |
* This is an HTML document for displaying metadata catalog tools |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or modify |
|
15 |
* it under the terms of the GNU General Public License as published by |
|
16 |
* the Free Software Foundation; either version 2 of the License, or |
|
17 |
* (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
27 |
--> |
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
29 |
<html> |
|
30 |
<head> |
|
31 |
<title>NCEAS Data Repository Interactive Map</title> |
|
32 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="@systemidserver@@style-skins-path@/nceas/nceas.css"> |
|
35 |
<script language="JavaScript" type="text/JavaScript" |
|
36 |
src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script> |
|
37 |
<script language="JavaScript" type="text/JavaScript" |
|
38 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
39 |
<link href="nceas.css" rel="stylesheet" type="text/css"> |
|
40 |
<style type="text/css"> |
|
41 |
<!-- |
|
42 |
.style2 {font-size: 14px} |
|
43 |
--> |
|
44 |
</style> |
|
45 |
</head> |
|
46 |
<body> |
|
47 |
<script language="JavaScript"> |
|
48 |
insertTemplateOpening(); |
|
49 |
//insertSearchBox(); |
|
50 |
</script> |
|
51 |
|
|
52 |
<table width="760" border="0" cellspacing="0" cellpadding="0"><!--DWLayoutTable--> |
|
53 |
<tr><td> |
|
54 |
|
|
55 |
<table class="tables" cellpadding="8" cellspacing="0"> |
|
56 |
<tr class="sectheader"> |
|
57 |
<td class="borderbottom" colspan="2" align="left"><span class="label"> </span><a name="search" ></a> |
|
58 |
<p align="center" class="largetext"> Search for Data Sets </p></td> |
|
59 |
</tr> |
|
60 |
<tr class="sectbody"></tr> |
|
61 |
|
|
62 |
<tr > |
|
63 |
<td colspan="2" align="left"> |
|
64 |
<iframe frameborder="0" width="750" height="520" src="spatial/map.html"> |
|
65 |
You need iframe support |
|
66 |
</iframe> |
|
67 |
</td> |
|
68 |
</tr> |
|
69 |
</table> |
|
70 |
|
|
71 |
</td></tr> |
|
72 |
</table> |
|
73 |
|
|
74 |
|
|
75 |
<script language="JavaScript"> |
|
76 |
insertTemplateClosing(); |
|
77 |
</script> |
|
78 |
</body> |
|
79 |
</html> |
|
0 | 80 |
lib/style/skins/nceas/index.html | ||
---|---|---|
213 | 213 |
</div></td> |
214 | 214 |
</tr> |
215 | 215 |
<tr > |
216 |
<td class="borderbottom"><div align="center"><a href="@servlet-path@?action=query&operator=INTERSECT&anyfield=%25&organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&qformat=nceas&enableediting=true&returndoctype=eml://ecoinformatics.org/eml-2.0.0&returndoctype=eml://ecoinformatics.org/eml-2.0.1&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returnfield=dataset/title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=creator/individualName/surName&returnfield=originator/organizationName&returnfield=creator/organizationName">Browse existing NCEAS data sets</a> </div> |
|
216 |
<td class="borderbottom"><div align="center"><a href="@servlet-path@?action=query&operator=INTERSECT&anyfield=%25&organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&qformat=nceas&enableediting=true&returndoctype=eml://ecoinformatics.org/eml-2.0.0&returndoctype=eml://ecoinformatics.org/eml-2.0.1&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returnfield=dataset/title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=creator/individualName/surName&returnfield=originator/organizationName&returnfield=creator/organizationName">Browse existing NCEAS data sets</a> |
|
217 |
<br/><br/> |
|
218 |
<a href="map.html"> View Interactive Map </a> </div> |
|
217 | 219 |
</td></tr></table> |
218 | 220 |
<br><br> |
219 | 221 |
<table class="tables" cellpadding="8" cellspacing="0"> |
lib/style/skins/nceas/spatial/map.html | ||
---|---|---|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<title>Metacat Spatial Option Demo</title> |
|
5 |
|
|
6 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/docsStyle.css'> |
|
7 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/mapStyle.css'> |
|
8 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/button.css'> |
|
9 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/scalebar-fat.css'> |
|
10 |
|
|
11 |
<script type="text/javascript"> |
|
12 |
var mbConfigUrl="config.xml"; |
|
13 |
</script> |
|
14 |
|
|
15 |
<script type="text/javascript" src="../../../../spatial/mapbuilder/lib/Mapbuilder.js"></script> |
|
16 |
</head> |
|
17 |
<body onload="mbDoLoad()"> |
|
18 |
|
|
19 |
<table border="0"> |
|
20 |
<tr> |
|
21 |
<td colspan="2"> |
|
22 |
<div id="mainMapPane" style="background-color:#b8d5f5;" /> |
|
23 |
<div id="loading"> |
|
24 |
<p> Loading Map |
|
25 |
<img src="../../../../spatial/mapbuilder/lib/skin/default/images/Loading.gif"/> |
|
26 |
</p> |
|
27 |
</div> |
|
28 |
</td> |
|
29 |
|
|
30 |
</tr> |
|
31 |
<tr align="left"> |
|
32 |
<td> |
|
33 |
|
|
34 |
<table border="0" width="100%"> |
|
35 |
<tr valign="top"> |
|
36 |
<td id="legend" align="left"/> |
|
37 |
<td width="45%" align="right"> |
|
38 |
<table> |
|
39 |
<tr> |
|
40 |
<td align="center" id="cursorTrack" /> |
|
41 |
<td align="right" id="mainButtonBar" /> |
|
42 |
</tr> |
|
43 |
<tr><td colspan="2" align="right" id="locationsSelect" /> </tr> |
|
44 |
<!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> --> |
|
45 |
<tr> |
|
46 |
<td colspan="2" align="right" style="font-size:8pt;"> |
|
47 |
<a style="text-decoration:none;" href="../../../../spatial/kml.jsp"> |
|
48 |
<br/> |
|
49 |
Download Google Earth KML |
|
50 |
<img border="0" src="../../../../style/images/kml.gif"> |
|
51 |
</a> |
|
52 |
</td> |
|
53 |
</tr> |
|
54 |
</table> |
|
55 |
</td> |
|
56 |
|
|
57 |
</tr> |
|
58 |
</table> |
|
59 |
|
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
63 |
|
|
64 |
|
|
65 |
</body> |
|
66 |
</html> |
|
0 | 67 |
lib/style/skins/nceas/spatial/context.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?> |
|
2 |
<ViewContext version="1.0.0" id="atlas_world" |
|
3 |
xmlns="http://www.opengis.net/context" |
|
4 |
xmlns:xlink="http://www.w3.org/1999/xlink" |
|
5 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
6 |
xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd"> |
|
7 |
<General> |
|
8 |
<Window width="720" height="360" /> |
|
9 |
<BoundingBox SRS="EPSG:4326" minx="-180" miny="-90" maxx="180" maxy="90" /> |
|
10 |
<Title>Metacat Map</Title> |
|
11 |
<KeywordList> |
|
12 |
<Keyword>metacat</Keyword> |
|
13 |
<Keyword>EML</Keyword> |
|
14 |
</KeywordList> |
|
15 |
<Abstract>Interactive Map of metacat datasets.</Abstract> |
|
16 |
</General> |
|
17 |
<LayerList> |
|
18 |
|
|
19 |
<Layer queryable="0" hidden="0"> |
|
20 |
<Server service="OGC:WMS" version="1.1.1" |
|
21 |
title="Countries"> |
|
22 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
23 |
</Server> |
|
24 |
<Name>metacat:world_borders</Name> |
|
25 |
<Title>Countries</Title> |
|
26 |
<SRS>EPSG:4326</SRS> |
|
27 |
<FormatList> |
|
28 |
<Format current="1">image/gif</Format> |
|
29 |
</FormatList> |
|
30 |
</Layer> |
|
31 |
|
|
32 |
<Layer queryable="0" hidden="1"> |
|
33 |
<Server service="OGC:WMS" version="1.0.0" title="OGC:WMS"> |
|
34 |
<OnlineResource xlink:type="simple" xlink:href="http://www2.demis.nl/WMS/wms.asp?wms=WorldMap"/> |
|
35 |
</Server> |
|
36 |
<Name>Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Inundated,Rivers,Streams,Builtup+areas,Railroads,Highways,Roads,Trails,Borders,Cities,Settlements,Airports</Name> |
|
37 |
<Title>World Map</Title> |
|
38 |
<SRS>EPSG:4326</SRS> |
|
39 |
<FormatList> |
|
40 |
<Format current="1">image/gif</Format> |
|
41 |
</FormatList> |
|
42 |
<StyleList> |
|
43 |
<Style current="1"> |
|
44 |
<Name>default</Name> |
|
45 |
<Title>default</Title> |
|
46 |
</Style> |
|
47 |
</StyleList> |
|
48 |
</Layer> |
|
49 |
|
|
50 |
<Layer queryable="0" hidden="1"> |
|
51 |
<Server service="wms" version="1.1.0" title="wms"> |
|
52 |
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://wms.jpl.nasa.gov/wms.cgi?"/> |
|
53 |
</Server> |
|
54 |
<Name>global_mosaic</Name> |
|
55 |
<!-- <Name>BMNG</Name> --> |
|
56 |
<Title>Satellite image</Title> |
|
57 |
<SRS>EPSG:4326</SRS> |
|
58 |
<StyleList> |
|
59 |
<Style current="1"><Name>pseudo_low</Name><Title>pseudo_low</Title></Style> |
|
60 |
</StyleList> |
|
61 |
<FormatList> |
|
62 |
<Format current="1">image/jpeg</Format> |
|
63 |
</FormatList> |
|
64 |
</Layer> |
|
65 |
|
|
66 |
<Layer queryable="0" hidden="0"> |
|
67 |
<Server service="OGC:WMS" version="1.1.1" |
|
68 |
title="DatasetBounds"> |
|
69 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
70 |
</Server> |
|
71 |
<Name>metacat:data_bounds</Name> |
|
72 |
<Title>Dataset Bounds</Title> |
|
73 |
<SRS>EPSG:4326</SRS> |
|
74 |
<FormatList> |
|
75 |
<Format current="1">image/gif</Format> |
|
76 |
</FormatList> |
|
77 |
</Layer> |
|
78 |
|
|
79 |
|
|
80 |
<Layer queryable="0" hidden="0"> |
|
81 |
<Server service="OGC:WMS" version="1.1.1" |
|
82 |
title="DatasetPoints"> |
|
83 |
<OnlineResource xlink:type="simple" xlink:href="../../../../wms" /> |
|
84 |
</Server> |
|
85 |
<Name>metacat:data_points</Name> |
|
86 |
<Title>Dataset Points</Title> |
|
87 |
<SRS>EPSG:4326</SRS> |
|
88 |
<FormatList> |
|
89 |
<Format current="1">image/gif</Format> |
|
90 |
</FormatList> |
|
91 |
</Layer> |
|
92 |
|
|
93 |
|
|
94 |
</LayerList> |
|
95 |
</ViewContext> |
|
0 | 96 |
lib/style/skins/nceas/spatial/config.xml | ||
---|---|---|
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$ |
|
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 |
<Loading id="loading"/> |
|
20 |
<Loading2 id="loading2"> |
|
21 |
<mapContainerId>mainMapPane</mapContainerId> |
|
22 |
</Loading2> |
|
23 |
<!-- <MapScaleBar id="scalebar"> |
|
24 |
<displaySystem>metric</displaySystem> |
|
25 |
<minWidth>150</minWidth> |
|
26 |
<maxWidth>250</maxWidth> |
|
27 |
<divisions>4</divisions> |
|
28 |
<subdivisions>2</subdivisions> |
|
29 |
<showMinorMeasures>false</showMinorMeasures> |
|
30 |
<abbreviateLabel>true</abbreviateLabel> |
|
31 |
<singleLine>false</singleLine> |
|
32 |
<align>center</align> |
|
33 |
</MapScaleBar> --> |
|
34 |
<MapPane id="mainMapWidget"> |
|
35 |
<htmlTagId>mainMapPane</htmlTagId> |
|
36 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
37 |
</MapPane> |
|
38 |
<AoiBoxWZ id="aoiBox2"> |
|
39 |
<htmlTagId>mainMapPane</htmlTagId> |
|
40 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
41 |
<lineColor>#FF0000</lineColor> |
|
42 |
<lineWidth>1</lineWidth> |
|
43 |
<crossSize>15</crossSize> |
|
44 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
45 |
</AoiBoxWZ> |
|
46 |
<CursorTrack id="cursorTrack"> |
|
47 |
<mouseHandler>mainMap</mouseHandler> |
|
48 |
</CursorTrack> |
|
49 |
<Legend id="legend"> |
|
50 |
</Legend> |
|
51 |
<MapScaleText id="mapScaleText"> |
|
52 |
</MapScaleText> |
|
53 |
</widgets> |
|
54 |
<tools> |
|
55 |
<AoiMouseHandler id="mainAoi"/> |
|
56 |
<DragPanHandler id="mainDragPan"> |
|
57 |
<enabled>false</enabled> |
|
58 |
</DragPanHandler> |
|
59 |
<MouseClickHandler id="mainMouseClick"/> |
|
60 |
</tools> |
|
61 |
</Context> |
|
62 |
|
|
63 |
<!-- |
|
64 |
<Context id="locator"> |
|
65 |
<defaultModelUrl>config.xml</defaultModelUrl> |
|
66 |
<widgets> |
|
67 |
<MapPane id="locatorWidget"> |
|
68 |
<htmlTagId>locatorMap</htmlTagId> |
|
69 |
<targetModel>mainMap</targetModel> |
|
70 |
<mapContainerId>locatorContainer</mapContainerId> |
|
71 |
<fixedWidth>180</fixedWidth> |
|
72 |
</MapPane> |
|
73 |
<AoiBoxWZ id="aoiBox2"> |
|
74 |
<htmlTagId>locatorMap</htmlTagId> |
|
75 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
76 |
<lineColor>#FF0000</lineColor> |
|
77 |
<lineWidth>1</lineWidth> |
|
78 |
<crossSize>15</crossSize> |
|
79 |
<mapContainerId>locatorContainer</mapContainerId> |
|
80 |
</AoiBoxWZ> |
|
81 |
</widgets> |
|
82 |
<tools> |
|
83 |
<AoiMouseHandler id="locatorAoi"/> |
|
84 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
85 |
<targetModel>mainMap</targetModel> |
|
86 |
</ZoomToAoi> |
|
87 |
</tools> |
|
88 |
</Context> |
|
89 |
--> |
|
90 |
<Model id="locations"> |
|
91 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
92 |
<widgets> |
|
93 |
<Locations id="locationsSelect"> |
|
94 |
<targetModel>mainMap</targetModel> |
|
95 |
</Locations> |
|
96 |
</widgets> |
|
97 |
<tools> |
|
98 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
99 |
<targetModel>mainMap</targetModel> |
|
100 |
</ZoomToAoi> |
|
101 |
</tools> |
|
102 |
</Model> |
|
103 |
|
|
104 |
<Transaction id="transaction"> |
|
105 |
<widgets> |
|
106 |
<TransactionResponse id="transactionResponse"> |
|
107 |
</TransactionResponse> |
|
108 |
</widgets> |
|
109 |
</Transaction> |
|
110 |
<FeatureCollection id="featureCollection"> |
|
111 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
112 |
<widgets> |
|
113 |
<GmlRendererWZ id="testGmlRenderer"> |
|
114 |
<htmlTagId>mainMapPane</htmlTagId> |
|
115 |
<targetModel>mainMap</targetModel> |
|
116 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
117 |
<lineColor>#FF0000</lineColor> |
|
118 |
<lineWidth>1</lineWidth> |
|
119 |
<pointDiameter>10</pointDiameter> |
|
120 |
</GmlRendererWZ> |
|
121 |
<FeatureList id="featureList"> |
|
122 |
</FeatureList> |
|
123 |
</widgets> |
|
124 |
</FeatureCollection> |
|
125 |
</models> |
|
126 |
<widgets> |
|
127 |
<ZoomIn id="zoomIn"> |
|
128 |
<buttonBar>mainButtonBar</buttonBar> |
|
129 |
<targetModel>mainMap</targetModel> |
|
130 |
<mouseHandler>mainAoi</mouseHandler> |
|
131 |
<class>RadioButton</class> |
|
132 |
<selected>true</selected> |
|
133 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
|
134 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
|
135 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
136 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
137 |
</ZoomIn> |
|
138 |
<ZoomOut id="zoomOut"> |
|
139 |
<buttonBar>mainButtonBar</buttonBar> |
|
140 |
<targetModel>mainMap</targetModel> |
|
141 |
<mouseHandler>mainAoi</mouseHandler> |
|
142 |
<class>RadioButton</class> |
|
143 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
|
144 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
|
145 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
146 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
147 |
</ZoomOut> |
|
148 |
<DragPan id="dragPan"> |
|
149 |
<buttonBar>mainButtonBar</buttonBar> |
|
150 |
<targetModel>mainMap</targetModel> |
|
151 |
<mouseHandler>mainDragPan</mouseHandler> |
|
152 |
<class>RadioButton</class> |
|
153 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
|
154 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
|
155 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
156 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
157 |
</DragPan> |
|
158 |
<Reset id="reset"> |
|
159 |
<buttonBar>mainButtonBar</buttonBar> |
|
160 |
<targetModel>mainMap</targetModel> |
|
161 |
<class>Button</class> |
|
162 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
|
163 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
164 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
165 |
</Reset> |
|
166 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
167 |
<buttonBar>mainButtonBar</buttonBar> |
|
168 |
<targetModel>mainMap</targetModel> |
|
169 |
<mouseHandler>mainAoi</mouseHandler> |
|
170 |
<class>RadioButton</class> |
|
171 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
|
172 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
|
173 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
|
174 |
<metacat>../../../../metacat</metacat> |
|
175 |
<skin>nceas</skin> |
|
176 |
<pixel_tolerance>5</pixel_tolerance> |
|
177 |
</AoiMetacatQuery> |
|
178 |
</widgets> |
|
179 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
|
180 |
<proxyUrl>../../../proxy.jsp</proxyUrl> |
|
181 |
</MapbuilderConfig> |
|
182 |
|
|
0 | 183 |
lib/style/skins/nceas/spatial/map.css | ||
---|---|---|
1 |
/* |
|
2 |
* '$RCSfile$' |
|
3 |
* Purpose: Default style sheet for KNB project web pages |
|
4 |
* Using this stylesheet rather than placing styles directly in |
|
5 |
* the KNB web documents allows us to globally change the |
|
6 |
* formatting styles of the entire site in one easy place. |
|
7 |
* Copyright: 2000 Regents of the University of California and the |
|
8 |
* National Center for Ecological Analysis and Synthesis |
|
9 |
* Authors: Matt Jones |
|
10 |
* |
|
11 |
* '$Author$' |
|
12 |
* '$Date$' |
|
13 |
* '$Revision$' |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or modify |
|
16 |
* it under the terms of the GNU General Public License as published by |
|
17 |
* the Free Software Foundation; either version 2 of the License, or |
|
18 |
* (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
28 |
*/ |
|
29 |
#mapContainer { |
|
30 |
position: absolute; |
|
31 |
right: 0px; |
|
32 |
top: 0px; |
|
33 |
} |
|
34 |
|
|
35 |
#mapControl { |
|
36 |
height: 48px; |
|
37 |
width: 31px; |
|
38 |
} |
|
39 |
|
|
40 |
div#mapControlHide, |
|
41 |
div#mapControlShow { |
|
42 |
width: 100%; |
|
43 |
height: 100%; |
|
44 |
vertical-align: center; |
|
45 |
} |
|
46 |
|
|
47 |
div#mapControl a { |
|
48 |
display: block; |
|
49 |
margin: 0; padding:0; |
|
50 |
width:100%; |
|
51 |
height:100%; |
|
52 |
overflow:hidden; |
|
53 |
text-decoration:none; |
|
54 |
} |
|
55 |
|
|
56 |
|
|
57 |
div#mapControlShow { |
|
58 |
background: transparent url(../images/show_map.gif) no-repeat bottom left; |
|
59 |
} |
|
60 |
|
|
61 |
div#mapControlHide { |
|
62 |
background: transparent url(../images/hide_map.gif) no-repeat bottom left; |
|
63 |
} |
|
64 |
|
|
65 |
div#mapControlShow a { |
|
66 |
background: transparent url(../show_map.gif) no-repeat top left; |
|
67 |
text-decoration:none; |
|
68 |
} |
|
69 |
div#mapControlHide a { |
|
70 |
background: transparent url(../hide_map.gif) no-repeat top left; |
|
71 |
text-decoration:none; |
|
72 |
} |
|
73 |
|
|
74 |
div#mapControlShow a:hover { |
|
75 |
background:none; |
|
76 |
text-decoration: none; |
|
77 |
} |
|
78 |
|
|
79 |
div#mapControlHide a:hover { |
|
80 |
background:none; |
|
81 |
text-decoration: none; |
|
82 |
} |
|
83 |
|
|
0 | 84 |
lib/style/skins/nceas/spatial/html.css | ||
---|---|---|
1 |
h2 { |
|
2 |
color: red; |
|
3 |
background-color: silver; |
|
4 |
} |
|
5 |
|
|
6 |
|
|
7 |
INPUT.bareinput { |
|
8 |
border: 0px blue none; |
|
9 |
font: 8pt Verdana, geneva, arial, sans-serif; |
|
10 |
color: #000000; |
|
11 |
background-color: transparent; |
|
12 |
} |
|
13 |
|
|
14 |
#mainMapContainer { |
|
15 |
border: 1px solid olive; |
|
16 |
cursor: crosshair; |
|
17 |
text-align: left; |
|
18 |
background-color: white; |
|
19 |
} |
|
20 |
|
|
21 |
#legend td { |
|
22 |
/* |
|
23 |
font-size: 70%; |
|
24 |
font-family: cursive; |
|
25 |
background-color: silver; |
|
26 |
*/ |
|
27 |
font: 11pt arial, sans-serif; |
|
28 |
color: #000; |
|
29 |
} |
|
30 |
|
|
31 |
|
|
32 |
img#query_topp\:metacat_testdata { display:none; } |
|
33 |
|
|
0 | 34 |
lib/style/skins/knb2/index.jsp | ||
---|---|---|
32 | 32 |
%> |
33 | 33 |
<%@ include file="PORTAL_SETTINGS.jsp"%> |
34 | 34 |
<%@ include file="include_session_vars.jsp"%> |
35 |
<%@ page import="edu.ucsb.nceas.metacat.MetaCatUtil" %> |
|
36 |
|
|
35 | 37 |
<% |
36 | 38 |
/////////////////////////////////////////////////////////////////////////////// |
37 | 39 |
// |
... | ... | |
101 | 103 |
<tr> |
102 | 104 |
<td class="text_plain"><%@ include file="include_searchbox.jsp" %></td> |
103 | 105 |
</tr> |
106 |
|
|
107 |
<% if ( MetaCatUtil.getOption("runSpatialOption").equals("true") ) { %> |
|
104 | 108 |
<tr> |
105 | 109 |
<td class="text_plain"><%@ include file="include_map.jsp" %></td> |
106 | 110 |
</tr> |
111 |
<% } %> |
|
112 |
|
|
107 | 113 |
<tr> |
108 | 114 |
<td><img src="images/transparent1x1.gif" width="200" height="5"></td> |
109 | 115 |
</tr> |
lib/style/skins/nrs/map.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* '$RCSfile$' |
|
3 |
* Authors: Matt Jones |
|
4 |
* Copyright: 2000 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* |
|
8 |
* '$Author$' |
|
9 |
* '$Date$' |
|
10 |
* '$Revision$' |
|
11 |
* |
|
12 |
* This is an HTML document for displaying metadata catalog tools |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or modify |
|
15 |
* it under the terms of the GNU General Public License as published by |
|
16 |
* the Free Software Foundation; either version 2 of the License, or |
|
17 |
* (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
27 |
--> |
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
29 |
<html> |
|
30 |
<head> |
|
31 |
<title>UCNRS Data Registry Interactive Map</title> |
|
32 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="@systemidserver@@style-skins-path@/nrs/nrs.css"></link> |
|
35 |
<script language="JavaScript" type="text/JavaScript" |
|
36 |
src="@systemidserver@@style-skins-path@/nrs/nrs.js"></script> |
|
37 |
<script language="JavaScript" type="text/JavaScript" |
|
38 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
39 |
</head> |
|
40 |
<body> |
|
41 |
<script language="JavaScript"> |
|
42 |
insertTemplateOpening(); |
|
43 |
//insertSearchBox(); |
|
44 |
</script> |
|
45 |
|
|
46 |
<iframe frameborder="0" width="750" height="520" src="spatial/map.html"> |
|
47 |
You need iframe support to view the interactive map |
|
48 |
</iframe> |
|
49 |
|
|
50 |
<script language="JavaScript"> |
|
51 |
insertTemplateClosing(); |
|
52 |
</script> |
|
53 |
</body> |
|
54 |
</html> |
|
0 | 55 |
lib/style/skins/nrs/spatial/map.html | ||
---|---|---|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<title>Metacat Spatial Option Demo</title> |
|
5 |
|
|
6 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/docsStyle.css'> |
|
7 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/mapStyle.css'> |
|
8 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/button.css'> |
|
9 |
<link rel='StyleSheet' type='text/css' href='../../../../spatial/mapbuilder/lib/skin/default/scalebar-fat.css'> |
|
10 |
|
|
11 |
<script type="text/javascript"> |
|
12 |
var mbConfigUrl="config.xml"; |
|
13 |
</script> |
|
14 |
|
|
15 |
<script type="text/javascript" src="../../../../spatial/mapbuilder/lib/Mapbuilder.js"></script> |
|
16 |
</head> |
|
17 |
<body onload="mbDoLoad()"> |
|
18 |
|
|
19 |
<table border="0"> |
|
20 |
<tr> |
|
21 |
<td colspan="2"> |
|
22 |
<div id="mainMapPane" style="background-color:#b8d5f5;" /> |
|
23 |
<div id="loading"> |
|
24 |
<p> Loading Map |
|
25 |
<img src="../../../../spatial/mapbuilder/lib/skin/default/images/Loading.gif"/> |
|
26 |
</p> |
|
27 |
</div> |
|
28 |
</td> |
|
29 |
|
|
30 |
</tr> |
|
31 |
<tr align="left"> |
|
32 |
<td> |
|
33 |
|
|
34 |
<table border="0" width="100%"> |
|
35 |
<tr valign="top"> |
|
36 |
<td id="legend" align="left"/> |
|
37 |
<td width="45%" align="right"> |
|
38 |
<table> |
|
39 |
<tr> |
|
40 |
<td align="center" id="cursorTrack" /> |
|
41 |
<td align="right" id="mainButtonBar" /> |
|
42 |
</tr> |
|
43 |
<tr><td colspan="2" align="right" id="locationsSelect" /> </tr> |
|
44 |
<!-- <tr><td colspan="2" align="right" id="scalebar"/> </tr> --> |
|
45 |
<tr> |
|
46 |
<td colspan="2" align="right" style="font-size:8pt;"> |
|
47 |
<a style="text-decoration:none;" href="../../../../spatial/kml.jsp"> |
|
48 |
<br/> |
|
49 |
Download Google Earth KML |
|
50 |
<img border="0" src="../../../../style/images/kml.gif"> |
|
51 |
</a> |
|
52 |
</td> |
|
53 |
</tr> |
|
54 |
</table> |
|
55 |
</td> |
|
56 |
|
|
57 |
</tr> |
|
58 |
</table> |
|
59 |
|
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
63 |
|
|
64 |
|
|
65 |
</body> |
|
66 |
</html> |
|
0 | 67 |
lib/style/skins/nrs/spatial/config.xml | ||
---|---|---|
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$ |
|
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 |
<Loading id="loading"/> |
|
20 |
<Loading2 id="loading2"> |
|
21 |
<mapContainerId>mainMapPane</mapContainerId> |
|
22 |
</Loading2> |
|
23 |
<!-- <MapScaleBar id="scalebar"> |
|
24 |
<displaySystem>metric</displaySystem> |
|
25 |
<minWidth>150</minWidth> |
|
26 |
<maxWidth>250</maxWidth> |
|
27 |
<divisions>4</divisions> |
|
28 |
<subdivisions>2</subdivisions> |
|
29 |
<showMinorMeasures>false</showMinorMeasures> |
|
30 |
<abbreviateLabel>true</abbreviateLabel> |
|
31 |
<singleLine>false</singleLine> |
|
32 |
<align>center</align> |
|
33 |
</MapScaleBar> --> |
|
34 |
<MapPane id="mainMapWidget"> |
|
35 |
<htmlTagId>mainMapPane</htmlTagId> |
|
36 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
37 |
</MapPane> |
|
38 |
<AoiBoxWZ id="aoiBox2"> |
|
39 |
<htmlTagId>mainMapPane</htmlTagId> |
|
40 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
41 |
<lineColor>#FF0000</lineColor> |
|
42 |
<lineWidth>1</lineWidth> |
|
43 |
<crossSize>15</crossSize> |
|
44 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
45 |
</AoiBoxWZ> |
|
46 |
<CursorTrack id="cursorTrack"> |
|
47 |
<mouseHandler>mainMap</mouseHandler> |
|
48 |
</CursorTrack> |
|
49 |
<Legend id="legend"> |
|
50 |
</Legend> |
|
51 |
<MapScaleText id="mapScaleText"> |
|
52 |
</MapScaleText> |
|
53 |
</widgets> |
|
54 |
<tools> |
|
55 |
<AoiMouseHandler id="mainAoi"/> |
|
56 |
<DragPanHandler id="mainDragPan"> |
|
57 |
<enabled>false</enabled> |
|
58 |
</DragPanHandler> |
|
59 |
<MouseClickHandler id="mainMouseClick"/> |
|
60 |
</tools> |
|
61 |
</Context> |
|
62 |
|
|
63 |
<!-- |
|
64 |
<Context id="locator"> |
|
65 |
<defaultModelUrl>config.xml</defaultModelUrl> |
|
66 |
<widgets> |
|
67 |
<MapPane id="locatorWidget"> |
|
68 |
<htmlTagId>locatorMap</htmlTagId> |
|
69 |
<targetModel>mainMap</targetModel> |
|
70 |
<mapContainerId>locatorContainer</mapContainerId> |
|
71 |
<fixedWidth>180</fixedWidth> |
|
72 |
</MapPane> |
|
73 |
<AoiBoxWZ id="aoiBox2"> |
|
74 |
<htmlTagId>locatorMap</htmlTagId> |
|
75 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
76 |
<lineColor>#FF0000</lineColor> |
|
77 |
<lineWidth>1</lineWidth> |
|
78 |
<crossSize>15</crossSize> |
|
79 |
<mapContainerId>locatorContainer</mapContainerId> |
|
80 |
</AoiBoxWZ> |
|
81 |
</widgets> |
|
82 |
<tools> |
|
83 |
<AoiMouseHandler id="locatorAoi"/> |
|
84 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
85 |
<targetModel>mainMap</targetModel> |
|
86 |
</ZoomToAoi> |
|
87 |
</tools> |
|
88 |
</Context> |
|
89 |
--> |
|
90 |
<Model id="locations"> |
|
91 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
92 |
<widgets> |
|
93 |
<Locations id="locationsSelect"> |
|
94 |
<targetModel>mainMap</targetModel> |
|
95 |
</Locations> |
|
96 |
</widgets> |
|
97 |
<tools> |
|
98 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
99 |
<targetModel>mainMap</targetModel> |
|
100 |
</ZoomToAoi> |
|
101 |
</tools> |
|
102 |
</Model> |
|
103 |
|
|
104 |
<Transaction id="transaction"> |
|
105 |
<widgets> |
|
106 |
<TransactionResponse id="transactionResponse"> |
|
107 |
</TransactionResponse> |
|
108 |
</widgets> |
|
109 |
</Transaction> |
|
110 |
<FeatureCollection id="featureCollection"> |
|
111 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
112 |
<widgets> |
|
113 |
<GmlRendererWZ id="testGmlRenderer"> |
|
114 |
<htmlTagId>mainMapPane</htmlTagId> |
|
115 |
<targetModel>mainMap</targetModel> |
|
116 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
117 |
<lineColor>#FF0000</lineColor> |
|
118 |
<lineWidth>1</lineWidth> |
|
119 |
<pointDiameter>10</pointDiameter> |
|
120 |
</GmlRendererWZ> |
|
121 |
<FeatureList id="featureList"> |
|
122 |
</FeatureList> |
|
123 |
</widgets> |
|
124 |
</FeatureCollection> |
|
125 |
</models> |
|
126 |
<widgets> |
|
127 |
<ZoomIn id="zoomIn"> |
|
128 |
<buttonBar>mainButtonBar</buttonBar> |
|
129 |
<targetModel>mainMap</targetModel> |
|
130 |
<mouseHandler>mainAoi</mouseHandler> |
|
131 |
<class>RadioButton</class> |
|
132 |
<selected>true</selected> |
|
133 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
|
134 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
|
135 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
136 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
137 |
</ZoomIn> |
|
138 |
<ZoomOut id="zoomOut"> |
|
139 |
<buttonBar>mainButtonBar</buttonBar> |
|
140 |
<targetModel>mainMap</targetModel> |
|
141 |
<mouseHandler>mainAoi</mouseHandler> |
|
142 |
<class>RadioButton</class> |
|
143 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
|
144 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
|
145 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
146 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
147 |
</ZoomOut> |
|
148 |
<DragPan id="dragPan"> |
|
149 |
<buttonBar>mainButtonBar</buttonBar> |
|
150 |
<targetModel>mainMap</targetModel> |
|
151 |
<mouseHandler>mainDragPan</mouseHandler> |
|
152 |
<class>RadioButton</class> |
|
153 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
|
154 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
|
155 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
156 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
157 |
</DragPan> |
|
158 |
<Reset id="reset"> |
|
159 |
<buttonBar>mainButtonBar</buttonBar> |
|
160 |
<targetModel>mainMap</targetModel> |
|
161 |
<class>Button</class> |
|
162 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
|
163 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
164 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
165 |
</Reset> |
|
166 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
167 |
<buttonBar>mainButtonBar</buttonBar> |
|
168 |
<targetModel>mainMap</targetModel> |
|
169 |
<mouseHandler>mainAoi</mouseHandler> |
|
170 |
<class>RadioButton</class> |
|
171 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
|
172 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
|
173 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
|
174 |
<metacat>../../../../metacat</metacat> |
|
175 |
<skin>nrs</skin> |
|
176 |
<pixel_tolerance>5</pixel_tolerance> |
|
177 |
</AoiMetacatQuery> |
|
178 |
</widgets> |
|
179 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
|
180 |
<proxyUrl>../../../proxy.jsp</proxyUrl> |
|
181 |
</MapbuilderConfig> |
|
182 |
|
|
0 | 183 |
lib/style/skins/nrs/spatial/html.css | ||
---|---|---|
1 |
h2 { |
|
2 |
color: red; |
|
3 |
background-color: silver; |
|
4 |
} |
|
5 |
|
|
6 |
|
|
7 |
INPUT.bareinput { |
|
8 |
border: 0px blue none; |
|
9 |
font: 8pt Verdana, geneva, arial, sans-serif; |
|
10 |
color: #000000; |
|
11 |
background-color: transparent; |
|
12 |
} |
|
13 |
|
|
14 |
#mainMapContainer { |
|
15 |
border: 1px solid olive; |
|
16 |
cursor: crosshair; |
|
17 |
text-align: left; |
|
18 |
background-color: white; |
|
19 |
} |
|
20 |
|
|
21 |
#legend td { |
|
22 |
/* |
|
23 |
font-size: 70%; |
|
24 |
font-family: cursive; |
|
25 |
background-color: silver; |
|
26 |
*/ |
|
27 |
font: 11pt arial, sans-serif; |
|
28 |
color: #000; |
|
29 |
} |
|
30 |
|
|
31 |
|
|
32 |
img#query_topp\:metacat_testdata { display:none; } |
|
33 |
|
|
0 | 34 |
lib/style/skins/esa/map.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* '$RCSfile$' |
|
3 |
* Copyright: 2004 Regents of the University of California and the |
|
4 |
* National Center for Ecological Analysis and Synthesis |
|
5 |
* For Details: http://www.nceas.ucsb.edu/ |
|
6 |
* |
|
7 |
* '$Author$' |
|
8 |
* '$Date$' |
|
9 |
* '$Revision$' |
|
10 |
* |
|
11 |
* This is an HTML document for displaying metadata catalog tools |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or modify |
|
14 |
* it under the terms of the GNU General Public License as published by |
|
15 |
* the Free Software Foundation; either version 2 of the License, or |
|
16 |
* (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
26 |
--> |
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
28 |
<html> |
|
29 |
<head> |
|
30 |
<title>ESA Data Registry Interactive Map</title> |
|
31 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
32 |
<link rel="stylesheet" type="text/css" |
|
33 |
href="@systemidserver@@style-skins-path@/esa/esa.css"></link> |
|
34 |
<script language="JavaScript" type="text/JavaScript" |
|
35 |
src="@systemidserver@@style-skins-path@/esa/esa.js"></script> |
|
36 |
<script language="JavaScript" type="text/JavaScript" |
|
37 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
38 |
</head> |
|
39 |
<body> |
|
40 |
<script language="JavaScript"> |
|
41 |
insertTemplateOpening(); |
|
42 |
//insertSearchBox(); |
|
43 |
</script> |
|
44 |
|
|
45 |
<iframe frameborder="0" width="750" height="520" src="spatial/map.html"> |
|
46 |
You need iframe support |
|
47 |
</iframe> |
|
48 |
|
|
49 |
<script language="JavaScript"> |
|
50 |
insertTemplateClosing(); |
|
51 |
</script> |
|
52 |
</body> |
|
53 |
</html> |
|
0 | 54 |
lib/style/skins/esa/spatial/config.xml | ||
---|---|---|
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$ |
|
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 |
<Loading id="loading"/> |
|
20 |
<Loading2 id="loading2"> |
|
21 |
<mapContainerId>mainMapPane</mapContainerId> |
|
22 |
</Loading2> |
|
23 |
<!-- <MapScaleBar id="scalebar"> |
|
24 |
<displaySystem>metric</displaySystem> |
|
25 |
<minWidth>150</minWidth> |
|
26 |
<maxWidth>250</maxWidth> |
|
27 |
<divisions>4</divisions> |
|
28 |
<subdivisions>2</subdivisions> |
|
29 |
<showMinorMeasures>false</showMinorMeasures> |
|
30 |
<abbreviateLabel>true</abbreviateLabel> |
|
31 |
<singleLine>false</singleLine> |
|
32 |
<align>center</align> |
|
33 |
</MapScaleBar> --> |
|
34 |
<MapPane id="mainMapWidget"> |
|
35 |
<htmlTagId>mainMapPane</htmlTagId> |
|
36 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
37 |
</MapPane> |
|
38 |
<AoiBoxWZ id="aoiBox2"> |
|
39 |
<htmlTagId>mainMapPane</htmlTagId> |
|
40 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
41 |
<lineColor>#FF0000</lineColor> |
|
42 |
<lineWidth>1</lineWidth> |
|
43 |
<crossSize>15</crossSize> |
|
44 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
45 |
</AoiBoxWZ> |
|
46 |
<CursorTrack id="cursorTrack"> |
|
47 |
<mouseHandler>mainMap</mouseHandler> |
|
48 |
</CursorTrack> |
|
49 |
<Legend id="legend"> |
|
50 |
</Legend> |
|
51 |
<MapScaleText id="mapScaleText"> |
|
52 |
</MapScaleText> |
|
53 |
</widgets> |
|
54 |
<tools> |
|
55 |
<AoiMouseHandler id="mainAoi"/> |
|
56 |
<DragPanHandler id="mainDragPan"> |
|
57 |
<enabled>false</enabled> |
|
58 |
</DragPanHandler> |
|
59 |
<MouseClickHandler id="mainMouseClick"/> |
|
60 |
</tools> |
|
61 |
</Context> |
|
62 |
|
|
63 |
<!-- |
|
64 |
<Context id="locator"> |
|
65 |
<defaultModelUrl>config.xml</defaultModelUrl> |
|
66 |
<widgets> |
|
67 |
<MapPane id="locatorWidget"> |
|
68 |
<htmlTagId>locatorMap</htmlTagId> |
|
69 |
<targetModel>mainMap</targetModel> |
|
70 |
<mapContainerId>locatorContainer</mapContainerId> |
|
71 |
<fixedWidth>180</fixedWidth> |
|
72 |
</MapPane> |
|
73 |
<AoiBoxWZ id="aoiBox2"> |
|
74 |
<htmlTagId>locatorMap</htmlTagId> |
|
75 |
<stylesheet>../../../../spatial/mapbuilder/lib/widget/GmlRenderer.xsl</stylesheet> |
|
76 |
<lineColor>#FF0000</lineColor> |
|
77 |
<lineWidth>1</lineWidth> |
|
78 |
<crossSize>15</crossSize> |
|
79 |
<mapContainerId>locatorContainer</mapContainerId> |
|
80 |
</AoiBoxWZ> |
|
81 |
</widgets> |
|
82 |
<tools> |
|
83 |
<AoiMouseHandler id="locatorAoi"/> |
|
84 |
<ZoomToAoi id="locatorZoomToAoi"> |
|
85 |
<targetModel>mainMap</targetModel> |
|
86 |
</ZoomToAoi> |
|
87 |
</tools> |
|
88 |
</Context> |
|
89 |
--> |
|
90 |
<Model id="locations"> |
|
91 |
<defaultModelUrl>./named_locations.xml</defaultModelUrl> |
|
92 |
<widgets> |
|
93 |
<Locations id="locationsSelect"> |
|
94 |
<targetModel>mainMap</targetModel> |
|
95 |
</Locations> |
|
96 |
</widgets> |
|
97 |
<tools> |
|
98 |
<ZoomToAoi id="locationsZoomToAoi"> |
|
99 |
<targetModel>mainMap</targetModel> |
|
100 |
</ZoomToAoi> |
|
101 |
</tools> |
|
102 |
</Model> |
|
103 |
|
|
104 |
<Transaction id="transaction"> |
|
105 |
<widgets> |
|
106 |
<TransactionResponse id="transactionResponse"> |
|
107 |
</TransactionResponse> |
|
108 |
</widgets> |
|
109 |
</Transaction> |
|
110 |
<FeatureCollection id="featureCollection"> |
|
111 |
<namespace>xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs' xmlns:topp='http://www.openplans.org/topp'</namespace> |
|
112 |
<widgets> |
|
113 |
<GmlRendererWZ id="testGmlRenderer"> |
|
114 |
<htmlTagId>mainMapPane</htmlTagId> |
|
115 |
<targetModel>mainMap</targetModel> |
|
116 |
<mapContainerId>mainMapContainer</mapContainerId> |
|
117 |
<lineColor>#FF0000</lineColor> |
|
118 |
<lineWidth>1</lineWidth> |
|
119 |
<pointDiameter>10</pointDiameter> |
|
120 |
</GmlRendererWZ> |
|
121 |
<FeatureList id="featureList"> |
|
122 |
</FeatureList> |
|
123 |
</widgets> |
|
124 |
</FeatureCollection> |
|
125 |
</models> |
|
126 |
<widgets> |
|
127 |
<ZoomIn id="zoomIn"> |
|
128 |
<buttonBar>mainButtonBar</buttonBar> |
|
129 |
<targetModel>mainMap</targetModel> |
|
130 |
<mouseHandler>mainAoi</mouseHandler> |
|
131 |
<class>RadioButton</class> |
|
132 |
<selected>true</selected> |
|
133 |
<enabledSrc>/images/ZoomInEnable.png</enabledSrc> |
|
134 |
<disabledSrc>/images/ZoomInDisable.png</disabledSrc> |
|
135 |
<tooltip xml:lang="en">click map or drag to zoom in</tooltip> |
|
136 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour agrandir</tooltip--> |
|
137 |
</ZoomIn> |
|
138 |
<ZoomOut id="zoomOut"> |
|
139 |
<buttonBar>mainButtonBar</buttonBar> |
|
140 |
<targetModel>mainMap</targetModel> |
|
141 |
<mouseHandler>mainAoi</mouseHandler> |
|
142 |
<class>RadioButton</class> |
|
143 |
<enabledSrc>/images/ZoomOutEnable.png</enabledSrc> |
|
144 |
<disabledSrc>/images/ZoomOutDisable.png</disabledSrc> |
|
145 |
<tooltip xml:lang="en">click map to zoom out</tooltip> |
|
146 |
<!--tooltip xml:lang="fr">cliquer pour rée</tooltip--> |
|
147 |
</ZoomOut> |
|
148 |
<DragPan id="dragPan"> |
|
149 |
<buttonBar>mainButtonBar</buttonBar> |
|
150 |
<targetModel>mainMap</targetModel> |
|
151 |
<mouseHandler>mainDragPan</mouseHandler> |
|
152 |
<class>RadioButton</class> |
|
153 |
<enabledSrc>/images/PanEnable.png</enabledSrc> |
|
154 |
<disabledSrc>/images/PanDisable.png</disabledSrc> |
|
155 |
<tooltip xml:lang="en">click and drag to pan</tooltip> |
|
156 |
<!--tooltip xml:lang="fr">cliquer et faire glisser la souris pour voir un autre parti de la carte</tooltip--> |
|
157 |
</DragPan> |
|
158 |
<Reset id="reset"> |
|
159 |
<buttonBar>mainButtonBar</buttonBar> |
|
160 |
<targetModel>mainMap</targetModel> |
|
161 |
<class>Button</class> |
|
162 |
<disabledSrc>/images/ResetExtentDisable.png</disabledSrc> |
|
163 |
<tooltip xml:lang="en">reset the map to full extent</tooltip> |
|
164 |
<!--tooltip xml:lang="fr">redonner la carte ses dimensions complèts</tooltip--> |
|
165 |
</Reset> |
|
166 |
<AoiMetacatQuery id="aoiMetacatQuery"> |
|
167 |
<buttonBar>mainButtonBar</buttonBar> |
|
168 |
<targetModel>mainMap</targetModel> |
|
169 |
<mouseHandler>mainAoi</mouseHandler> |
|
170 |
<class>RadioButton</class> |
|
171 |
<enabledSrc>/images/QueryEnable.png</enabledSrc> |
|
172 |
<disabledSrc>/images/QueryDisable.png</disabledSrc> |
|
173 |
<tooltip xml:lang="en">select multiple datasets</tooltip> |
|
174 |
<metacat>../../../../metacat</metacat> |
|
175 |
<skin>esa</skin> |
|
176 |
<pixel_tolerance>5</pixel_tolerance> |
|
177 |
</AoiMetacatQuery> |
|
178 |
</widgets> |
|
179 |
<skinDir>../../../../spatial/mapbuilder/lib/skin/default</skinDir> |
|
180 |
<proxyUrl>../../../proxy.jsp</proxyUrl> |
|
181 |
</MapbuilderConfig> |
|
182 |
|
|
0 | 183 |
lib/style/skins/nrs/spatial/named_locations.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
|
2 |
<!-- $Id$ --> |
|
3 |
<QuickviewPresetResultSet version="1.0.0" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder ../../../lib/schemas/locations.xsd"> |
|
4 |
<gml:description>This is the CMB preset zoom document</gml:description> |
|
5 |
<gml:name>CMB:QuickViewPreset</gml:name> |
|
6 |
<gml:boundedBy> |
|
7 |
<gml:Null>missing</gml:Null> |
|
8 |
</gml:boundedBy> |
|
9 |
|
|
10 |
<gml:featureMember> |
|
11 |
<locationDef> |
|
12 |
<gml:name> Select a Location</gml:name> |
|
13 |
<spatialKeyword> |
|
14 |
<gml:location> |
|
15 |
<gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> |
|
16 |
<gml:coordinates>-180,-90 180,90</gml:coordinates> |
|
17 |
</gml:Envelope> |
|
18 |
</gml:location> |
|
19 |
</spatialKeyword> |
|
20 |
</locationDef> |
|
21 |
</gml:featureMember> |
|
22 |
|
|
23 |
<gml:featureMember> |
|
24 |
<locationDef> |
|
25 |
<gml:name>ACM Wilderness Field Station</gml:name> |
|
26 |
<spatialKeyword> |
|
27 |
<gml:location> |
|
28 |
<gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> |
|
29 |
<gml:coordinates>-91.956,47.87 -91.706,48.12</gml:coordinates> |
|
30 |
</gml:Envelope> |
|
31 |
</gml:location> |
|
32 |
</spatialKeyword> |
|
33 |
</locationDef> |
|
34 |
</gml:featureMember> |
|
35 |
|
|
36 |
<gml:featureMember> |
|
37 |
<locationDef> |
|
38 |
<gml:name>Adirondack Ecological Center</gml:name> |
|
39 |
<spatialKeyword> |
|
40 |
<gml:location> |
|
41 |
<gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> |
|
42 |
<gml:coordinates>-74.36,43.86 -74.11,44.11</gml:coordinates> |
|
43 |
</gml:Envelope> |
|
44 |
</gml:location> |
|
45 |
</spatialKeyword> |
|
46 |
</locationDef> |
|
47 |
</gml:featureMember> |
|
48 |
|
|
49 |
<gml:featureMember> |
|
50 |
<locationDef> |
|
51 |
<gml:name>Alice L. Kibbe Life Science Station</gml:name> |
|
52 |
<spatialKeyword> |
|
53 |
<gml:location> |
|
54 |
<gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> |
|
55 |
<gml:coordinates>-91.505,40.125 -91.255,40.375</gml:coordinates> |
|
56 |
</gml:Envelope> |
|
57 |
</gml:location> |
|
58 |
</spatialKeyword> |
|
59 |
</locationDef> |
|
60 |
</gml:featureMember> |
|
61 |
|
|
62 |
<gml:featureMember> |
|
63 |
<locationDef> |
Also available in: Unified diff
Initial import of interactive map components for the following skins: esa, knb2, knp, obfs, nceas, nrs