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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:32:11+00:00 2026-05-21T09:32:11+00:00

I have a custom placemark with title and subtitle. The subtitle is actually displaying

  • 0

I have a custom placemark with title and subtitle. The subtitle is actually displaying the address of the dropped pin using the reverse geocoder.

I have a button which has an action to drop the pin. This action gets the location coordinates of the user, and then calls [geocoder start] which gets the full address with Reverse Geocoder and generates the custom annotation and then calls [mapView addAnnotation:customPlacemark].

My problem is that using this sequence order, when there’s no a WiFi connection (only 3G or maybe Edge) the pin takes a lot to drop because it’s watigin to get the reverse geocoding info.

So basically I need to drop the pin without a subtitle and from the viewDidAnnotation call the geocoder and inside the reverseGeocoder update the subtitle but I’m not sure how to do that.

I want to display the annotation without the address details and update it when it gets the information from the reverse geocoder.

Any suggestions?

Thanks in advance

  • 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-21T09:32:12+00:00Added an answer on May 21, 2026 at 9:32 am

    MKMapView observes changes its annotations via KVO. Therefore if you update your annotation’s properties in a KVO compliant manner, it should Just Work.

    For example, when the reverse geocoder returns an address for your annotation, you first announce the title and subtitle properties are about to change:

    [self willChangeValueForKey:@"title"];
    [self willChangeValueForKey:@"subtitle"];
    

    Note that the above code is assumed to be in the annotation class.

    Then update the annotation with information from the geocoder. When you are done:

    [self didChangeValueForKey:@"subtitle"];
    [self didChangeValueForKey:@"title"];
    

    Note the order changed for didChangeValueForKey: as these need to be nested properly, somewhat like HTML tags.

    This also works for the coordinate property, that will cause the pin to move.

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

Sidebar

Related Questions

We have custom headers in the Silverlight DataGrid using the ContentTemplate. We've got a
I have custom cell which contains number of rows in it.i want to write
I have custom annotation pin at app: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation {
I have custom js/jquery code which is running fine on all browsers including IE9
I have custom javascript code for tabs which works fine, but Im trying to
I have custom-made wizard system which so far has been quite suitable. For most
I have a function that drop pin with this code: ParkPlaceMark *placemark=[[ParkPlaceMark alloc] initWithCoordinate:location];
I have custom Question objects which I render into html form elements. I want
I have custom CSS for checkbox control into my web form, which is linked
I have custom control - using Win Forms, that contains four TextBoxes, all have

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.