Closed gabrielalan closed 4 days ago
Hi @gabrielalan Thank you for submitting the map request. The maps in the Map Collection have only regions and for cities as points I would recommend mappoint series like this demo: https://www.highcharts.com/demo/maps/mapline-mappoint If there is cities data (lat-lon positions) then a map can be created using existing Australia map or maybe there is a sub-division of Australian that you need that could be added to the Map Collection?
Thanks for the reply @KacperMadej. But in the example provided it only contains 2 of the cities in Queensland, Brisbane and Gold Coast. Some of our customers are looking to use the whole sub-division of Queensland (AU) with all the cities.
Some of our customers are looking to use the whole sub-division of Queensland (AU) with all the cities.
If there's a clear definition for the regions that should be drawn for that sub-division, preferably available on OpenStreetMap database, then this could be a map that we could add to the Map Collection.
If you need cities as points, then there's were we draw the line (the pun intended), and this is something that doesn't fit the current shape and form of the maps in the Map Collection.
The best I can think of would be a live demo showing how to get the cities data as points from somewhere and add it into a map, but I don't have the required cities data. Let's change that. Through https://overpass-turbo.eu/ using
[out:json][timeout:25];
// Define the area (Queensland, Australia)
area["name"="Queensland"]["admin_level"="4"]->.searchArea;
// Search for cities (nodes tagged as place=city or place=town)
node["place"~"city|town"](area.searchArea);
// Output result with lat/lon
out body;
Next, export the GeoJSON, paste it into the HTML section of a JSFiddle demo (so it works smoothly when the HTML tab is not viewed), process it like in the Australia demo linked before, add some extra options to make it a bit better, and here it is: https://jsfiddle.net/BlackLabel/46okpv38/
If anything in the code is unclear or you have any questions please let me know and I can explain.
Due to the lack of reply I will be closing this issue as an answered question about adding points to a map.
Hello Highcharts,
I would like to request a new map from Queensland (Australia) that would have the cities as well. It seems that the Australia map available in https://code.highcharts.com/mapdata/ does have Queensland but it doesn't have the cities data. And there is no Queensland map data either. At my company when we reached out to support we were instructed to put our requests of new map data here in this repo.
Let us know please if something else is necessary.
Best regards, Gabriel.