Skip to content

Commit b83618c

Browse files
authored
Merge pull request #41 from prushforth/builds
Update builds bower.json, add index.html
2 parents 9f7034c + 1c8da4c commit b83618c

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

bower.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "web-map",
3-
"version": "0.1.0",
43
"description": "The Built-in <map> Custom Element is a Polymer implementation of the HTML-Map-Element specification.",
54
"main": "web-map.html",
65
"authors": [
7-
"Maps for HTML Community Group"
6+
{"name": "Peter Rushforth" ,"email": "[email protected]"},
7+
{"name": "Maps for HTML Community Group", "email": "[email protected]", "homepage": "https://www.w3.org/community/maps4html/"}
88
],
9+
"homepage": "http://maps4html.github.io/Web-Map-Custom-Element/",
910
"license": "W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE",
1011
"keywords": [
1112
"framework",

index.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>web-map demo</title>
5+
<meta charset="UTF-8">
6+
<!-- if you want to create a page in your project directory, you will have to
7+
adjust the paths to the webcomponents-lite.js polyfill and the web-map.html file
8+
based on the location of your html file. -->
9+
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
10+
<link rel="import" href="web-map.html">
11+
</head>
12+
<body>
13+
<div>
14+
<map is="web-map" zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls>
15+
<layer- label="osm" src="http://geogratis.gc.ca/mapml/osm/" checked></layer->
16+
<layer- label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/osmtile/cbmt/"></layer->
17+
<layer- label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/cbmt/"></layer->
18+
<layer- label="toporama_en" src="http://geogratis.gc.ca/mapml/en/osmtile/toporama/"></layer->
19+
<layer- label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/toporama/"></layer->
20+
<layer- label="geobase_en" src="http://geogratis.gc.ca/mapml/en/osmtile/geobase/"></layer->
21+
<layer- label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/geobase/"></layer->
22+
<layer- label="ablands_en" src="http://geogratis.gc.ca/mapml/en/osmtile/geobase/ablnd/"></layer->
23+
<layer- label="ablands_fr" src="http://geogratis.gc.ca/mapml/fr/osmtile/geobase/ablnd/"></layer->
24+
<layer- label="ce_en" src="http://geogratis.gc.ca/mapml/en/osmtile/ce/"></layer->
25+
</map>
26+
<map is="web-map" zoom="17" lat="45.398043" lon="-75.70683" width="700" height="400" controls projection="CBMTILE">
27+
<layer- label="cbmt_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbmt/" checked></layer->
28+
<layer- label="cbmt_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbmt/"></layer->
29+
<layer- class="hillshade" label="cbme_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/cbme/"></layer->
30+
<layer- class="hillshade" label="cbce_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/cbce/"></layer->
31+
<layer- label="toporama_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/toporama/"></layer->
32+
<layer- label="toporama_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/toporama/"></layer->
33+
<layer- label="geobase_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/geobase/"></layer->
34+
<layer- label="geobase_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/geobase/"></layer->
35+
<layer- label="ablands_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/geobase/ablnd/"></layer->
36+
<layer- label="ablands_fr" src="http://geogratis.gc.ca/mapml/fr/cbmtile/geobase/ablnd/"></layer->
37+
<layer- label="ce_en" src="http://geogratis.gc.ca/mapml/en/cbmtile/ce/"></layer->
38+
<layer- id="fdr" label="Fire Risk forecast" src="http://geogratis.gc.ca/mapml/fdr_current/" style="opacity: 0.4"></layer->
39+
</map>
40+
</div>
41+
</body>
42+
</html>

0 commit comments

Comments
 (0)