Dynamic default zoom / location on geotrace

632
2
Jump to solution
06-25-2021 01:30 AM
JohanKlaasK
New Contributor

Dear all, I'm building a survey in which I want to ask my respondents to fill in a geotrace map near train stations which they frequent. For this, I would, ideally, prompt my respondents with a question where they can enter the station which they will provide information for and then prompt them with a (geotrace) map which is zoomed in to the coordinated of the station which they selected. 

As such I was wondering whether it is possible to make the 'detailed map' coordinate fields in the the connect app dynamic in any way? 

0 Kudos
1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

Hi. The only way to center the map widget is to pass a geometry to it. In the case of a geoshape question, you would need to pass/calculate a valid polygon geometry. This would center your map at the station, but also add a polygon to your map. End users would need to either update or remove-and-redraw a new polygon in the map. I am guessing that this would be very distracting.

View solution in original post

2 Replies
IsmaelChivite
Esri Notable Contributor

Hi. The only way to center the map widget is to pass a geometry to it. In the case of a geoshape question, you would need to pass/calculate a valid polygon geometry. This would center your map at the station, but also add a polygon to your map. End users would need to either update or remove-and-redraw a new polygon in the map. I am guessing that this would be very distracting.

BamJam
by
New Contributor III

Ismeal,

Does the center parameter not function on a survey with a geoshape or geotrace question?  In looking at the documentation here: Integrate with other apps—ArcGIS Survey123 | Documentation there is no mention of this limitation with the center parameter?   If not, is that something that could be added in the future for these types of surveys?

0 Kudos