Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More examples completed. #189

Merged
merged 37 commits into from
Nov 14, 2019
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
0c085cb
Add initial tags to capability conclusions
nchan0154 Sep 28, 2019
77a78d1
Fix typos, add Canvas reference
nchan0154 Sep 28, 2019
23c2c81
Working reprojection example.
NickFitz Sep 30, 2019
e8a2a4b
Merge pull request #6 from Maps4HTML/master
NickFitz Sep 30, 2019
94845da
Merge branch 'tile-examples' of https://github.com/NickFitz/HTML-Map-…
NickFitz Sep 30, 2019
2a0d6b0
Example to be added; this is a placeholder file.
NickFitz Sep 30, 2019
18558d0
Working reprojection example.
NickFitz Sep 30, 2019
d2d5c1d
Neither OSM nor Bing Maps support multiple markers in embeds.
NickFitz Oct 2, 2019
eab6175
Examples of displaying a GeoJSON polygon via the various APIs.
NickFitz Oct 2, 2019
bfb044d
Merge remote-tracking branch 'origin/tile-examples' into tile-examples
NickFitz Oct 2, 2019
785cb8a
Static maps examples.
NickFitz Oct 3, 2019
d8013a8
Include marker in TomTom single location.
NickFitz Oct 3, 2019
0f8f060
Examples for HTML annotations.
NickFitz Oct 3, 2019
2f9110c
Merge branch 'master' of https://github.com/NickFitz/HTML-Map-Element…
NickFitz Oct 5, 2019
c30333f
Update TomTom tile support
nchan0154 Oct 6, 2019
6352b9b
Correct tag typo
nchan0154 Oct 6, 2019
6615b90
Capability conclusion changes
nchan0154 Oct 13, 2019
3d9d861
Update wording on Canvas reference
nchan0154 Oct 13, 2019
79eebe2
Merge branch 'tile-examples' of https://github.com/NickFitz/HTML-Map-…
AmeliaBR Oct 16, 2019
1c4a6a1
Move extra TomTom styles into their own file
AmeliaBR Oct 16, 2019
85303e1
Merge pull request #183 from nchan0154/master
AmeliaBR Oct 16, 2019
8ea6090
Tidying up some badly laid-out lines.
NickFitz Nov 2, 2019
765f338
Merge remote-tracking branch 'origin/tile-examples' into tile-examples
NickFitz Nov 2, 2019
e1ce388
Merge branch 'master' of https://github.com/NickFitz/HTML-Map-Element…
NickFitz Nov 2, 2019
39ce060
Working reprojection example.
NickFitz Sep 30, 2019
437fd89
Example to be added; this is a placeholder file.
NickFitz Sep 30, 2019
585a5b8
Tidying up some badly laid-out lines.
NickFitz Nov 2, 2019
89dbb35
Neither OSM nor Bing Maps support multiple markers in embeds.
NickFitz Oct 2, 2019
23fe901
Examples of displaying a GeoJSON polygon via the various APIs.
NickFitz Oct 2, 2019
727c7a8
Static maps examples.
NickFitz Oct 3, 2019
52246d5
Include marker in TomTom single location.
NickFitz Oct 3, 2019
260f0a5
Examples for HTML annotations.
NickFitz Oct 3, 2019
33487ee
Move extra TomTom styles into their own file
AmeliaBR Oct 16, 2019
002802b
Merge remote-tracking branch 'origin/tile-examples' into tile-examples
NickFitz Nov 2, 2019
3792e3b
Include marker in TomTom single location.
NickFitz Oct 3, 2019
4814b5e
Move extra TomTom styles into their own file
AmeliaBR Oct 16, 2019
5f86113
Remove reprojection example, as the related use case has been removed.
NickFitz Nov 13, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions examples/api-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,18 @@ m4h.keys = {
'httpslocalhost8000': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlI2QlY1QTlDR1YifQ.eyJpc3MiOiI0M0IyM044WjYzIiwiaWF0IjoxNTY2MjM0OTIzLCJvcmlnaW4iOiJodHRwczovL2xvY2FsaG9zdDo4MDAwIiwiZXhwIjoxNTc3ODM2Nzk5fQ.mgp4OQhubUcXMXbeXSrFtqPX1o-3Vw2EBbV2pvieYZA-1xe7_PNZ281QsPPmeJqSORL-qY9DIjcCFeBVV7MFtQ',
'maps4html': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlI2QlY1QTlDR1YifQ.eyJpc3MiOiI0M0IyM044WjYzIiwiaWF0IjoxNTY2MjM0OTIzLCJvcmlnaW4iOiJodHRwczovL21hcHM0aHRtbC5naXRodWIuaW8iLCJleHAiOjE1Nzc4MzY3OTl9.anN2upPaCdexpSw30j0wVHBV3hIDJPGrOtqJECO-UOcqOXUmEvyvqJBhT10YyjxT_VTSrJQwcjda-CVBddEd5g'
},
mapkitstatic: {
httpslocalhost8000: {
referer: 'https://localhost:8000/',
teamId: '43B23N8Z63',
keyId: 'R6BV5A9CGV',
signature: 'dIEhfVGXY4WHW2hq7FUWuqc41B0a0-zHJoom88pBZD_hfj3IohIHo06qv__qtxFOQjNbeeq0G_RZZgZ3yWQiQA'
},
maps4html: {
referer: 'https://maps4html.github.io/',
teamId: '43B23N8Z63',
keyId: 'R6BV5A9CGV',
signature: 'F13h3nOYuw3Al2xPLd-VrVYIACvSV8UlPyMt_VGPDIkbUVezgbjzCInclURMbFznfR6WLTDnEy_XzhzvEmSufA'
}
}
};
28 changes: 28 additions & 0 deletions examples/data/glooston.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions examples/examples.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,44 @@ iframe,
min-height: 400px;
}
}

.icon-flag-white {
/* this seems to be missing from tomTom's stylesheet */
background-image: url("data:image/svg+xml;charset%3DUS-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M285.81%20179.765a11.96%2011.96%200%200%200-8.483-3.513%2011.97%2011.97%200%200%200-8.486%203.514%2011.962%2011.962%200%200%200-3.51%208.486c0%203.315%201.344%206.316%203.517%208.488%202.17%202.17%208.482%207.112%208.482%207.112s6.312-4.943%208.484-7.115a11.962%2011.962%200%200%200%203.515-8.485%2011.97%2011.97%200%200%200-3.518-8.487zM22.957%2013.3L13.03%208.53v9.535zM11.71%207.674c.01-1.144-1.99-1.202-1.99-.096v16.207h1.986%22%20fill%3D%22%23000%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
background-repeat:no-repeat
}

.static-embed {
position: relative;
width: 600px;
height: 480px;
}

.static-embed img {
position: absolute;
z-index: 0;
}

.static-embed .static-streetview {
z-index: 1;
bottom: 24px;
left: 8px;
border: 4px solid #bbb;
border-radius: 4px;
}

.popup.openlayers {
background-color: #f6f6f6;
color: #060606;
border: 1px solid #060606;
border-radius: 6px;
font-size: 0.8rem;
padding: 12px;
position: relative;
}

.popup.openlayers .close {
position: absolute;
top: 8px;
right: 8px;
}
Loading