Is it possible to make Polygon accessible using the Bing Maps API?

I can put a pushpin in the center of each Polygon to achieve a clickable area, but this is an additional step that I would prefer not to do.

+1
source share
1 answer

Yes, but it’s some kind of pain. Steps:

1.) joins the mouscick event inside VEMap 2.) determine whether the muscle was in the area of ​​your polygon or on form 3.) stop transmitting the event to the map object itself.

The mouse patch: http://www.codeproject.com/KB/scripting/Use_of_VEMap.aspx#heading0012 is a decent primer, although if you need specific code, I can do it for you too.

, true funciton: http://msdn.microsoft.com/en-us/library/bb412543.aspx

0

All Articles