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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:44:00+00:00 2026-06-11T00:44:00+00:00

Im Having MapView In which I added some 5 Annotations in the Areas of

  • 0

Im Having MapView In which I added some 5 Annotations in the Areas of Chennai.. I want to Zoom Out the Chennai as soon as the MapView Begins Loading so that Annotations will be Visible Clearly.
In viewDidLoad:

CLLocationCoordinate2D location6;
    location6.latitude=12.9758;
    location6.longitude=80.2205;
    MapAnnotation *ann6=[[MapAnnotation alloc]initWithTitle:@"Chennai-Velacherry" andCoordinate:location6];
    [mapView addAnnotation:ann6];

     CLLocationCoordinate2D centerlocation;
    centerlocation.longitude=13.0810;
    centerlocation.longitude=80.2740;


    [mapView setCenterCoordinate:centerlocation animated:NO];
     [self.view addSubview:mapView];
  • 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-11T00:44:01+00:00Added an answer on June 11, 2026 at 12:44 am

    use this,

            MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } }; 
            region.center.latitude = [currentPlace.latitude doubleValue];
            region.center.longitude = [currentPlace.longitude doubleValue];
            region.span.longitudeDelta = 0.03f; 
            region.span.latitudeDelta = 0.03f;
            [mapView setRegion:region animated:YES]; 
            [mapView setDelegate:self];
            mapView.zoomEnabled = YES;
            mapView.scrollEnabled = NO;
    

    these will vary your zoom level,

            region.span.longitudeDelta = 0.03f; 
            region.span.latitudeDelta = 0.03f;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having an Activity in which I am having some View that is
i'm having problems working out how to get a custom nsview to communicate that
Please help me out, I am working on a Project Xyz having the mapView
I want a layout such that user can toggle between listview and mapview and
I have a map loading up on my iPhone which shows pin annotations. I
I am having some issues getting tiles to load into my MapView in android
I'm displaying some icons (annotations) on a map in my app by loading them
Im Having MapView .. I added this as a subview of ViewController's View. I
Having just added a new button in my web application, I get an error
Is it possible to add a single overlay to a MapView without having to

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.