I tried to set up AGSMapView's maxEnvelope property with tracked xmin, ymin, xmax and ymax values of mapAnchor property in each direction/** The map coordinates of where the map display is anchored.
Usually this is the center of the map. However it could be different. For example, if the map is anchored on the location display, this will be the coordinate
of the location display.
@agssince{10.1.1, 10.2}
*/
@property (nonatomic, copy, readonly) AGSPoint *mapAnchor;
/** Limits the amount by which the map can be panned such that its anchor point (typically the center) never goes outside
this envelope. By default, this is the full envelope of the basemap layer. If you set a custom extent,
the envelope must have the same spatial reference as the map.
@agssince{2.1, 10.2}
*/
@property (nonatomic, strong, readwrite) AGSEnvelope *maxEnvelope;
Values:xmin: -20031541, ymin: -19971868xmax: 20032312, ymax: 19971819It helped controlling the panning a little but only for a specific zoom level. At full extent the problem still exists (grid still shows) and there's still no clear solution to zooming out of extent.