Event to capture veshape infobox mouseout event
-
Thursday, June 21, 2012 12:34 PM
Hi,
I am working on bing map v6.3 . I want to capture mouseout event for infobox of veshape. Currently I am using mouseout event of vemap but it works for pushpin not for its infobox.
All Replies
-
Thursday, June 21, 2012 2:50 PMOwner
If this is a new application I recommend using Bing Maps v7 as the Bing Maps v6.3 API is old and hasn't been updated in over 3 years. As for your event issue, there is no built in event for it. You can look at using a custom infobox and adding a mouseout event to the base div.http://rbrundritt.wordpress.com
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Friday, June 22, 2012 8:14 AM
- Unmarked As Answer by mayank.karki Wednesday, June 27, 2012 6:08 AM
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Wednesday, June 27, 2012 9:44 AM
- Unmarked As Answer by mayank.karki Wednesday, June 27, 2012 9:57 AM
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Wednesday, June 27, 2012 11:10 AM
-
Wednesday, June 27, 2012 6:11 AM
Hi,
Thanks for reply. I also want to use v7 but one thing I can't make in it
pushPin.SetCustomIcon("<div style='background-color:" + _driverColor[i] + "'><img src='home_24.png' width='16px' height='16px' /></div>");
I am using image for pins with different background color getting from array. I didn't find any way to do this in v7.
-
Wednesday, June 27, 2012 9:46 AMOwnerYou can use the infobox class and pass in your HTML cutom pushpin as the HTML content of the Infobox. It might sound a bit odd but in reality it creates basically the same thing.
http://rbrundritt.wordpress.com
-
Wednesday, June 27, 2012 9:59 AM
Thanks,
But I didn't understand how to use infobox class. If possible show me code.
-
Wednesday, June 27, 2012 11:09 AMOwnerA working example can be found in this post: http://social.msdn.microsoft.com/Forums/en-US/bingmapsajax/thread/78a07f38-01c7-4964-938b-4509cf0879af
http://rbrundritt.wordpress.com
- Marked As Answer by Richard_BrundrittMicrosoft Employee, Owner Wednesday, June 27, 2012 11:10 AM
- Unmarked As Answer by mayank.karki Thursday, June 28, 2012 6:07 AM
-
Thursday, June 28, 2012 6:10 AMI go through the post, infobox is used instead of pushpin to show pin in map but I have to made them draggable also. Draggable property can only be set in pushpin class.
- Edited by mayank.karki Thursday, June 28, 2012 6:11 AM

