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.

Menu