|
34 | 34 | <body>
|
35 | 35 | <div>
|
36 | 36 | <!-- the @width / @height attributes take precedence over properties, but currently don't change to reflect updates -->
|
37 |
| - <img usemap="#dowslake" src="map1.png" width="700" height="400" alt="Dow's Lake area" /> |
| 37 | +<!-- <img usemap="#dowslake" src="map1.png" width="700" height="400" alt="Dow's Lake area" />--> |
38 | 38 | <map name="dowslake" is="web-map" zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls hidden>
|
39 |
| - <layer- id="osm" src="http://geogratis.gc.ca/mapml/en/osmtile/osm/" label="Open Street Map" checked hidden></layer-> |
40 |
| - <layer- id="cbmt" label="Canada Base Map" src="http://geogratis.gc.ca/mapml/en/osmtile/cbmt/" checked></layer-> |
41 |
| - <layer- id="canvec" label="CanVec+ 031G" src="http://geogratis.gc.ca/mapml/canvec/50k/features/" class="transparency"></layer-> |
42 |
| - <!-- the HTML author can create MapML files and serve them as layers if they prefer --> |
| 39 | + <layer- id="osm" src="http://geogratis.gc.ca/mapml/en/osmtile/osm/" label="Open Street Map" checked ></layer-> |
| 40 | + <device-location centered></device-location> |
| 41 | +<!-- <layer- id="cbmt" label="Canada Base Map" src="http://geogratis.gc.ca/mapml/en/osmtile/cbmt/" checked></layer->--> |
| 42 | +<!-- <layer- id="canvec" label="CanVec+ 031G" src="http://geogratis.gc.ca/mapml/canvec/50k/features/" class="transparency"></layer-> |
| 43 | + the HTML author can create MapML files and serve them as layers if they prefer |
43 | 44 | <layer- id="marker" label="Marker layer" src="marker.mapml"></layer->
|
44 | 45 |
|
45 |
| - <!-- or the HTML author can create map 'area's (links) within the HTML document --> |
46 |
| -<!-- <area is="map-area"id="wholemap" href='http://example.com/default/' alt="Default" shape="default" style="fill: salmon; stroke: none; fill-opacity: 0.01"></map-area>--> |
| 46 | + or the HTML author can create map 'area's (links) within the HTML document |
| 47 | + <area is="map-area"id="wholemap" href='http://example.com/default/' alt="Default" shape="default" style="fill: salmon; stroke: none; fill-opacity: 0.01"></map-area> |
47 | 48 | <area is="map-area" id="marker2" href='http://example.com/marker/' alt="Marker" coords="265,185,265,185" shape="marker">
|
48 | 49 | <area is="map-area" id="line" href='http://example.com/line/' alt="Line" coords="275,275,540,107" shape="line">
|
49 | 50 |
|
50 | 51 | <area is="map-area" id="doughnut" alt="Circle" href='http://example.com/circle/' coords="250,250,25" shape="circle" style="fill: white; stroke: aqua; stroke-width: 5px;fill-opacity: 0.0">
|
51 | 52 | <area is="map-area" id="hole" coords="250,250,7" shape="circle" style="fill: blue; stroke: none;fill-opacity: 0.3;">
|
52 | 53 | <area is="map-area" id="rect" href='http://example.com/rectangle/' alt="Rectangle" coords="345,290,415,320" shape="rect" style="fill: greenyellow; stroke: blue; stroke-width: 3px;fill-opacity: 0.4">
|
53 |
| - <area is="map-area" id="poly" href='http://example.com/polygon/' alt="Polygon" coords="392,116,430,100,441,128,405,145" shape="poly" style="fill: pink; stroke: blue; stroke-width: 3px;fill-opacity: 0.4"> |
| 54 | + <area is="map-area" id="poly" href='http://example.com/polygon/' alt="Polygon" coords="392,116,430,100,441,128,405,145" shape="poly" style="fill: pink; stroke: blue; stroke-width: 3px;fill-opacity: 0.4">--> |
54 | 55 | </map>
|
55 | 56 | </div>
|
56 | 57 | </body>
|
|
0 commit comments