How to update map marker dynamically

Hi there,

I want to update the marker dynamically from an input text like a search input but the map does not rerender showing the new marker.

I have an Input Component with name “City” and Map Component where marker address field has a magic text “City”.

When I type the city name (ex. new york) in the Input City, the map shows the marker correctly but when I type another city name (ex. chicago), the map does not rerender with the new marker.

Can you tell me if this is possible?

Have a button, such as a search button, that refreshes the map. You can do this by hiding its visibility and then turning visibility back on. That should rerender the map.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.