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

  • Home
  • SEARCH
  • 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 8941821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:23:23+00:00 2026-06-15T11:23:23+00:00

i am doing map application .where i am showing annotation pin on map .On

  • 0

i am doing map application .where i am showing annotation pin on map .On pin there is accessory button on click of pin accessory button it navigate to pin detail page.In detail page there is a delete button to delete place .after deleting while i am pop to map view the pin is showing on map .but my object array decremented by 1.But pins are showing as previous how to solve it .My requirement is ti aftre deleting when user pop to map view that pin will not show on map view.Please help me…..

  • 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-15T11:23:24+00:00Added an answer on June 15, 2026 at 11:23 am

    First try this method just call this method when you remove annotation..

    -(void) reloadMap
    {
        [yourMapView setRegion:yourMapView.region animated:TRUE];
    }
    

    Option

    Else just remove all annotation and add again with your array object.. remove annotation like this

     MKCoordinateRegion region;
     MKCoordinateSpan span;
     span.latitudeDelta=0.04;
     span.longitudeDelta=0.04;
    
    region.span=span;  
    region.center = currentLocation; 
    [MymapView removeAnnotations:[MymapView annotations]];
    MyAnnotation *ann = [[MyAnnotation alloc] init]; ///This is My Annotation class which i create for display detail of location
    ann.title =MymapView.userLocation.title;  
    ann.subtitle = MymapView.userLocation.subtitle;
    ann.coordinate = currentLocation;
    ann.annLocation=[NSString stringWithFormat:@"%f%f",currentLocation.longitude,currentLocation.latitude];
    [MymapView addAnnotation:ann];
    
    [MymapView setRegion:region animated:TRUE];
    [MymapView regionThatFits:region];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing a map based application in iphone. I get my data(address) from
In my Google Maps application I can place markers on the map, and I
I ran into a problem.I'm doing a GIS program using flex. There's a map
I'm doing an application in Django that has a small map in the user
I am doing a c#.net application in which i want to show a map(poly
I am doing a Google map application. I wrote a function to find address.
Which is the difference between running a map reduce job doing /bin/hadoop -jar /file.jar
So, I was thinking of doing something like this: zones#show /map/map_id/zones/zone_id And this: zones#index
Doing my first SL4 MVVM RIA based application and i ran into the following
Doing a mysqli query and COUNTing the results, is there a preferred comparison operator

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.