Click or drag to resize
BingRestMapProvider Methods

The BingRestMapProvider type exposes the following members.

Methods
  NameDescription
Protected methodApplySourceModes
Apply map source modes.
(Overrides MapProviderBaseApplySourceModes(String).)
Protected methodBuildElevationRequestUri
Builds a string URI based on the BingRestElevationRequest.
Protected methodBuildRoutingRequestUri
Builds a string URI based on the BingRestRouteRequest.
Protected methodBuildSearchLocationRequestUri
Creates a string URI based on the BingRestSearchLocationRequest.
Protected methodCacheStorageChanged
Occurs when cache storage is changed.
(Inherited from TiledProvider.)
Public methodCalculateElevationAsync
Performs async elevation request. Calculates elevation for given list of latitude and longitude pairs. Alternatively can calculate the elevation of equally spaced points along a polyline.
Public methodCalculateRouteAsync
Calculates the route specified by the BingRestRouteRequest.
Public methodClone
Implements the ICloneable interface.
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Freezable derived class.
(Inherited from MapProviderBase.)
Public methodDispose
Releases the resources used by the current instance of the MapProviderBase class.
(Inherited from MapProviderBase.)
Protected methodDispose(Boolean)
Called by the Dispose() and Finalize() methods to release the unmanaged resources used by the current instance of the BingRestMapProvider class.
(Overrides MapProviderBaseDispose(Boolean).)
Protected methodGetPointsString
Builds locations string used in the service request.
Public methodGetValidatedGeoPoint
Gets the closest valid geographical point for the one supplied (longitude, latitude).
(Inherited from MapProviderBase.)
Protected methodInheritCacheStorage
Copies the CacheStorage and IsTileCachingEnabled properties to source.
(Inherited from TiledProvider.)
Protected methodInheritCurrentSource
Sets current map source to cloned provider.
(Inherited from MapProviderBase.)
Protected methodInheritParameters
Set parameters to the clone of map provider.
(Inherited from TiledProvider.)
Protected methodInheritRequestCacheLevel
Copies the RequestCacheLevel property to source.
(Inherited from TiledProvider.)
Protected methodInheritRequestCredentials
Copies the RequestCredentials property to source.
(Inherited from TiledProvider.)
Protected methodIsTileCachingEnabledChanged
Occurs when tile caching enabled status is changed.
(Inherited from TiledProvider.)
Protected methodOnCalculateElevationCompleted(BingRestElevationCompletedEventArgs)
Called when calculation of elevation is completed.
Protected methodOnCalculateElevationCompleted(Object, DownloadStringCompletedEventArgs)
Called when calculation of elevation is completed.
Protected methodOnCalculateElevationError
Called when calculation of elevation returns error.
Protected methodOnCalculateRouteCompleted(BingRestRoutingCompletedEventArgs)
Called when the calculation of route is completed.
Protected methodOnCalculateRouteCompleted(Object, DownloadStringCompletedEventArgs)
Called when calculation of route is completed.
Protected methodOnCalculateRouteError
Called when the calculation of route produces an error.
Protected methodOnIsTileCachingEnabledChanged
Calls when the IsTileCachingEnabled property changed.
(Inherited from TiledProvider.)
Protected methodOnPreviewSourceChange
Called before map provider switch to another map source.
(Overrides MapProviderBaseOnPreviewSourceChange(IMapSource).)
Protected methodOnPreviewSourceChanged
Called after map provider switch to another map source.
(Overrides MapProviderBaseOnPreviewSourceChanged(IMapSource).)
Protected methodOnSearchLocationCompleted
Called when the search is completed.
Protected methodOnSearchLocationError
Called when search error occurs.
Protected methodOnSearchRequestCompleted
Called when the services returns response from the received BingSearchLocationRequest.
Protected methodRegisterSetSourceCommand
Register new set source command.
(Inherited from MapProviderBase.)
Protected methodRequestCacheLevelChanged
Occurs when RequestCacheLevel is changed.
(Inherited from TiledProvider.)
Protected methodRequestCredentialsChanged
Occurs when RequestCredentials is changed.
(Inherited from TiledProvider.)
Public methodSearchLocationAsync
Performs async search location request.
Protected methodSetCommandState
Set state of the commands depends on the new map source.
(Overrides MapProviderBaseSetCommandState(String).)
Public methodSetMapSource
Force map provider to use specific map source.
(Inherited from MapProviderBase.)
Public methodSetMapSourceToClone
Set specific map source to clone of map provider.
(Overrides MapProviderBaseSetMapSourceToClone(MapProviderBase, String).)
Protected methodSourceInitializationFaulted
Called when map source initialization faulted.
(Inherited from MapProviderBase.)
Protected methodTilePresenterMapSourceChanged
Called when map source is changed for tile presenter and map source initialization completed.
(Overrides MapProviderBaseTilePresenterMapSourceChanged(Object, SourceChangedEventArgs).)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
See Also