Skip to content

Culture option not working #49

@Joker-jar

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions