Forum Discussion
Multiple error generation when using geojson as a reference layer in Azure Maps
- 1 year ago
FYI the root cause of the problem is that some of the "features" (ie. map regions) in my GeoJSON file had "geometry":null - meaning that they were regions that should not be drawn. While most mapping software can handle this problem, Azure Maps reference layers cannot.
If you find yourself with this problem, you will need to delete any features in your GeoJSON file with the "geometry":null tag (see example below). The Power BI devs have told me that they expect a fix to be shipped in a couple of months (but no promises)
Hi rajendraongole1 ,
Even reducing the complexity of the model way down to 0.1% (which gives a woefully simple map) still causes the error. The file is only 66 KB.
And the GeoJSON validator you suggested verifies any GeoJSON file I give it as correct.