Update buiilding locate URL
This commit is contained in:
parent
148187d17e
commit
88e054ff55
@ -28,7 +28,7 @@ class ColouringMap extends Component {
|
||||
var lat = e.latlng.lat
|
||||
var lng = e.latlng.lng
|
||||
fetch(
|
||||
'/buildings.json?lat='+lat+'&lng='+lng
|
||||
'/buildings/locate?lat='+lat+'&lng='+lng
|
||||
).then(
|
||||
(res) => res.json()
|
||||
).then(function(data){
|
||||
|
Loading…
Reference in New Issue
Block a user