eu.limetri.client.mapviewer.swing.jxmap.docs.jxmap-editmode_en.html Maven / Gradle / Ivy
Show all versions of mapviewer-swing Show documentation
Splitting geometries
Splitting geometries
The split function allows users to split one geometry in two geometries.
Enable editing mode
To enable edit mode drag your geometry to the map. Then when the geometry is added to the layer list right click the layer. Choose split geometry in the context menu.
The map will turn to edit mode.
Map edit mode
In edit mode the cursor turns to a crosshair additionally a button bar appears on the right side of the map panel. In this button bar there are six buttons which will help you to split the geometry.
Add point mode
The 'add point' button is used to activate 'add point mode'. The mode is default enabled. In the 'add point' mode you can add points to draw a line that splits your geometry.
When the 'navigate mode' is active you can use this button to return 'to add point' mode.
Remove last point
When you are not satisfied with your last added point you can use the 'remove last point' button to remove your last added point.
Remove all points
When you are not satisfied with any of the added points you can use the 'remove all points' button to remove all the points added so far.
Navigate mode
The Navigate button is used to activate the 'navigate mode'. The 'navigate mode' allows you to navigate the map.
Finish
When you are satisfied with your split line you can finish the editing by clicking the 'finish' button . The actions taken on finish are dependent on the type of geometry you
are editing. Consult the help of the module which provided the geometry you where editing for more information.
Cancel
When fore some reason you want to cancel the editing just click the 'cancel' button . The map will return to normal display mode.