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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:34:29+00:00 2026-05-24T21:34:29+00:00

How to center the location’s center in us map in map Kit view I

  • 0

How to center the location’s center in us map in map Kit view

I am sending my code here

mapView .scrollEnabled = YES;
    appDelegate=(AppDelegate *)[[UIApplication sharedApplication]delegate];
    dataStore = [[DataStore alloc] init];
    utility = [[Utility alloc] init];

    self = [super initWithFrame:CGRectMake(0, 28, mapView.frame.size.width, mapView.frame.size.height)];
    //[self setBackgroundColor:[UIColor whiteColor]];

    [self setMapView:mapView];

    MKCoordinateRegion region;

region.center.latitude = 41.603854;
    region.center.longitude = -92.930628;
    region.span.longitudeDelta = 47.00;
    region.span.latitudeDelta = 10.00;
  • 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-24T21:34:30+00:00Added an answer on May 24, 2026 at 9:34 pm

    You need to set the region once you set it up.

    region.center.latitude = 41.603854;
    region.center.longitude = -92.930628;
    region.span.longitudeDelta = 47.00;
    region.span.latitudeDelta = 10.00;
    
    [mapView setRegion:region animated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use the following code to display a map center on the user's location:
I'm using this code to set the center of the map. mapController.setCenter(new GeoPoint((int)(location.getLatitude()*1E6), (int)
my code for MapKit is that : MKCoordinateRegion region; region.center = location; MKCoordinateSpan span;
I'd like to center a map (mapkit) against the user's location. I do the
Actually in the center of current view, above all other objects. Cross-browser and without
I am trying to center a div button and its not working here is
I'm trying to make a street panorama of a given location on a map.
I'm trying to zoom into the user location as the center reference for the
var newloc_options = { zoom:15, center: results[0].geometry.location, mapTypeControl:false, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel:false }; var newloc_map
What can be provided to the location attribute of a <c:SimplePager ui:field='pager' location='HERE' />

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.