Sign in to follow this  
meghana

Fusion Map - Get Entity SVG Path element on Entity Click Event

Recommended Posts

I am using Fusion USA Dma Map.

 

I want to change color of entity when any user click on entity , for that i have added entityClick event listner on map. on event i can get Data of selected map. and event object,

 

in event object it is sending map object as sender. but i need specific entity object on which click event is fired, and want to dynamically change color of that entity.

 

can anybody help me on it. How can i get selected entity object on entityClick event. 

 

Thanks

 

Share this post


Link to post
Share on other sites

I am using Fusion USA Dma Map.

 

I want to change color of entity when any user click on entity , for that i have added entityClick event listner on map. on event i can get Data of selected map. and event object,

 

in event object it is sending map object as sender. but i need specific entity object on which click event is fired, and want to dynamically change color of that entity.

 

can anybody help me on it. How can i get selected entity object on entityClick event. 

 

Thanks

Hi,

 

We have a native sample on this which might be useful to you.

 

Please check and share your feedback.

HighlightEnitityOnClick.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this