Enable panning of map while Geometry Picker is active
TerminéeVertiGIS Studio Web 5.27 added the ability to hold the SPACE key as a modifier to use cursor keys to pan the map while using the Geometry Picker.
There are many occasions when a user may need to pan the map in order to complete a line or polygon sketch using the Geometry Picker. The default pan action (left-button drag) simply adds vertices along the mouse path but does not pan the map. Could an alternate mouse action (e.g., shift-drag or cmd-drag) be added to the Geometry Picker to enable the user to pan the map while the Picker is active? Thanks.
-
Commentaire officiel
Jeff Kapellas If you are referring to the Web sketch tools (as opposed to the Workflow geometry picker) there is a way to do this today. We recognized the same problem. We have a story for a more robust fix.
Today you can disable freehand drawing when sketching lines and polygons.
This then allows you to press-and-hold the left mouse button to pan the map (whereas if freehand isn't disabled that would cause you to begin drawing freehand).
Here is an example of a polygon drawing tool configured with this option.
[{"name": "sketching.capture-geometry","arguments": {"geometryType": "polygon","disableFreehand": true,"pluginSettings": {"snapping": true}}},"drawing.create-graphics","map.add-markup"] -
Hi Cam Barnard :
Thank you. That's useful to know. However, I was specifically referring to the Workflow Geometry Picker. The use case for the request is as follows:
Open a workflow form -> use the Geometry Picker to draw a polygon around the features to be selected -> use resulting polygon is to query a feature layer
It's sometimes not possible to get all of the desired features to be selected into a single map extent (due to layer scale-visibility restrictions, etc.), so having a way to pan the map while using the Geometry Picker would be very helpful.0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires