Hi Team,
Good Morning,
We are not get feature over map mouse click event at all the Zoom level.
It possible to raise mouse click event for Feature ?
Regards,
Tamilarasan.
Hi Team,
Good Morning,
We are not get feature over map mouse click event at all the Zoom level.
It possible to raise mouse click event for Feature ?
Regards,
Tamilarasan.
Hi Tamilarasan,
We don’t have event directly raise on feature.
If you want to implement click event for a feature, you can make it as marker, and add event on marker.
As below is the marker related sample: https://github.com/ThinkGeo?utf8=✓&q=marker&type=&language=
Or you can raise mapClick event, then find the nearest feature and handle related logic.
Wish that’s helpful.
Regards,
Ethan
Thanks Ethan,
i accept your reply but in my map i have 1000 and above feature need to add, in that case i go for marker is windows control it cause any performance issue?
Note: In background process i update the feature or marker every 10 seconds.
Regards,
Tamilarasan.
Hi Tamilarasan,
If you need to shows the more than 1000 features at the same time on map, of course the marker should cause performance problem.
I think you can build marker when you clicked on, but I think you can try to find the feature which is clicked and then do something you want to do if the feature number is big: https://github.com/ThinkGeo/GetFeaturesClickedOnSample-ForWinForms
Wish that’s helpful.
Regards,
Ethan
Thanks,It helpful for me…
Regards,
Tamilarasan.
Hi Tamilarasan,
I am glad to hear that’s helpful.
Regards,
Ethan