Geocode within DisplayCaptureGeometry
I have a routing workflow which is running successfully. It uses a "Display Capture Geometry" to enable the user to capture geometry for the stops and barriers of the route.
The client has now asked whether it would be possible to modify it so that it can capture stops by the user entering an address and having it sent to a geocoding service to return the geometry of the stop.
There is a Geocode activity in Workflow. Is it somehow possible to use this within my Display Capture Geometry activity?
/customer/servlet/servlet.FileDownload?file=00P6000000e88DrEAI
-
Hi Mark,
You can certainly use the geocode activity to find a stop by address. You will need a DisplayForm that the user can enter the address into, and then that address can be passed to the geocoding activity. The result of the geocoding activity is a collection of AddressCandidates, and you can get the geometry of the result by using addressCandidate.Location()
If you want to keep the option of selecting a point on the map, you can add a fourth button to the DisplayCaptureGeometry, which when clicked, links back to the DisplayForm above where they can enter the address.
-Victoria
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar