Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Ste_For94
Frequent Visitor

Reference layer in azure maps, custom json is invisible

Hi everyon

 

i've created a json file to use as a reference layer in an azure visual. if I Use it in a shape map I can see it with no problems but if I use it as a reference layer in an azure maps nothing happens. I wonder perhaps if this is due to the polygons dimensions... can somebody please help? thanks!

 

Here's an example of the json code

 

{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "DRE": "50"}, "geometry": { "type": "Polygon", "coordinates": [ [ [+45.050000,+6.650000],[+45.060000,+6.650000],[+45.060000,+6.660000],[+45.050000,+6.660000] ] ] } },
{ "type": "Feature", "properties": { "DRE": "100"}, "geometry": { "type": "Polygon", "coordinates": [ [ [+45.040000, +6.660000],[+45.050000, +6.660000],[45.050000, 6.670000],[45.040000, 6.670000]] ] } }
]
}

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Hello, I have the same problem with a polygon Json file, when using it in a SHAPE MAP it works perfectly for me, but when I want to use the same file in an Azure MAP it places the following message: unable to load reference layer. unable to parse file

I would like to know if you had any solution to this problem.

Thank you.

v-deddai1-msft
Community Support
Community Support

Hi @Ste_For94 ,

 

Would you please check if you have followed the steps in https://doc.arcgis.com/en/power-bi/get-started/add-custom-reference-layers-to-arcgis.htm?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

as I've said I'm not using ArcGIS I'm using azure maps with an on premises json file...

Hi @Ste_For94 ,

 

Sorry for mistake. Since it is a preview feature, I suggest you follow the sample to modify your json file: https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/AzureMapsCodeSamples/Common/data/g...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.