MapControl.IsLocationInView(Geopoint, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.