Select to view content in your preferred language

Suppress popup on feature selected with a URL parameter

253
1
08-25-2025 03:03 PM
Status: Open
sblazeycov
Regular Contributor

I am creating a Parks map using URL parameters so that the map can be embedded on several web pages and then each one can zoom to each specific park.  (Using &Name=Park%20Name).

The trouble is, the selected park has a popup that is redundant in this case, since the map is already zoomed to the desired park. 
&urlParamAsFilter=true works great to suppress the popup, but since it also filters the layer, I lose the context of the surrounding parks.  

As a workaround to this, I had to add a duplicate Parks layer in the background so I could use the &urlParamAsFilter=true to filter and suppress the popup, but I can still see the other surrounding parks on the map thanks to the duplicate layer.  In the layer list I called the layers "Selected Park" and "All Parks", so it still makes sense to the user.

It would be great to see a URL parameter option to just suppress the popup without filtering the layer to make this easier.

Thanks

1 Comment
KellyHutchins

Good timing! We are working on adding configuration support for filtering the map for a release later this year. So we can look into allowing you to hide/show the popup as part of that work.