Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8454607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:04:13+00:00 2026-06-10T12:04:13+00:00

I generally have no problem placing annotations on my MKMapView . I have pins

  • 0

I generally have no problem placing annotations on my MKMapView. I have pins for various locations and the code automatically centers and sets the span based on the max and min values. However, I am noticing that when I add more and more points, there is a certain amount my map will zoom out to see, and I lose what is on the edges. Here are some pics:

This is how it looks when I first load the MKMapView:


(source: grapekeeper.com)

When I pan I can see more pins that are lost on that original view:


(source: grapekeeper.com)

And when I pinch in the simulator this is as zoomed out as it goes:


(source: grapekeeper.com)

Here’s my code for reference:

double min = [[allLatitudes valueForKeyPath:@"@min.self"] doubleValue];
double max = [[allLatitudes valueForKeyPath:@"@max.self"] doubleValue];
double latSpan = max-min;
double minL = [[allLongitudes valueForKeyPath:@"@min.self"] doubleValue];
double maxL = [[allLongitudes valueForKeyPath:@"@max.self"] doubleValue];
double lonSpan = maxL-minL;
double avgLatitude = (max+min)/2;
double avgLongitude = (maxL+minL)/2;

overallRegion.center.latitude = avgLatitude;
overallRegion.center.longitude = avgLongitude;
overallRegion.span.latitudeDelta = latSpan;
overallRegion.span.longitudeDelta = lonSpan;

[self.mapView setRegion:overallRegion animated:YES];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:04:14+00:00Added an answer on June 10, 2026 at 12:04 pm

    The answer is: it’s not possible to zoom out enough to view the entire world using the map view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found an interesting problem: http://rubeque.com/problems/fixing-bad-code-the-wrong-way/solutions Generally we have a simple class (notice that
I have a problem with operators. Generally I know basics of using operators. But
I'm looking for the generally accepted/best solution to this problem. Problem I have a
I have small problem with prepare table. Generally I usually prepare this table in
I have a problem that recognized recently but could not find the solution.Generally when
I have generally always used some sort of Hungarian Notation for my field names
I have a foolish doubt.Generally System.Object implements Equals. When I implements IEquatable interface i
I have an animated game which is generally achieving 25-30 frames per second, though
I have an EditText, which generally shows parallel to the screen X-axis. I want
I have an app that uses EF. To test my stuff I generally wrap

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.