Solved! Go to Solution.
Is this the best way to achieve this? From a Flex and Javascript API perspective, adding LODs was part of the API.
Specify LODs (levels of detail) | ArcGIS API for JavaScript
Was hoping for a similar method on the AGSMapView.
Nimesh solution is probably the best, here is another idea :
You can change the maxScale of the map itself and the layer to zoom beyond the tile and stretch it.
Listen for the basemap did load and do it inside the delegate
AGSTiledMapServiceLayer *basemap = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:url]; // or bing, whatever you like
basemap.delegate = self;
[self.mapView addMapLayer:basemap withName:@"basemap"];
- (void)layerDidLoad:(AGSLayer *)layer
{
layer.maxScale = 0;
self.mapView.maxScale = 10;
}
Hope this helps
Cheers
Al
Al,
I used the following code:
self.mapView.maxScale = 10 and was able to zoom in beyond the ArcGIS Imagery Basemap. However, the issue that I am having is that when I zoom in beyond the imagery basemap, the basemap disappears. Is there a way to keep the basemap within the mapView even if it is distorted?
A co-worker of mine said that that was possible but I haven't been able to get it to work.
thanks,
Joe
You will need override the max scale property of the imagery basemap layer. Otherwise it will turn off if you zoom in beyond the max scale.