Closed saran-metron closed 8 years ago
Are you looking for setZoomScale
?
Here's how the map zooms to fit: https://github.com/neilang/NAMapKit/blob/dd8ab2134aec272d61dfa3a33832da98a6d988d1/NAMapKit/NATiledImageMapView.m#L80?
- (void)zoomToFit:(BOOL)animate
{
[self setZoomScale:self.minimumZoomScale animated:animate];
}
If that's it, would appreciate a PR for expanding on the documentation.
Closing due to lack of a response, and this seems like the right answer.
how to minimize the map view .i want to make the minimize the zoom level of map when the view was loaded