quick debug function
This commit is contained in:
parent
c72df22e83
commit
e8f3a7737e
@ -198,7 +198,14 @@
|
|||||||
popup.setLngLat([e.coords.longitude, e.coords.latitude])
|
popup.setLngLat([e.coords.longitude, e.coords.latitude])
|
||||||
.setHTML('Current Location')
|
.setHTML('Current Location')
|
||||||
.addTo(map);
|
.addTo(map);
|
||||||
})
|
});
|
||||||
|
|
||||||
|
geolocate.on('error', function (e) {
|
||||||
|
map.setZoom(10);
|
||||||
|
popup.setLngLat([-73.8966279, 40.7420127])
|
||||||
|
.setHTML('debug')
|
||||||
|
.addTo(map);
|
||||||
|
});
|
||||||
|
|
||||||
var template = $('#Table').html();
|
var template = $('#Table').html();
|
||||||
var rendered = Mustache.render(template, {rows: data});
|
var rendered = Mustache.render(template, {rows: data});
|
||||||
|
Loading…
Reference in New Issue
Block a user