Select to view content in your preferred language

Map report template zoom to repeat geopoints

1217
13
Jump to solution
08-15-2024 06:06 PM
j-bromp
Frequent Contributor

Hi,

I am trying to set up an automated site plan generation workflow and I am running into issues with the parent layer controlling the zoom/extent of the printed map. my question: Is it possible to force the report template to dynamically set the extent based off the child (repeat) layer? Right now, if someone opens up the survey in the office then goes out to site, the site plan captures the office, missing all the relevant data. I have even removed the parent layer from the webmap but it still displays the office location and not the geopoints.

Cheers

0 Kudos
13 Replies
j-bromp
Frequent Contributor

thanks, as the area over which points could be collected i didn't want to set a static scale, incase the map needed to be zoomed in or out, to capture a better extent

0 Kudos
j-bromp
Frequent Contributor

Awesome thank you very much that is the syntax i was looking for, that has focused the map on the geopoints in the repeat.

0 Kudos
j-bromp
Frequent Contributor

Got the blue icon to disappear by setting the drawingInfo:"currentLayer"

j-bromp
Frequent Contributor

My mistake, it looks like the above syntax actually generates a map for each geopoint across multiple pages, not a single map containing each repeat.

Any ideas?

0 Kudos