helgasoft commented on issue #18975: URL: https://github.com/apache/echarts/issues/18975#issuecomment-2001787808
> Is there any way to convert lng/lat coordinates into x/y coordinates Yes, provided that the geographic coordinate system used for drawing the SVG map is WGS 84. In my [Demo](https://echarts.apache.org/examples/en/editor.html?c=geo-svg-scatter-simple&code=PTAECMHsFcDsBMCWsDmFIA9TNAGwIYAuwuqAULpLgKYBmhoAvKANoBsAzADSgC0ATAFYAdGwCM_ALoBuMtAAOAJ0QoAFg2bsA7MP7itPXhN1iZZeEXwBnahtABvMqFBIAttVhXEkTwC5WAOSw-O4BPAEEhGGgEagBklxOoFYwigDG1P4sSc4sAQBK1ACeANYAVvgAbgC3JdFsACzCYhwAnK1srYb8YsKtDVqtABxaCTmBAGr4uASw1Fb1ImKtHA2CDYZiTYIcbGx6Y865AQDKhPi0F9Qz9U0NWw2dm01Dgvz8AAwNh0d5ABLQKxVRB1Hh7YRfLb8TY6DgcLQND6jRJHQKUGj0aLouiEFgfBJ4Kg4limH7HBTKNRRHgUlTqPEE2lUkmSSRJNkAX1kAHdEPBCKomKAxENVtJnKpqHS7Fshq1xaAQKAThMAOIuRDuTzeTxkVRpIWS6WK0AACiZ9PxfEJGNx-IAlOKlbRIIo8EQyNyDcxefzBWBzUppSzrdj6CzHYqwC63aQUGQrPwhSwzBZzjZCMIUtB0tRhK58PJTaaMPamAA-BxJRPCeSA1Sm7KojAMlFHACyRFUwnw4CsJZDvFAFrtkjLACpQPq285OwKe32B1JQ0Tw6YJ6AvezHWQOTu09ZbFnUhkhYmnWBAdRQGkfJVqIpCNR4KBKtNoPMyGQACTCFC2U18gAeSAgAVAB9AAFABBUC_lAABqGJgAPYBrAzYB_0gYBO3kcDIFocCAEkMlmeAs0qFBoloOA0kIHUzSsSiy0cZxqDSVR8EfKxhEUagUEQKwn0UXDTQCRBSPwBBwKYqieHsZJKP8WTQD3WRnEgeR6J8IVWKOQhICoej5H8ewORnUAsNM8ZnAMozEBMhxklUSBuX8QhFA_VSLOcA tHPEyTpNksIbNARRIBCdzPOocZzPGA8MwsmxlHmazUVsop5EyGI6FodjCBONIiGEkL0pvQzFCQYInxOIohOoVx_ACLDSvSxAn1cM4ihoUzysoRQmoAYnAD5-HwUaAm80KPFveBsoUyJ_DEHg438aFQDs3BjP8D5VNipIuSSVwigAYU4x8s1sICtJ1U1NO02AdzUoA) I assume _Iceland.svg_ is WGS 84 (turns out it's close, but not 100%). The only, but difficult, task is to find the lat/lng coordinates of the **SVG bounding box** - lower left and upper right corner points. Then convert all points' coordinates from (lat,lng) to (x,y) and display them.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
