Closed walterfn2 closed 10 years ago
Hi, as far as i know, latest stable version of Leaflet is 0.7.3, and bing script works well with it. Are you talking about this version, or maybe about the 0.8-dev version that is not released ?
Thanks for fast response.
Yes, I'm trying with 0.7.3. It simply shows no map (grey color) once Bing is selected, when I switch to OSM, it shows map without problems.
You should provide a jsfiddle or an example page showing your bug. You can see the script working well here :
Please check: http://jsfiddle.net/rwjbmqzm/6/
If I change map.addLayer(bing); to map.addLayer(osm); it loads OSM layer and works without issues. Bing layer is not loaded if map.addLayer(bing);
Sorry, please check this: http://jsfiddle.net/rwjbmqzm/8/
Console show me this warning :
Leaflet Bing Plugin Error - Got metadata: Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation.
Are you sure your bing key is valid ? ^^
Oh, this was my key issue... LOL
Thanks a lot!
You're welcome, closing issue ;)
hi there, where can I find the Leaflet 0.7.3 version that is working for Bing? I neither can see OSM or Bing working. Here is what I did for each of the two versions I downloaded: downloaded the latest version and 1.1.0 and then changed the Bing Maps API key in the bing.html file under examples - no luck, all gray page for both OSM and Bing. Thanks for your help in advance, aditya
Hello,
It seems that Bing tile is not working with latest Leaflet. Please check your bing.html.
Thanks