How to make a image symbol on MapBox clickable

Topics: WinForms Controls
Aug 4, 2013 at 1:31 PM
Hello,

Is it possible to make a symbol set on VectorLayer clickable on a MapBox?

I can't seem to find a way to make it work. I'm working on WinForms.

Any help would be greatly appreciated.

Thank you very much.
Coordinator
Aug 5, 2013 at 6:57 AM
No, you can't attach a click event onto a symbol, what you can do is listen on the OnClick event on the MapBox-control and when that is fired query the datasource with a small boundingbox around the click-position for features.

There is a tool on ther MapBox (QueryPoint and QueryBox) that queries the datasource for information and fires "MapQueried-event". But then you need to change to that tool
Aug 6, 2013 at 9:09 PM
Thank you very much for the reply.

I will look into the information that you shared.

I will try out some things.

Thanks again.