quick debug function

This commit is contained in:
David 2017-03-26 23:15:33 -04:00
parent c72df22e83
commit e8f3a7737e

View File

@ -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});