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 3334596
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:55:21+00:00 2026-05-17T23:55:21+00:00

I have about 400 MKAnnotationView´s that loads simultaneously into the MKMapView. I understand that

  • 0

I have about 400 MKAnnotationView´s that loads simultaneously into the MKMapView.

I understand that this isn’t any good, it is a little bit slow, and I want to do it the “correct” way.

I zoom my map by a center coordinate:

MKCoordinateSpan span;
span.latitudeDelta = 0.8;
span.longitudeDelta = 0.8;

MKCoordinateRegion region;
region.span = span;

region.center = self.selectedCounty.coordinate;

[mapView setRegion:region animated:TRUE]; 

I only want to load the annotations that could be visible in that region.

I have a custom MKAnnotation called simply “Annotation” with a CLLocationCoordinate2D- and title-property.

I simply want to load the annotation for the “visible area” on the MKMapView so not all the annotation loads at the same time. And when the “visible area” on the MKMapView changes, I of course want to load annotations for that area.

I know that MKMapView has a delegate method which runs when the region changes.

But how do I know what annotations I should load for that region?

  • 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-05-17T23:55:22+00:00Added an answer on May 17, 2026 at 11:55 pm

    You can get the map region span and center, and based on the locations of the annotations you could check if any annotation is inside that region… maybe it is implemented already in something like [mapview isAnnotationVisible]… but you’ll have to check everyone of the annotations eventually…

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

Sidebar

Related Questions

I have read this article about 400% boost of your website . This is
I have a table that has about 400,000+ rows. I am writing some pattern
I have a mysql query that's taking several minutes which isn't very good as
I have about 200 Excel files that are in standard Excel 2003 format. I
I have about 10million values that I need to put in some type of
So I have about 10 short css files that I use with mvc app.
I have a Server 2003 box with about 6 sites that each have about
i have about 400 pages and UserControls in my asp.net website. what is the
Edit: Im running SQL Server 2008 I have about 400,000 rows in my table.
I have a header file with about 400 function declarations and its corresponding source

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.