Widget HTML Atas

The Apple Tree Maps Api


Apple seem to live on on the verge of releasing a JavaScript API for Apple Maps.

The website for Apple's WWDC (developer conference) includes an Apple Map showing the place of the conference.  The map has been added to the page using what appears to live on a novel Apple Mapkit API -

https://cdn.apple-mapkit.com/mk/3.0.0/mapkit.js

If y'all hold off at the JavasScript code which uses the Apple Mapkit API to add together the map to the WWDC conference (https://developer.apple.com/wwdc/attending/scripts/maps.js) y'all tin laissez passer on the sack encounter that it includes an API key. This suggests that Apple does convey plans to opened upward up the Apple Mapkit API to developers.

Tim Broddin has chop-chop position together a proof of concept demo map using the officially unreleased Apple Mapkit API. Tim's map has but used the same developer commutation equally used inwards the WWDC map.

Tim's map doesn't include a lot of features but if y'all convey a hold off at the beginning code y'all should live on able to travel out how to add together a geolocation command to let on too middle the map on the user's location.

If y'all try the JavaScript file for the WWDC map y'all tin laissez passer on the sack encounter how map markers are added to the map too how to middle the map on dissimilar locations.