We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Filter a list on Map Click

Which event will be used for a map layer selection click and force a filter on associated list on the same page? any example on site? 

1 Reply

HP Hemanathan Pandian Syncfusion Team March 15, 2023 06:15 PM UTC


When a shape in the Maps component is clicked, the “ShapeSelected” event will be triggered. In this event function, we can filter the data source and set it again in the Maps component to modify the data represented in the component. For example, in the below sample, we have filtered the layer data source and set it again in the same data source to change the color mapping when the shape is clicked. Please find the sample application and video from the below links for your reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WebApplication4279507410

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/shapeSelection2398940

Please let us know if you need any further assistance.


Hemanathan P.

Live Chat Icon For mobile
Up arrow icon