Hi,
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.
Regards,
Hemanathan P.