Is there a way with the Geometry Picker to give the user a choice of what type of geometry they would like to enter, that is, allow them to choose whether they will enter a point, line or polygon, etc?
One way to do this might be to have a drop down list on the display form immediately above the geometry picker. If the user picks, say Point from this list then a change event for it would change some property of the geometry picker. Which property would have to be changed?
-
OK, I've figured this out. It looks like one way to do this is to add a drop down list (called eg. listGeomFeaturesType) or similar control to the display form. The values of its options would be point, polygon, polyline, etc. Its change event would have a 'Set Form Element Property' activity with something similar to this:
Element: =$frmInput.state.geomFeature
Property Name: format
Property Value: =$frmInput.state.listGeomFeaturesType.value
where geomFeature is the geometry picker.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar