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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:57:55+00:00 2026-06-16T08:57:55+00:00

NOTE: this question has nothing to do with MapView, MapViewActivity or GeoPoints, that api

  • 0

NOTE: this question has nothing to do with MapView, MapViewActivity or GeoPoints, that api has been deprecated

Hello,

I’m having trouble with the android google maps api v2. Specifically I want make sure that the map pans when my location moves, and I want to listen to these events so I can get the string address of that location, as well as the longitude and latitude.

I am sure to get this once right now, but I want to listen to the changes.

My problem is that I am just not sure how much the new map does and what the LocationSource object will do for me. The sample application does not use GPS at all.

I’m not sure if I need to implement LocationListener to access the GPS hardware.

I need to be able to pan the map and get the geocoded address on the fly (by running the geocode method after its been detected that the map moved)

Does anyone have working geocoding using android google maps v2? I’m currently:

a) not sure if LocationSource is actually listening to movement changes

b) how to get the movement changes into my map object to update the screen, coordinates, and run geocoding

  • 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-16T08:57:56+00:00Added an answer on June 16, 2026 at 8:57 am

    a) not sure if LocationSource is actually listening to movement changes

    You are the source of locations if you are using setLocationSource(). You will be passed an OnLocationChangedListener in your activate() method (part of the LocationSource interface). You need to call onLocationChanged() on that OnLocationChangedListener when you get a new location fix, by whatever means you choose (e.g., GPS).

    b) how to get the movement changes into my map object to update the screen, coordinates, and run geocoding

    By calling onLocationChanged() on that OnLocationChangedListener, the GoogleMap will be informed about the new location and, if that location is presently visible on the map, will mark it, assuming that you called setMyLocationEnabled(true) on the GoogleMap. Or, you can update the position of a Marker to reflect the user’s position yourself.

    Geocoding is completely independent of GoogleMap. When you get location fixes from whatever means that you choose, you can also run through your geocoding logic in addition to updating the map.

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

Sidebar

Related Questions

Note: this question has nothing to do with Knockout.js, but it's about the selectedOptions
Note: This question uses jQuery but the question has nothing to do with jQuery
NOTE: This is the simple version of my previous question that SHOULD have been
Please note, that this has nothing to do with Operator Precedence.. () and ++
Note: I'm not asking if there is a maximum, this question has been asked
Note: This question has broadened in scope from previous revisions. I have tried to
(note that this question is not about CAS, it's about the May fail spuriously
Please note that this question is from 2008 and now is of only historic
NOTE: Before reading this question please note that I have read the previous questions
This question has probably been asked before, but I am not able to find

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.