How to obtain City coordinates when drawing World Map by echarts

The

project needs to use echarts to connect several cities around the world, but this city doesn"t know where to get the coordinates. How do you usually deal with this area? Is there a js plug-in to implement it? I googled some json files that are not ideal.

May.31,2022

how many cities are there? If there is less, just go to the map site and have a few points. If there is more, find a world map and turn the city data. MapInfo has a free data packet, 1: 4 million world map


Baidu [coordinate pick] to learn about.
domestic maps may have deviations of tens or hundreds of meters depending on the coordinate system.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2c172-4e752.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2c172-4e752.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?