API Localization

3 posts / 0 new
Last post
jm-dev
API Localization

Hello,

I started to use the Javascript API and I'm not able to find how to localize the provided components.

For example, the MQA.LargeZoom widget displays tips in english ... even if locale is not set to en.

I implemented a very dirty solution playiing with the title attribute of the DOM elements, but I wonder if there is a better way?

Regards


jonathan
Unfortunately, there are no
Unfortunately, there are no options for localizing the text displayed with the controls on the legacy JavaScript Maps API. I'd suggest taking a look at Leaflet and our Leaflet Plugins instead, as there may be a few options there that are not present in our legacy JavaScript Maps API.

jm-dev
Thanks a lot for the reply.

Thanks a lot for the reply.
I will have a look at Leaflet :-)