ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
149 stars 29 forks source link

china gps trans not fixed #142

Closed luckywaa closed 11 months ago

luckywaa commented 11 months ago
          > Part of the 0.9.4 release

the problem is not fixed. I think it need to trans GCJ-02 to WGS-84, not the other way. I bought Gaode Map service in China, the mercedes api return GCJ-02 of china, but in HA, it used WGS-84, so we need trans GCJ-02 to WGS-84 to support HA

Originally posted by @luckywaa in https://github.com/ReneNulschDE/mbapi2020/issues/140#issuecomment-1750668668

ReneNulschDE commented 11 months ago

I have flipped the conversion to GCJ-->WGS, fixed in Release v0.9.5

luckywaa commented 11 months ago

it worked. thank you for your contribution.