This topic has not yet been rated - Rate this topic

BingMapsTask Class

July 26, 2012

Allows an application to launch the Bing Maps application centered at the location specified with the Center property or at the user’s current location. If SearchTerm is set, locations matching the search term are tagged on the map.

System.Object
  Microsoft.Phone.Tasks.BingMapsTask

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class BingMapsTask
<BingMapsTask .../>

The BingMapsTask type exposes the following members.

  NameDescription
Public methodBingMapsTaskInitializes a new instance of the BingMapsTask class.
Top
  NameDescription
Public propertyCenterGets or sets the location that will be used as the center point for the map.
Public propertySearchTermGets or sets the search term that is used to find and tag locations on the map.
Public propertyZoomLevelGets or sets the initial zoom level of the map.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodShowShows the Bing Maps application centered at the location specified with the Center property or at the user’s current location. If SearchTerm is set, locations matching the search term are tagged on the map.
Public methodToString (Inherited from Object.)
Top

If you are developing your application to target 256-MB devices, consider using a BingMapsTask instead of a Map control. Memory allocated for a BingMapsTask does not count towards the total memory usage of your application. This helps minimize the memory impact of your application, which is of particular importance when running on a 256-MB device. For more information, see Developing for 256-MB Devices and How to: Use the Bing Maps Task for Windows Phone

Windows Phone OS

Supported in: 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.