AnsweredAssumed Answered

setMaxExtent on ArcGISTiledMapServiceLayer does not work

Question asked by efcom1 on Mar 23, 2016

In my app i'm using ESRI web service maps:

I'm loading the map into a ArcGISTiledMapServiceLayer layer and when the event for Layer loaded is up, i set the extent & scale as so:

double minscale = layer.getMinScale();
double maxscale = layer.getMaxScale();

Envelope boundaries = layer.getFullExtent();


But it doesn't work, and i can pan up and down to see the square grid.

Why is that?

How do i fix it?

2016-03-23 12.41.53.png