Remove object parameter from share URL

Fixes #616
Fixes #624
This commit is contained in:
John Firebaugh 2013-12-05 10:59:15 -08:00 committed by Tom Hughes
parent 1d1f194d59
commit 190d0fddfc

View file

@ -100,10 +100,6 @@ L.OSM.Map = L.Map.extend({
params.mlon = latLng.lng.toFixed(precision);
}
if (this._object) {
params[this._object.type] = this._object.id;
}
var url = 'http://' + OSM.SERVER_URL + '/',
query = querystring.stringify(params),
hash = OSM.formatHash(this);