Maps4HTML / HTML-Map-Element-UseCases-Requirements

Use cases and requirements for Maps on the Web
https://maps4html.org/HTML-Map-Element-UseCases-Requirements/
Other
22 stars 12 forks source link

Updates to several examples, including Bing and Apple APIs #124

Closed NickFitz closed 4 years ago

NickFitz commented 4 years ago

This PR contains updates to a number of examples. I've also added examples for the Bing and Apple MapKitJS APIs, using keys from my own accounts for now. I figured I might as well get these up now rather than waiting until I've finished the rest, in case anybody has any comments or improvements.

The Apple key will expire at the end of the year, so will have to be updated before then. I haven't yet implemented any way for it to automatically get a new key when it's expired, but I'll look into that when I have a chance. Also, I haven't tested it on the GitHub Pages domain, but it should work there, as it was generated by the same code as the one that works for localhost:8000.

AmeliaBR commented 4 years ago

This looks great, Nick! I haven't gone through and run all the examples yet, but I suppose it's just as well to wait and do that when it's on the correct domain, to make sure the domain-specific keys are set up correctly!

AmeliaBR commented 4 years ago

Well, turns out there is a problem when switching to the live domain, though not for the reason you were anticipating: different browser security policies for HTTPS urls! See issue #126