ban → address

This commit is contained in:
gregoirenovel 2018-10-15 23:37:32 +02:00
parent 79ebdc3443
commit e667cad617
3 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,7 @@ function addEventFreeDraw(freeDraw) {
}
function getAddressPoint(map, request) {
getJSON('/ban/address_point', { request }).then(data => {
getJSON('/address/address_point', { request }).then(data => {
if (data.lat !== null) {
map.setView(new L.LatLng(data.lat, data.lon), data.zoom);
}