Select to view content in your preferred language

Zoom to selection URL parameter does not work

235
2
04-23-2025 06:56 AM
Sfortunatamente
Occasional Contributor

I have a url which selects the feature. I can see that selection on the map but adding "zoom_to_selection=true" does not zoom but pans the map.

here an example:

experience/?id=9077fb48ea4f4e13b9892859e384c753#data_s=id%3AdataSource_5-194cb6decdc-layer-1-57%3A323&zoom_to_selection=true

What am I doing wrong?

0 Kudos
2 Replies
DanielFox1
Esri Contributor

Hi @Sfortunatamente 

This is currently an enhancement request which is under consideration (ENH-000174440) 

I would recommend raising a support case with your distributor and have the enhancement attached if it matches your scenario (judging by the above I think it does), then you will be able to follow the updates on the enhancement. 

 

Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @Sfortunatamente,

After selecting the records, please refresh the URL, it will zoom to the selected records.

 

Thanks,

Ke

 

0 Kudos