This project has moved and is read-only. For the latest updates, please go here.

How to make a image symbol on MapBox clickable

Topics: WinForms Controls
Aug 4, 2013 at 2:31 PM

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.
Aug 5, 2013 at 7: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 10: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.