Select to view content in your preferred language

Provide the option to use same map widget to trigger the action on the map widget

337
0
03-04-2024 03:29 AM
Status: Open
GeeteshSingh07
Occasional Contributor II

Hi Team,

I am looking for a way to zoom to a feature on the map using URL parameter. I found some tricks on the community, however, they are not suitable in all the scenarios, such as if I have to use non-object ID field in URL parameter to query...

Idea:

The 'Map' Widget doesn't provide the option to add a trigger on itself. We can add other widgets, in 'Map Widget' action, however, can't add the map widget.

If we had the option to add same "Map Widget" to its trigger, then we can configure the action such as 'zoom', 'pan' etc. Thus, if I select any point in map, my map will automatically zoom to that point.

Here is an example:

There are 2 map widgets added in my experience builder: 'Map' and 'Map3. I have opened settings of 'Map widget and here 'Map3' is listed and I can configure the actions listed. But, it doesn't have 'Map' widget listed.

GeeteshSingh07_0-1709550793285.png

GeeteshSingh07_1-1709550811229.png

Here are some wonderful resources:

Thanks to @BrianBaldwin@BrunoSousa1