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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:02:09+00:00 2026-05-16T09:02:09+00:00

I have been working with the map view and came across these variables: span.longitudeDelta

  • 0

I have been working with the map view and came across these variables: span.longitudeDelta and span.latitudeDelta… They seem to effect the amount of zoom of the screen(possibly by setting the window’s x/y?) Can anyone tell me what these values do and how they relate to the screens width/height in degrees of lat/long?

Thank you for your time.

Edit: I am wondering this because I am trying to figure out what degrees of lat and long my screen is looking at…. Example: if I am zoomed way out the very left hand side of my screen could be 34.533 and the right side could be 39.324.

  • 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-16T09:02:10+00:00Added an answer on May 16, 2026 at 9:02 am

    You have the right idea. These values are the width and height of the map view in degrees, centered on the map’s center point.

    map.region is an MKCoordinateRegion that you can read or set. MKCoordinateRegion is a struct with two fields: center and span. map.region.center is a CLLocation2D struct (which has two fields, latitude and longitude) and map.region.span is an MKCoordinateSpan struct with the fields you mentioned.

    If you want to set a map to show a given area, create an MKCoordinateRegion, set the properties, then make sure that the region fits the size of your map with:

    MKCoordinateRegion scaledRegion = [map regionThatFits:region];
    [map setRegion:scaledRegion animated:NO];
    

    The left edge of your screen is (roughly, since longitude lines are not parallel):

    float leftEdgeLongitude = map.region.center.longitude - (map.region.span.longitudeDelta / 2);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with rails3 and have been trying to create a simple
I have been working on a project and trying to find the source of
I have been working on the problems presented in Python Challenge . One of
I have been working with Java's HashMap lately and have run afoul of some
I'm using AutoMapper to map domain entities to view models in an Asp.Net MVC
I have been using metaprogramming quite a lot, but sometimes the combination of c
I Have Rendered nearly 1000 Polygons in the map. I get the path of
Scott Guthrie just blogged about the new jQuery Templates that his team has been
i'm looking for a tool drawing a kind of function usage map (maybe there's
I've been stuck for ages now trying to implement threading or background image loading

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.