Polygon not visible in Map Viewer, but is visible in Map Viewer Classic

213
5
2 weeks ago
Labels (1)
adevadas
New Contributor III

WebMap has a Feature Layer with two polygons, and they are visible in Map Viewer Classic. But when using Map Viewer, the polygons are not visible. 

Here is the link to the WebMap from Map Viewer Classic.

https://arcg.is/0qfS9G

I can't figure out what's causing this issue, any help is appreciated.

5 Replies
BernSzukalski
Esri Frequent Contributor

I took a quick look, was able to repro, but did an analysis in Classic to essentially copy those two polygons (Find Existing Locations using where area greater than 0). The resultant analysis layer works just fine in Map Viewer. So, that leads me to think it might be something amiss with the geometry.

You didn't mention how you created the layer, but I'd start looking there. Pro has a repair geometry geoprocessing tool that should also fix the issue.

0 Kudos
adevadas
New Contributor III

The Feature Layer was created from a GeoJSON file (zip file attached), by drag-n-drop using 'New Item' under Contents in ArcGIS Online. 

0 Kudos
BernSzukalski
Esri Frequent Contributor

I did successfully use the GeoJSON you included above to create a hosted feature layer that I added to a map. I did that by downloading and unzipping your file and dragging and dropping it into New item.

Here's the map:

https://www.arcgis.com/apps/mapviewer/index.html?webmap=745c0d6afe5d4dae94cc949ba65510c7

And it works in Map Viewer Classic as well.

adevadas
New Contributor III

Yes, its working now. I was able to drag-n-drop the GeoJSON file to a New Item under Contents. and the polygons are visible in Map Viewer. Strange, as these were the same steps I tried earlier using this same GeoJSON file and the polygons were not visible. 

 

Anyways, thanks for your help Bern.

0 Kudos
BernSzukalski
Esri Frequent Contributor

No worries, happy to help. Glad things are working for you now.

0 Kudos