digidem / leaflet-bing-layer

Bing Maps Layer for Leaflet v1.0.0
http://digidem.github.io/leaflet-bing-layer/
87 stars 53 forks source link

Does this work with Bing Maps V8? #9

Closed CostinTanasoiu closed 7 years ago

CostinTanasoiu commented 8 years ago

Bing Maps version 8 was released earlier this year.

CostinTanasoiu commented 8 years ago

I just checked your code and it still uses the 'virtualearth' script URL, which means it is still for V7.

There's a V7 to V8 migration plan here: http://social.technet.microsoft.com/wiki/contents/articles/34563.bing-maps-v7-to-v8-migration-guide.aspx

More documentation, including the V8 API Reference: https://msdn.microsoft.com/en-us/library/mt712542.aspx

Also, Bing Maps V8 interactive SDK: http://www.bing.com/api/maps/sdk/mapcontrol/isdk#overview

jefbarn commented 8 years ago

This plugin just pulls the static tiles, and I don't think the URL for those changed with V8, so it doesn't seem to need an update. https://msdn.microsoft.com/en-us/library/ff701724.aspx

rbrundritt commented 7 years ago

As Jeff mentioned, this project uses the Bing Maps REST services which still use a virtualearth.net domain. Bing Maps V8 is a JavaScript library that you would use as an alternate to leaflet, not as an extension to it. The Bing Maps REST services expose most of the raw data that the Bing Maps controls use. In this case the Bing Maps tiles. Recommend closing this issue.

CostinTanasoiu commented 7 years ago

That makes sense, thanks!