+//= require querystring
+
L.extend(L.LatLngBounds.prototype, {
getSize: function () {
return (this._northEast.lat - this._southWest.lat) *
params.mlon = latLng.lng.toFixed(precision);
}
- var url = window.location.protocol + "//" + OSM.SERVER_URL + "/",
+ var querystring = require("querystring-component"),
+ url = window.location.protocol + "//" + OSM.SERVER_URL + "/",
query = querystring.stringify(params),
hash = OSM.formatHash(this);
params[this._object.type] = this._object.id;
}
- var query = querystring.stringify(params);
+ var querystring = require("querystring-component"),
+ query = querystring.stringify(params);
if (query) {
str += "?" + query;
}