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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:11:35+00:00 2026-06-12T17:11:35+00:00

I have implemented a CLLocationManager to show user location. Once a user clicks a

  • 0

I have implemented a CLLocationManager to show user location. Once a user clicks a button, the map zooms in the user location. However, once the user would like to zoom out back, it does not allow user to zoom out. Actually, it zooms out a little bit, but again it zooms in!!

enter image description here

  • 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-12T17:11:36+00:00Added an answer on June 12, 2026 at 5:11 pm

    You do not need to use CLLocationManager to get the user location when you have a map view. You can use the map view’s userLocation property, and you can also listen to the delegate callback that will give you updates about the user location.

    Since you are not presenting any code, I would say that either on the MKMapView delegate method or the CLLocationManager delegate method, you are zooming in and/or focusing on the newest location. Since this is a delegate method being updated as soon as there is a new location, you might be zooming in every time. If you only want to zoom in once, you might want to try dispatching a dispatch_once block to make sure that you are only zooming in the first time there is a coordinate update. You can also modify the CLLocationManager so it only updates the location when there has been a significant distance change by using the distance filter property. It all depends on what you are trying to accomplish.

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

Sidebar

Related Questions

I have a MKMapView and in the Map View Show User Location is set.
I have implemented a simple linked list class and I would now like to
I have implemented a simple file upload-download mechanism. When a user clicks a file
I have implemented button which clicks and opens dialog with spinner inside as described
I have implemented a table view with multiple threads. Currently when a user taps
I have implemented a very basic sign up using email address+name, although I would
I have implemented Devise confirmable which is working properly. When a user signs up
I am opening Maps app to show directions from user's Current Location to a
Have implemented an edit functionality in struts2. After i click submit button, the bean
I have implemented a Paypal structure through my page button it direct to a

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.