Skip to content

Commit 499331f

Browse files
committed
Fix typo, display county boundary by default
1 parent 20b8e66 commit 499331f

File tree

1 file changed

+47
-49
lines changed

1 file changed

+47
-49
lines changed

index.html

Lines changed: 47 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,55 @@
1+
<!DOCTYPE html>
12
<html>
2-
<head>
3+
<head>
4+
<meta charset="utf-8" />
35
<title>MapServer Itasca Application</title>
4-
<script language="javascript">
5-
function configure() {
6-
var template = document.demo.template.options[document.demo.template.selectedIndex].value;
6+
<script language="javascript">
7+
function configure() {
8+
var template = document.demo.template.options[document.demo.template.selectedIndex].value;
79

8-
var snippet = " TEMPLATE " + template;
9-
document.demo.map_web.value = snippet;
10-
11-
if(template.indexOf("frame") != -1) document.demo.action = "frames.html";
12-
if(template.indexOf("dhtml") != -1) document.demo.action = "frames_dhtml.html";
13-
}
14-
</script>
15-
</head>
16-
<body bgcolor="#FFFFFF">
10+
var snippet = " TEMPLATE " + template;
11+
document.demo.map_web.value = snippet;
1712

18-
<center><h2>MapServer Itasca Application (ms v7.0)</h2></center>
19-
<p><hr><p>
20-
This demonstration application will take you through various levels of complexity. Starting with a basic application that
21-
allows a user to pan/zoom and change layers we add:
22-
<ul>
23-
<li> dynamically configured scalebars
24-
<li> javascript-based panning
25-
<li> query results to a frame
26-
<li> and finally, a DHTML rubber-band zoom/query capabilty
27-
</ul>
28-
The base data is the old-reliable Itasca dataset that we know and love...
29-
13+
if (template.indexOf("frame") != -1) document.demo.action = "frames.html";
14+
if (template.indexOf("dhtml") != -1) document.demo.action = "frames_dhtml.html";
15+
}
16+
</script>
17+
</head>
18+
<body bgcolor="#FFFFFF">
19+
<center><h2>MapServer Itasca Application (ms v7)</h2></center>
20+
<p>
21+
<hr />
22+
This demonstration application will take you through various levels of complexity. Starting with a basic application that
23+
allows a user to pan/zoom and change layers we add:
24+
<ul>
25+
<li> dynamically configured scalebars</li>
26+
<li> JavaScript-based panning</li>
27+
<li> query results to a frame</li>
28+
<li> and finally, a DHTML rubber-band zoom/query capability</li>
29+
</ul>
30+
The base data is the old-reliable Itasca dataset that we know and love...
31+
</p>
3032
<!-- EDIT THE FORM ACTION -->
3133
<form name="demo" method="GET" action="/cgi-bin/mapserv" onSubmit="configure()">
32-
33-
<input type="hidden" name="layer" value="lakespy2">
34-
<input type="hidden" name="layer" value="dlgstln2">
35-
<input type="hidden" name="zoomsize" value=2>
36-
<input type="hidden" name="map_web" value="">
37-
38-
<!-- EDIT THESE HIDDEN VARIABLES -->
39-
<input type="hidden" name="map" value="/usr/local/www/docs_maps/mapserver_demos/workshop/itasca.map">
40-
<input type="hidden" name="program" value="/cgi-bin/mapserv">
41-
<input type="hidden" name="root" value="/mapserver_demos/workshop">
42-
43-
<select name="template" size="1">
44-
<option value="itasca_basic.html"> Basic Application
45-
<option value="itasca_adds_scalebar.html"> &nbsp;&nbsp;-- Adds second scalebar
46-
<option value="itasca_adds_pan.html"> &nbsp;&nbsp;-- Adds pan controls
47-
<option value="itasca_adds_frames.html"> &nbsp;&nbsp;-- Adds frames
48-
<option value="itasca_adds_dhtml.html"> &nbsp;&nbsp;-- Adds dhtml rubber-band box
49-
</select>
50-
<input type="submit" value="Initialize"></center>
51-
34+
<input type="hidden" name="layer" value="ctybdpy2">
35+
<input type="hidden" name="layer" value="lakespy2">
36+
<input type="hidden" name="layer" value="dlgstln2">
37+
<input type="hidden" name="zoomsize" value=2>
38+
<input type="hidden" name="map_web" value="">
39+
<!-- EDIT THESE HIDDEN VARIABLES -->
40+
<input type="hidden" name="map" value="/usr/local/www/docs_maps/mapserver_demos/workshop/itasca.map">
41+
<input type="hidden" name="program" value="/cgi-bin/mapserv">
42+
<input type="hidden" name="root" value="/mapserver_demos/workshop">
43+
<select name="template" size="1">
44+
<option value="itasca_basic.html"> Basic Application
45+
<option value="itasca_adds_scalebar.html"> &nbsp;&nbsp;-- Adds second scalebar
46+
<option value="itasca_adds_pan.html"> &nbsp;&nbsp;-- Adds pan controls
47+
<option value="itasca_adds_frames.html"> &nbsp;&nbsp;-- Adds frames
48+
<option value="itasca_adds_dhtml.html"> &nbsp;&nbsp;-- Adds dhtml rubber-band box
49+
</select>
50+
<input type="submit" value="Initialize">
5251
</form>
53-
54-
<p><hr>
55-
<table width="100%"><tr><td align="right">Powered by MapServer</td></tr></table>
56-
</body>
52+
<hr />
53+
<table style="width:100%"><tr><td align="right">Powered by MapServer</td></tr></table>
54+
</body>
5755
</html>

0 commit comments

Comments
 (0)