Layers don't display in Web Map, but appear normally in ArcGIS Pro

3246
4
04-28-2023 10:21 AM
JasonJiang
New Contributor

Hi all,

 

I created a web map recently (https://utoronto.maps.arcgis.com/apps/mapviewer/index.html?webmap=9716d257b59347ceb72c4708fcdfce7b). However, the following layers do not display on the map when I unhide them, even if all other layers are turned off: "DA percent change in one person households, 2016 - 2021" and "DA percent change in immigrant density, 2021 vs. 2016".

In the ArcGIS Pro projec this web map came from, these layers appear just fine.


I have also exported this project as a package (https://www.arcgis.com/home/item.html?id=49cbb78499104d9bab89bd314a8adf16), and when I download the ppkx file and open it in ArcGIS Pro, the layers in question appear just fine as well.

I was wondering if anyone has insight into possible solutions? 

 

Thanks!

0 Kudos
4 Replies
AlexPage
Occasional Contributor

Very strange, I searched it and pulled it in again myself and those 2 layers aren't working. Couldn't find anything wrong with them so far.

Hmm

0 Kudos
ChristopherCounsell
MVP Regular Contributor

The layers are visible in Map Viewer Classic: da.JPGone.JPG

but not the new Map Viewer:

tileerror.JPG

You can see in the console there is an error message querying the tile. Not much on this error specifically.
I thought it might be tied to symbology, but changing it to location only didn't help.

Other users have indicated general issues between map viewer classic and map viewer are tied to projection but it looks like Web Mercator. But possibly it's a geometry issue?

If you copy/paste the network request it shows a 400 error with bad parameters. 

https://services1.arcgis.com/9NvE8jKNWWlDGsUJ/arcgis/rest/services/Peel_Service_Agencies__Immigrants...

{
  "error" : 
  {
    "code" : 400, 
    "message" : "", 
    "details" : [
      "Unable to perform query. Please check your parameters."
    ]
  }
}

So I would:

  • Check the extent
  • Check the coordinates of the data (if they are flipped?)
  • Check the coordinate system (i.e. did you 'define' instead of 'project' when re-projecting

Best way to do this is to run the Check Geometry tool on the feature class you downloaded in ArcGIS Pro.

You could also check the symbology, maybe make it simpler (not using the algorithm?)

 

christianvalenzuela
New Contributor

Try moving the layer up to the top of your map list in the contents pane in ArcGIS Pro and share again. That worked for me. Good luck!

0 Kudos
CatherineM
Occasional Contributor

This might be a bit late to be useful for you, but I came across your post while troubleshooting the same issue, and it could be https://support.esri.com/en-us/bug/arcgis-online-map-viewer-fails-to-draw-polygon-or-polyl-bug-00014...  

0 Kudos