Skip to content

Commit 58fa72c

Browse files
Enable map editor in Dashboard widget (#2298)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent e406a02 commit 58fa72c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

geonode_mapstore_client/client/js/plugins/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,10 @@ export const plugins = {
478478
UploadResourcePlugin: toModulePlugin(
479479
'UploadResource',
480480
() => import(/* webpackChunkName: 'plugins/upload-operation' */ '@js/plugins/UploadResource')
481+
),
482+
MapEditorPlugin: toModulePlugin(
483+
'MapEditor',
484+
() => import(/* webpackChunkName: 'plugins/map-editor' */ '@mapstore/framework/plugins/MapEditor')
481485
)
482486
};
483487

geonode_mapstore_client/static/mapstore/configs/localConfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2823,6 +2823,12 @@
28232823
}
28242824
]
28252825
}
2826+
},
2827+
{
2828+
"name": "MapEditor",
2829+
"cfg": {
2830+
"titleMsgId": "widgets.mapWidget.mapEditorTitle"
2831+
}
28262832
}
28272833
],
28282834
"map_viewer_mobile": [

0 commit comments

Comments
 (0)