C# Class SuperMap.Connector.Control.Utility.Helper

显示文件 Open project: SuperMap/iClient-for-DotNet

Public Methods

Method Description
GetNearestIndex ( List scales, double scale ) : int
GetNearestScale ( List scales, double scale ) : double
Point2D2PointLatLng ( Point2D point2D ) : GMap.NET.PointLatLng
Point2Ds2PointLatLngs ( List point2Ds ) : List
PointLatLng2Point2D ( GMap.NET.PointLatLng pointLatlng ) : Point2D
PointLatLngs2Point2Ds ( List pointLatlngs ) : List

Method Details

GetNearestIndex() public static method

public static GetNearestIndex ( List scales, double scale ) : int
scales List
scale double
return int

GetNearestScale() public static method

public static GetNearestScale ( List scales, double scale ) : double
scales List
scale double
return double

Point2D2PointLatLng() public static method

public static Point2D2PointLatLng ( Point2D point2D ) : GMap.NET.PointLatLng
point2D Point2D
return GMap.NET.PointLatLng

Point2Ds2PointLatLngs() public static method

public static Point2Ds2PointLatLngs ( List point2Ds ) : List
point2Ds List
return List

PointLatLng2Point2D() public static method

public static PointLatLng2Point2D ( GMap.NET.PointLatLng pointLatlng ) : Point2D
pointLatlng GMap.NET.PointLatLng
return Point2D

PointLatLngs2Point2Ds() public static method

public static PointLatLngs2Point2Ds ( List pointLatlngs ) : List
pointLatlngs List
return List