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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.