Translate units used by leaflet-locatecontrol
This commit is contained in:
parent
ab5616f354
commit
7a81258ddc
3 changed files with 6 additions and 0 deletions
|
@ -109,6 +109,8 @@ $(document).ready(function () {
|
|||
iconLoading: "icon geolocate",
|
||||
strings: {
|
||||
title: I18n.t("javascripts.map.locate.title"),
|
||||
metersUnit: I18n.t("javascripts.map.locate.metersUnit"),
|
||||
feetUnit: I18n.t("javascripts.map.locate.feetUnit"),
|
||||
popup: I18n.t("javascripts.map.locate.popup")
|
||||
}
|
||||
}).addTo(map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue