Skip to content

Commit 029a285

Browse files
authored
Merge pull request #70 from prushforth/builds
Merge changes
2 parents f5dd5ac + bfe15df commit 029a285

29 files changed

+3108
-124
lines changed

.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/nbproject/private/
2-
nbproject/customs.json
3-
nbproject/project.properties
4-
nbproject/project.xml
2+
/nbproject/customs.json
3+
/nbproject/project.properties
4+
/nbproject/project.xml
5+
/nbproject/
6+
/src/bower_components/
7+
/src/demo/bower_components/
8+
/dist/

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: node_js
2+
node_js: stable
3+
dist: trusty
4+
sudo: required
5+
addons:
6+
firefox: latest
7+
sauce_connect: true
8+
apt:
9+
sources:
10+
- google-chrome
11+
packages:
12+
- google-chrome-stable
13+
before_install:
14+
- npm install -g bower
15+
before_script:
16+
- npm install -g bower polylint web-component-tester
17+
- bower install
18+
- polylint
19+
script:
20+
- xvfb-run wct --skip-plugin sauce
21+
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct --skip-plugin local; fi
22+
env:
23+
global:
24+
- secure: IHIdoQXP45uMuZw4ylAKtWfBgF23XAyoax9qIGL2NpJ4eR5GiIicxxKxqGte8BhCkucJAtvLj1YFFrzbfn0HTcx9qijxadxMmv/xdj8wSnyFNqsNqv7K1zRopW6/FtlOqy0yb9G5uR9DUFpU6dLx7eRUhc43nLwiSJYuOXCTXeDRoXdLI0hztEnVGBHGfJZUFRNPaWGhQqBnZV2J5HTuXfUMWz5EOQJQ4YLwBnnAPM08OWs2i+KpcJQIaqeUb4srn/w4+eL+W0e3KZLO4NV2rgs7vu4l6xQnnlhl9kLm4V6bkwMdKH1JyHEXk61pJ314VtbM/CG+PE9NAcTQq4cXgCj3b/j2uYlCKzBrXEON/LddV9QTKXjryXmu+ppCwMy79++XgRlksKeoW9sQYqb3llTZMx//FphPSGkVXIYm+z2H3FuJfmTEbf3mH5EctUlAliOjSTA2mteoTUD0esfxqTu8ZM8+CugtpnKn+3eW6+Ms1HdSjIMq/CKadBxz9h8KY824zcqUO7yxIy3WYTjjNDteb203ezqifev9PDnp/GUA8xGfHb6VK0gMSLfWQOB7G1unal3QITMWDNe50dLNM1bBRP1e5qp98rE78OR3IwzBljW/PBsRbgk6qqU8BvYFIZUmuD9B89kRs7CxLnJlrMkjsVf7zcoSXIMiuUov9Lk=
25+
- secure: Iw8UpeU6JVYUkLrwJxftI1xDztHb06VlPFYiCyDFnHfir/KrzArWNcs7SCzM3i2bYumOT24DOdQjxiRLELjPIuEdLnptZa8SaykV7hkhB2pR1ihrWfZ6ktElGft+bgw1BuX/4OK7AqSBWll78FyTChewo8VJGsVMsaD8dKEA/2UwGK4amwNi24xHq8dwxfgFk2v4x8ANZQ8pb26QWcfHlnRzC1skEC7BXbUahDArwEkusj+2gyOzx329nfJkXKNhSx2Qie+EMwBHnUcL54//7Rl9G31Uej0v4NNjTOPsgAFGOUpC5mJxZeVSe7oKfnKoV1NfN23FFnljzs13gopjPhlP1ctsLD5i3W08vaknpSgQSdFR/XtBfzJwA5dinkdt9saW4IEspD/vtK8mX27L4e1sUEXm9CCZOB91aXOP3sBV19SummGL/Lm//6ArbpqXZJwKvCZUememvNPu8cFPBn2uRdwx5O/rx3MQCTuQt9rf8q3Larm7MJknThPBpjgR5RWD9M7Ayl1yiD4UvG2NbaIg2vq6UD0ud9pGhU/C1O1Ph4JEOboma9vfstQf6HU6aYe/9DcbmNyrxQOgSBoEWgzcLJuuhPtycuyzIguk3eL2kcLQFWWsmdPX6Cqjc/k+Wn1H2Te2ruuLmRoX3rbPPIrr0eLKbcIk95KyIDwfByA=

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11

