Closed Skerre closed 1 year ago
Hi Team, Working on.
Good morning Martin, Done. Only 1 layer out of 3 was displayed because all three unrelated/independent layers were included in the same Feature object. After I placed each layer in a separate Feature object, everything started working.
"features": [ { "type": "Feature", "properties": { }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ ] ] ]
},
{ "type": "Feature", "properties": { }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ ] ] ]}, { "type": "Feature", "properties": { }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ ] ] ]}]
When looking at the upper part of the AOI for Tajikistan, react leaflet component Polygon is not rendering the AOI as it should: A sub part of the polygon is missing.
I noticed this bug a long time ago and reordered the polygon in the aoi.gejson file, because it will only render the first element it "sees" apparently. However, when I open the AOI file in another program, such as QGIS, it will render all the elements of the AOI.
When opened in QGIS looks correct: