Closed luckywaa closed 11 months ago
with the code in the master branch, the component has now the option to activate the GCJ-02. Let me know, if you can test this.
The option is in the configure dialog.
Please restart HA or Reload the component after activating this setting.
Part of the 0.9.4 release
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
perhaps you can use this method https://github.com/gaussic/geo_convert/blob/master/converter.py
I think the problem is china need transform coordinate between earth(WGS-84) and mars in china(GCJ-02)![image](https://github.com/ReneNulschDE/mbapi2020/assets/8738803/54b2d5e3-e5c7-4047-890d-216a06e0f9f5)