Map extent - ArcGIS Explorer Online, basemaps

1143
2
04-20-2011 04:02 AM
PaulLohr
Occasional Contributor III
I have been creating maps with ArcGIS Explorer online to be used on iOS devices. It is good that we can now create maps with our own basemap layer (found at New > Advanced...). Is there a way to set the extent to something other than the extent of the basemap layer? The saved extent is stored with the map in the ArcGIS Explorer online map and the ArcGIS.com viewer map but the iOS devices always zoom to the extent of the basemap layer.
0 Kudos
2 Replies
Yoo-JinLee
New Contributor
There's an example in the FeatureLayerEditingSample demo project.


// zoom to SF
AGSEnvelope *env = [AGSEnvelope envelopeWithXmin:-13635831.940381 ymin:4535991.684333 xmax:-13623602.015855 ymax:4553572.200839 spatialReference:[AGSSpatialReference spatialReferenceWithWKID:102113]];
[self.mapView zoomToEnvelope:env animated:YES];
0 Kudos
PaulLohr
Occasional Contributor III
Sorry for not being clear on this. This problem does not relate to any code I have written. This is a problem with the ArcGIS for iOS application or ArcGIS Explorer Online (not sure which is the cause).
0 Kudos