2-
# Customized Built-In <map> Element
2+
# web-map Customized Built-In <map> Element
3+
4+
[![Build Status](https://travis-ci.org/prushforth/Web-Map-Custom-Element.svg?branch=master)](https://travis-ci.org/prushforth/Web-Map-Custom-Element)
5+
6+
The web-map Customized Built-In <map> Element is a [prototype implementation](http://maps4html.github.io/Web-Map-Custom-Element/) of the [HTML-Map-Element specification](http://maps4html.github.io/HTML-Map-Element/spec/).
37

48
[![Build Status](https://travis-ci.org/prushforth/Web-Map-Custom-Element.svg?branch=master)](https://travis-ci.org/prushforth/Web-Map-Custom-Element)
59

bower.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
"homepage": "http://maps4html.github.io/Web-Map-Custom-Element/",
1010
"license": "W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE",
1111
"keywords": [
12-
"web",
13-
"html5",
14-
"maps",
12+
"framework",
13+
"web-components",
1514
"custom element",
16-
"web maps",
1715
"component",
18-
"web-components",
16+
"polyfill",
1917
"polymer",
18+
"web map",
19+
"web",
20+
"maps",
2021
"map",
21-
"polyfill"
22+
"web-map"
2223
],
2324
"repository": {
2425
"type": "git",

demo/MapsForHTML_16x16.png

563 Bytes
Loading

demo/MapsForHTML_32x32.png

1.55 KB
Loading

demo/MapsForHTML_400x400.png

22.4 KB
Loading

demo/bc.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Province of British Columbia tile caches</title>
5+
<meta charset="UTF-8">
6+
<script src="../bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
7+
<link rel="import" href="../web-map.html">
8+
<style>
9+
/* map must have a defined height and width, can be set either by @height/@width or with css properties */
10+
web-map {
11+
float: left;
12+
padding-right: 20px;
13+
padding-left: 100px;
14+
padding-bottom: 10px;
15+
height: 400px;
16+
width: 650px;
17+
}
18+
.hillshade {
19+
opacity: 0.3;
20+
}
21+
</style>
22+
</head>
23+
<body>
24+
<map is="web-map" zoom="12" lat="48.42168226" lon="-123.37612152" width="700" height="400" controls>
25+
<layer- label="BC Web Mercator" src="http://geogratis.gc.ca/mapml/en/osmtile/bc/" checked></layer->
26+
<layer- label="Open Street Map" src="http://geogratis.gc.ca/mapml/osm/"></layer->
27+
<layer- label="British Columbia Geological Survey" src="bcgov.mapml"></layer->
28+
</map>
29+
<map is="web-map" zoom="8" lat="48.45131899883153" lon="-123.38236113068885" width="700" height="400" controls projection="BCTILE">
30+
<layer- label="BC Roads" src="http://geogratis.gc.ca/mapml/en/bctile/png/" checked ></layer->
31+
<layer- label="BC Terrain" src="http://geogratis.gc.ca/mapml/en/bctile/jpeg/" class="hillshade"></layer->
32+
<area is="map-area" id="marker" href='http://geobc.gov.bc.ca/' alt="GeoBC" coords="354,197" shape="marker">
33+
</map>
34+
35+
</body>
36+
</html>

demo/bcgov.mapml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<mapml>
2+
<head>
3+
<title>British Columbia Geological Survey</title>
4+
<meta http-equiv="Content-Type" content="text/mapml"/>
5+
<meta charset="utf-8"/>
6+
<meta name="zoom" content="min=3,max=18"/>
7+
<meta name="extent" content="xmin=-125,ymin=45,xmax=-120,ymax=50"/>
8+
<meta name="projection" content="WGS84"/>
9+
<link rel="license" href="example.com" title="Test © Natural Resources Canada"/>
10+
</head>
11+
<body>
12+
<feature id="aPoint">
13+
<properties>
14+
<id>British Columbia Geological Survey</id>
15+
</properties>
16+
<geometry>
17+
<Point>
18+
<coordinates>-123.362105 48.430882</coordinates>
19+
</Point>
20+
</geometry>
21+
</feature>
22+
</body>
23+
</mapml>

demo/blog/MapsForHTML.png

6.57 KB
Loading

0 commit comments

Comments
 (0)