ban → address
This commit is contained in:
parent
79ebdc3443
commit
e667cad617
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ import { getJSON, fire } from '@utils';
|
|||
const sources = [
|
||||
{
|
||||
type: 'address',
|
||||
url: '/ban/search'
|
||||
url: '/address/search'
|
||||
},
|
||||
{
|
||||
type: 'path',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue