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]] ] } }
]
}
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.
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
User | Count |
---|---|
123 | |
63 | |
56 | |
45 | |
41 |
User | Count |
---|---|
115 | |
66 | |
60 | |
59 | |
45 |