Sdílet prostřednictvím


MapControl.IsLocationInView(Geopoint, Boolean) Method

Definition

Determines whether the specified geographic location is located in the portion of the map currently visible in the MapControl.

public:
 virtual void IsLocationInView(Geopoint ^ location, [Out] bool & isInView) = IsLocationInView;
void IsLocationInView(Geopoint const& location, [Out] bool & isInView);
public void IsLocationInView(Geopoint location, out bool isInView);
Public Sub IsLocationInView (location As Geopoint, ByRef isInView As Boolean)

Parameters

location
Geopoint

A geographic location.

isInView
Boolean

bool

When this method returns, contains true if the specified geographic location is located in the portion of the map currently visible in the MapControl; otherwise, contains false.

Applies to

See also