Forum Discussion
m_cherriman
3 years agoAdvocate I
GeoJSON reference layer - location labels/names
Hi, I'm using an Azure maps visual with a GeoJSON reference layer which is showing red dots for distribution centres, which is great. But what I also need is to show is the centre name. I've ad...
jusTodd
2 years agoAdvocate IV
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"locationA","latitude":"39.142475600","longitude":"-94.576185800"},"geometry":{"type":"Point","coordinates":[-94.576186,39.142476]}},{"type":"Feature","properties":{"name":"locationB","latitude":"39.213128600","longitude":"-94.464780200"},"geometry":{"type":"Point","coordinates":[-94.46478,39.213129]}},{"type":"Feature","properties":{"name":"locationC","latitude":"39.214377000","longitude":"-94.463564000"},"geometry":{"type":"Point","coordinates":[-94.463564,39.214377]}}]}lbendlin
2 years agoSuper User
That still only has a name property. You would have to use name as the location value. Note that I used the test.json file as the custom map.
Usually the topojson also has polygons with the shapes of your items.
see attached.