Select to view content in your preferred language

Dynamically setting initial geoshape map extent by referencing previous answer?

116
3
Jump to solution
Tuesday
RayKidd
New Contributor III

Hi everyone, two questions:

1) Is it possible to dynamically set the initial map extent for a geoshape question by referencing a previous answer? Searching the forum suggests not, but most answers are old.

2) If so, is it possible to do this within a repeat, such that the geoshape in repeat N defaults to the location selected in repeat N-1? This would make it a lot easier to draw multiple polygons that are close to each other, rather than starting from scratch each time.

Thank you!

0 Kudos
1 Solution

Accepted Solutions
abureaux
MVP Regular Contributor

"Is it possible to dynamically set the initial map extent for a geoshape question by referencing a previous answer?"

No. These are static in Connect.

abureaux_0-1719343135220.png

View solution in original post

0 Kudos
3 Replies
DougBrowning
MVP Esteemed Contributor

One idea is in each repeat add a field to grab the lat and long using pulldata.

Then in the default (or maybe calculation) for the geopoint use indexed-repeat(question, repeat, index number) to grab those lat/long fields.

That may work

0 Kudos
abureaux
MVP Regular Contributor

"Is it possible to dynamically set the initial map extent for a geoshape question by referencing a previous answer?"

No. These are static in Connect.

abureaux_0-1719343135220.png

0 Kudos
RayKidd
New Contributor III

Thank you for confirming.

0 Kudos