MapControl.GetOffsetFromLocation(Geopoint, Point) MapControl.GetOffsetFromLocation(Geopoint, Point) MapControl.GetOffsetFromLocation(Geopoint, Point) MapControl.GetOffsetFromLocation(Geopoint, Point) Method

Definition

Converts a geographic location to a point on the map.

public : void GetOffsetFromLocation(Geopoint location, Point offset)
void GetOffsetFromLocation(Geopoint location, Point const& offset) const;
public void GetOffsetFromLocation(Geopoint location, Point offset)
Public Sub GetOffsetFromLocation(location As Geopoint, offset As Point)

Parameters

location
Geopoint Geopoint

A geographic location to convert to a point on the map.

offset
Point Point

When this method returns, contains the corresponding point on the map.

Remarks

This method returns a valid point only when the geographic location appears within the map control view.

Compare the GetLocationFromOffset method.

See also