Forum Discussion
Reference Layer in Azure Maps
Good afternoon,
I am looking to create a map that shows appointment locations (someone's home) in reference to the office location providing services. I can easily create the map of appointments from a dataset and set a legend for the office providing the service. What I'd like to do is add a reference layer to the map for the office locations (offices and thier location rarely change). I've created a geo json file with the office locations as points. Then imported intothe visual. They show up on the map but when there is no hover over event to trigger a tooltip showing what location name is. I've provided a name property, but it's not showing up anywhere.
Here's a snippet of the JSON for the central IL office. The marker-color and marker-size work, but the name does not appear.
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-89.25697,
39.85952
]
},
"properties": {
"marker-color": "#800000",
"marker-size": "medium",
"marker-symbol": "",
"name": "Central-IL Office"
}
}
Is there something I need to change or is this not currently suppoorted and feature request for the visual?
Thanks
1 Reply
- v-alq-msftCommunity Support
Hi, mcolbert
Please make sure that you export from mapshaper in 'wgs84' (co-ordinate system). You may type proj wgs84 In the console in mapshaper and then export it as topojson.
For further information, please refer to the following similar threads:
Problem using custom shape map
Corrupted map visual using a shp file converted to a topojson using mapshaper
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.