MAPG-119 view and JS adaptations for new map creation
This commit is contained in:
1 parent
6fc83c9459
commit
947ce6b183
2 files changed
+8
-3
No files matched your search
@@ -291,6 +291,11 @@
|
||||
|
||||
MapEditor.replacePlaceIdsToReal(this.response.added);
|
||||
|
||||
if (mapId === 0) {
|
||||
mapId = this.response.mapId;
|
||||
window.history.replaceState(null, '', '/admin/mapEditor/' + mapId);
|
||||
}
|
||||
|
||||
MapEditor.added = {};
|
||||
MapEditor.edited = {};
|
||||
MapEditor.deleted = {};
|
||||
@@ -370,7 +375,7 @@
|
||||
ppi: highResData.ppi,
|
||||
tileSize: highResData.tileSize,
|
||||
zoomOffset: highResData.zoomOffset,
|
||||
minZoom: 0,
|
||||
minZoom: 2,
|
||||
maxZoom: 20
|
||||
}).addTo(MapEditor.map);
|
||||
|
||||
|
||||
Reference in new issue
Block a user