evil_transform v0.2.0 EvilTransform
EvilTransform Public API.
Link to this section Summary
Functions
Return distance in meter between point(alat, alng) and point(blat, blng)
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
distance(alat, alng, blat, blng)
Return distance in meter between point(alat, alng) and point(blat, blng).
Link to this function
gcjtowgs(geo)
Convert GCJ-02 coordinate to WGS-84 coordinate.
accurate rate within 10m.
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.