Add default value for DataLayer.options.editMode
This commit is contained in:
parent
6b269125d4
commit
84e3aa7121
2 changed files with 4 additions and 2 deletions
|
@ -193,6 +193,7 @@ L.U.DataLayer = L.Evented.extend({
|
|||
options: {
|
||||
displayOnLoad: true,
|
||||
browsable: true,
|
||||
editMode: 'advanced',
|
||||
},
|
||||
|
||||
initialize: function (map, data) {
|
||||
|
|
|
@ -207,6 +207,7 @@ describe('L.U.Map.Export', function () {
|
|||
_umap_options: {
|
||||
displayOnLoad: true,
|
||||
browsable: true,
|
||||
editMode: 'advanced',
|
||||
iconClass: 'Default',
|
||||
name: 'Elephants',
|
||||
id: 62,
|
||||
|
|
Loading…
Reference in a new issue