We recently released an update to the Bing Maps AJAX Control v7 last week. If you missed the initial release of v7 last November, see this post. The Bing Maps AJAX control v7 is the latest Bing map control which is small in size and provides an optimized experience for desktop and mobile clients. It leverages HTML5 and CSS3 capabilities of browsers when possible to provide the richest, high performance experience.
Some of the additions in the recent update to the v7 API include the following:
- New Infobox class for adding context information to the Map. The Infobox can be anchored at a location and allows you to insert simple title/description text, as well as completely customize the look and feel with custom HTML. The Infobox also has options and events so you can customize your experience.
- Updated browser support including RIM Blackberry 6.0 and Firefox 4.0. To see the latest list of browsers supported see: Bing Maps AJAX control 7.0 Supported Browsers
- New keyboard events ‘keydown’, ‘keypress’, and ‘keyup’ have been added to the Map so you can now respond to keyboard events directly and also override default Map behavior. A new KeyEventArgs class was added to provide information on the keyboard events. See Map Class Events section in the SDK for more details.
- New ‘mousewheel’ mouse event added to the Map so you can now respond to the mousewheel event directly and override the default Map mousewheel zoom behavior if you wish to do so. The ‘wheelDelta’ property was added to MouseEventArgs so you can read the mouse wheel change of position. See Map Class Events section in the SDK for more details.
- New ‘tiledownloadcomplete’ event added to the Map which fires when a scene in a map view has completed downloading its imagery tiles, so you can detect when a scene has been loaded in view. See Map Class Events section for more details.
- New ‘showMapTypeSelector’ option was added to MapOptions which allows you to hide the map type selector in the navigation control for a smaller navigation control.
- New handled property added to input event arguments MouseEventArgs and KeyEventArgs so you can now override the default Map behavior for input events by setting it to true.
- New isTouchEvent property added to MouseEventArgs so you can tell if a mouse event was generated by a touch event on browsers that support touch events.
- New isPrimary and isSecondary properties added to MouseEventArgs for determining left mouse/tap and right mouse click on certain mouse events
- New originalEvent property added to MouseEventArgs and KeyEventArgs so you can get access to the original browser event if needed.
- New dispose method was added to the Map to remove the map from a page.
For the latest information on the Bing Maps AJAX Control v7, see the Bing Maps AJAX Control v7 SDK. Also, check back here for samples on the Bing Maps v7 AJAX control in future posts.