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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors