Support » Plugin: WP Mapbox GL JS Maps » Metrics units + default language change

  • Resolved kryvulena

    (@kryvulena)


    Hi

    I really enjoy your plugin but there’s an issue: all directions information is provided in miles, which we don’t use in Europe. How can I change that to kilometres?

    I googled a bit and seems it’s as easy as providing this line of code:

    L.mapbox.directions({units: 'metric'})

    but I don’t know where I’m supposed to add it.

    Also, is it possible to change the default language of the map (Directions info, map info, , eg. to Polish?

    Looking forward to your reply and thanks for your help in advance!
    Bests!

Viewing 1 replies (of 1 total)
  • Plugin Author tempranova

    (@tempranova)

    Sorry, but we don’t have a control to change this. You would need to get into the plugin code itself and add that in the public javascript file.

Viewing 1 replies (of 1 total)
  • The topic ‘Metrics units + default language change’ is closed to new replies.