cancel
Showing results for 
Search instead for 
Did you mean: 
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]] ] } }
]
}

3 REPLIES 3
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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Top Solution Authors