forked from geosolutions-it/MapStore
-
Notifications
You must be signed in to change notification settings - Fork 0
MarkerEditor
offtherailz edited this page Feb 22, 2013
·
2 revisions
This is a plugin for edit,export and import marker configurations. Allows to edit GeoJson strings that can be loaded using the MapStore API.
For instance you can load the Markers calling the method
app.showMarkerGeoJSON("Layer_Name",geojson);
A running configuration of this plugin is already available calling the viewer with the configuration "markerEditor".
exemple:
localhost:8081/viewer?config=markerEditor
The plugin is a panel, so it have to be placed in a custom Panel
"customPanels":[
{
"xtype":"panel",
"id":"east",
"region": "east",
"width": 550,
"minWidth":550,
"header":false,
"split": true,
"collapseMode": "mini",
"layout":"fit"
}
],
"customTools":[{
"ptype": "gxp_marker_editor",
"outputTarget":"east",
"toggleGroup":"toolGroup"
}]