evil_transform v0.1.0 EvilTransform
EvilTransform Public API.
Link to this section Summary
Functions
Convert GCJ-02 coordinate to WGS-84 coordinate
Build a Geo struct according to given latitude and longitude
Convert WGS-84 coordinate to GCJ-02 coordinate
Link to this section Functions
Link to this function
gcjtowgs(geo)
Convert GCJ-02 coordinate to WGS-84 coordinate.
accurate rate within 1km.
Link to this function
new_geo(lat, lng)
Build a Geo struct according to given latitude and longitude.
Link to this function
wgstogcj(geo)
Convert WGS-84 coordinate to GCJ-02 coordinate.
accurate rate within 5m.