var querystring = require('querystring-component');
-function zoomPrecision(zoom) {
- return Math.max(0, Math.ceil(Math.log(zoom) / Math.LN2));
-}
-
function remoteEditHandler(bbox, object) {
var loaded = false,
query = {
args = {
lat: loc.lat,
- lon: loc.lon || loc.lng,
+ lon: 'lon' in loc ? loc.lon : loc.lng,
zoom: zoom
};
$("header").toggleClass("closed");
});
});
-
-if (Math.random() * 100 < 20) {
- L.OSM.Mapnik.prototype.options.url = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
-}