mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.25k stars 3.58k forks source link

How to convert WGS84 to GCJ02? #9696

Closed Sky1wu closed 3 years ago

Sky1wu commented 3 years ago

I'm trying to use Gaode map in China. But it uses the GCJ02 coordinate system. I know the conversion algorithm that WGS84 to GCJ02, but I don't know where to change the code.

DonLakeFlyer commented 3 years ago

Map support is in QtLocationPlugin