CoordinateTransformUtil class
百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具
参考wandergis/coordtransform实现的Java版本 @author geosmart
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Static Methods
-
bd09ToGcj02(
double bd_lng, double bd_lat) → List< double> - 百度坐标系(BD-09)转火星坐标系(GCJ-02) @param bd_lng 百度坐标纬度 @param bd_lat 百度坐标经度 @return 火星坐标数组 @info 百度——>谷歌、高德
-
bd09ToWgs84(
double lng, double lat) → List< double> - 百度坐标系(BD-09)转WGS坐标 @param lng 百度坐标纬度 @param lat 百度坐标经度 @return WGS84坐标数组
-
gcj02ToBd09(
double lng, double lat) → List< double> - 火星坐标系(GCJ-02)转百度坐标系(BD-09) @param lng 火星坐标经度 @param lat 火星坐标纬度 @return 百度坐标数组 @info 谷歌、高德——>百度
-
gcj02ToWgs84(
double lng, double lat) → List< double> - GCJ02(火星坐标系)转WGS84 @param lng 火星坐标系的经度 @param lat 火星坐标系纬度 @return WGS84坐标数组
-
isInChina(
double lng, double lat) → bool -
transform(
double lng, double lat) → List< double> -
transformLat(
double lng, double lat) → double - 纬度转换
-
transformLng(
double lng, double lat) → double - 经度转换
-
wgs84ToBd09(
double lng, double lat) → List< double> - WGS坐标转百度坐标系(BD-09) @param lng WGS84坐标系的经度 @param lat WGS84坐标系的纬度 @return 百度坐标数组
-
wgs84ToGcj02(
double lng, double lat) → List< double> - WGS84转GCJ02(火星坐标系) @param lng WGS84坐标系的经度 @param lat WGS84坐标系的纬度 @return 火星坐标数组