What I've done is catch the zoom event [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(respondToZoom name:@MapDidEndZooming object:nil];and reset the scale if it's too low- (void)respondToZoom:(NSNotification*)notification { self.scale = self.mapView.mapScale; if (self.scale < 500) { // zoom out AGSEnvelope *e = self.mapView.visibleArea.envelope; AGSPoint *pt = e.center; [self.mapView zoomToScale:500 withCenterPoint:pt animated:YES]; }}
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.