Method | Description | |
---|---|---|
CalcDistance ( this loc1, BasicGeoposition loc2 ) : double |
Calculate the distance between two geocodes. Defaults to using Kilometers.
|
|
CalculateAngle ( this loc1, BasicGeoposition loc2 ) : double | ||
Contains ( Geopoint location, GeoboundingBox geoBox ) : bool | ||
Contains ( List |
||
Contains ( List |
||
DiffRadian ( double val1, double val2 ) : double | ||
GetAreaFromLocations ( List |
||
GetDistanceKM ( this point1, BasicGeoposition point2 ) : double | ||
GetDistancePixel ( this point1, BasicGeoposition point2, double zoomLevel ) : double | ||
GetDistanceTo ( this p1, Point p2 ) : double | ||
GetOffsetLocation ( this station, MapControl map ) : Point | ||
GetOffsetLocation2 ( this station, BasicGeoposition origin, double zoomLevel ) : Point | ||
GetOffsetedLocation ( this point1, BasicGeoposition point2, double zoomLevel ) : Point |
point1 must always be at the 0,0 offseted location
|
|
GetViewArea ( this map ) : GeoboundingBox | ||
GetViewLocations ( this map ) : List |
||
GroundResolution ( double latitude, double levelOfDetail ) : double |
Determines the ground resolution (in meters per pixel) at a specified latitude and level of detail.
|
|
IsLocationVisible ( this map, Point point ) : bool | ||
MapSize ( int levelOfDetail ) : uint |
Determines the map width and height (in pixels) at a specified level of detail.
|
|
ParseMapLocationFinderResultAddress ( this result ) : string | ||
SetViewArea ( this map, Geopoint p1, Geopoint p2 ) : void | ||
ToRadian ( double val ) : double |
Method | Description | |
---|---|---|
Clip ( double n, double minValue, double maxValue ) : double |
Clips a number to the specified minimum and maximum values. Most helper functions are from MSDN site: http://msdn.microsoft.com/en-us/library/bb259689.aspx |
public static CalcDistance ( this loc1, BasicGeoposition loc2 ) : double | ||
loc1 | this | |
loc2 | BasicGeoposition | |
return | double |
public static CalculateAngle ( this loc1, BasicGeoposition loc2 ) : double | ||
loc1 | this | |
loc2 | BasicGeoposition | |
return | double |
public static Contains ( Geopoint location, GeoboundingBox geoBox ) : bool | ||
location | Geopoint | |
geoBox | GeoboundingBox | |
return | bool |
public static Contains ( List |
||
polyPoints | List |
|
point | Geopoint | |
return | bool |
public static Contains ( List |
||
polyPoints | List |
|
latitude | double | |
longitude | double | |
return | bool |
public static DiffRadian ( double val1, double val2 ) : double | ||
val1 | double | |
val2 | double | |
return | double |
public static GetAreaFromLocations ( List |
||
geopoints | List |
|
return | GeoboundingBox |
public static GetDistanceKM ( this point1, BasicGeoposition point2 ) : double | ||
point1 | this | |
point2 | BasicGeoposition | |
return | double |
public static GetDistancePixel ( this point1, BasicGeoposition point2, double zoomLevel ) : double | ||
point1 | this | |
point2 | BasicGeoposition | |
zoomLevel | double | |
return | double |
public static GetDistanceTo ( this p1, Point p2 ) : double | ||
p1 | this | |
p2 | Point | |
return | double |
public static GetOffsetLocation ( this station, MapControl map ) : Point | ||
station | this | |
map | MapControl | |
return | Point |
public static GetOffsetLocation2 ( this station, BasicGeoposition origin, double zoomLevel ) : Point | ||
station | this | |
origin | BasicGeoposition | |
zoomLevel | double | |
return | Point |
public static GetOffsetedLocation ( this point1, BasicGeoposition point2, double zoomLevel ) : Point | ||
point1 | this | |
point2 | BasicGeoposition | |
zoomLevel | double | |
return | Point |
public static GetViewArea ( this map ) : GeoboundingBox | ||
map | this | |
return | GeoboundingBox |
public static GetViewLocations ( this map ) : List |
||
map | this | |
return | List |
public static GroundResolution ( double latitude, double levelOfDetail ) : double | ||
latitude | double | Latitude (in degrees) at which to measure the /// ground resolution. |
levelOfDetail | double | Level of detail, from 1 (lowest detail) /// to 23 (highest detail). |
return | double |
public static IsLocationVisible ( this map, Point point ) : bool | ||
map | this | |
point | Point | |
return | bool |
public static MapSize ( int levelOfDetail ) : uint | ||
levelOfDetail | int | Level of detail, from 1 (lowest detail) /// to 23 (highest detail). |
return | uint |
public static ParseMapLocationFinderResultAddress ( this result ) : string | ||
result | this | |
return | string |
public static SetViewArea ( this map, Geopoint p1, Geopoint p2 ) : void | ||
map | this | |
p1 | Geopoint | |
p2 | Geopoint | |
return | void |
public static ToRadian ( double val ) : double | ||
val | double | |
return | double |