Select to view content in your preferred language

Part of Polygons missing at full zoom out

1026
2
09-11-2013 01:36 PM
lp
by
New Contributor
I am using the ArcGIS Online Rest API. At full zoom out, some parts of my polygons disappear - like the area off the West Coast of the US in this example: http://beecher2.ohi.stonefish.radicalmedia.com/Countries/ When you zoom in on level, the area off the West Coast reappears.

I do not see this same behavior on the map server preview through ArcGIS.com map: http://23.20.221.5/ArcGIS/rest/services/OHI2013/MapServer

Any ideas of what might be causing this or how to diagnose would be greatly appreciated!

LP
Tags (2)
0 Kudos
2 Replies
MikeMinami
Esri Notable Contributor
Are you the owner of the map service? Check the maximum number of features that can be returned in a query. You may be exceeding that maximum when zoomed out to the full extent.

The way you've coded your app, you're accessing the layers of the map service as features. The system sends a query to the server to get the feature geometry, which is then sent to the client to draw. The server has a limit on the number of features that can get returned in a given request.  Is there a reason why you are accessing the map service in this way? Your app would be faster, probably, if you access the map service as a whole and allow the server to return an image instead of the features.

Thanks,

Mike
0 Kudos
lp
by
New Contributor
Thanks - I will check our setting for max number of features in the map service settings and see if increasing that number fixes this.

I am working to bring new GIS data into an established web app, which can't be modified right now by the developers. I think we will have to stay with the features for now, even if they are slower.

LP
0 Kudos