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

It doesn't work when setting a value to the option.culture. #40

Closed MoAIDeBo closed 5 years ago

MoAIDeBo commented 5 years ago

Hi This is the code

let map = L.map('map').setView([27.991369850942526,86.88915252685547], 3); L.tileLayer.bing({ bingMapsKey, culture: "zh-Hans" }).appTo(map); There was nothing changed . Am I misunderstand this property? ^_^

KatBu commented 5 years ago

I tried changing culture in library leaflet-bing-layer.js and faced the same problem. The language does not change.

gmaclennan commented 5 years ago

Unfortunately it looks like Bing does not support this language for the Imagery API: https://msdn.microsoft.com/en-us/library/hh441729.aspx and I think that for the map tiles they are coming from the Imagery API, not the Locations API.

moory commented 5 years ago

I also have this problem. :( It doesn't work. (zh-CN,zh-HK)

gmaclennan commented 5 years ago

As in the link in the previous comment, Bing does not have maps imagery for these cultural codes. Closing this for now, since there is unfortunately nothing we can do about it.

MoAIDeBo commented 5 years ago

@gmaclennan I've got it, thank you for your reply.