Open Joker-jar opened 5 years ago
I tried to use map with russian labels:
L.tileLayer.bing({bingMapsKey: '*****', id: 'bing', imagerySet: 'AerialWithLabelsOnDemand', culture: 'ru', attribution: '.....'}),
But labels still in en_US. So i added this line before line 163 "return url" in getTileUrl method:
url = url.replace(/en\-US/, this.options.culture)
And now all works.
And I was wondering why my desperate attempts to set the culture option don't work. Thanks for the quick-fix, Joker-Jar!
I tried to use map with russian labels:
L.tileLayer.bing({bingMapsKey: '*****', id: 'bing', imagerySet: 'AerialWithLabelsOnDemand', culture: 'ru', attribution: '.....'}),
But labels still in en_US. So i added this line before line 163 "return url" in getTileUrl method:
url = url.replace(/en\-US/, this.options.culture)
And now all works.