Announcement

Collapse
No announcement yet.

Plane position incorrect in China

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plane position incorrect in China

    123.jpg

    Chinese goverment uses a different coordinate system called "GCJ-02 (Guo Ce Ju 2002)".
    This means, if you want provide map service in China, you must convert WGS-84 points to GCJ-02 points.
    Google Ditu(maps.google.cn or ditu.google.cn) uses GCJ-02 coordinate system.
    So if you add a marker with a WGS-84 position, The marker position will be completely wrong, like above screenshot.

    There is an english article about GCJ-02: http://www.sinosplice.com/life/archi...offset-problem
    And some convert code: https://github.com/googollee/eviltransform
Working...
X