chore: put back order of edit buttons
We'll certainly change them later, but for now let's create useless noise for users
This commit is contained in:
parent
2f3d579079
commit
8279ae8a62
1 changed files with 2 additions and 2 deletions
|
@ -320,10 +320,11 @@ U.Map = L.Map.extend({
|
||||||
if (this.hasEditMode() && !this.options.noControl) {
|
if (this.hasEditMode() && !this.options.noControl) {
|
||||||
new U.EditControl(this).addTo(this)
|
new U.EditControl(this).addTo(this)
|
||||||
|
|
||||||
|
new U.DrawToolbar({ map: this }).addTo(this)
|
||||||
const editActions = [
|
const editActions = [
|
||||||
U.EditLayersAction,
|
|
||||||
U.EditCaptionAction,
|
U.EditCaptionAction,
|
||||||
U.EditPropertiesAction,
|
U.EditPropertiesAction,
|
||||||
|
U.EditLayersAction,
|
||||||
U.ChangeTileLayerAction,
|
U.ChangeTileLayerAction,
|
||||||
U.UpdateExtentAction,
|
U.UpdateExtentAction,
|
||||||
U.UpdatePermsAction,
|
U.UpdatePermsAction,
|
||||||
|
@ -333,7 +334,6 @@ U.Map = L.Map.extend({
|
||||||
new U.SettingsToolbar({ actions: editActions }).addTo(this)
|
new U.SettingsToolbar({ actions: editActions }).addTo(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
new U.DrawToolbar({ map: this }).addTo(this)
|
|
||||||
}
|
}
|
||||||
this._controls.zoom = new L.Control.Zoom({
|
this._controls.zoom = new L.Control.Zoom({
|
||||||
zoomInTitle: L._('Zoom in'),
|
zoomInTitle: L._('Zoom in'),
|
||||||
|
|
Loading…
Reference in a new issue