Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Add a location listener #2549

Closed
Closed

Description

@ljbade

Currently the app can poll getMyLocation but we should have a location listener.

Activity

  1. added
    Android
    on Oct 6, 2015
  2. added this to the android-v2.2.0 milestone on Oct 6, 2015
  3. tobrun commented on Oct 12, 2015

    @tobrun
    Member

    I need to this for User tracking sample.

    Location is always null in onCreate method.

    Location location = mMapView.getMyLocation();
    if (location != null) {
        mMapView.setZoomLevel(8);
        mMapView.setCenterCoordinate(new LatLng(location));
    }

    Required to listen async to location updates.

  4. ljbade commented on Oct 12, 2015

    @ljbade
    ContributorAuthor

    @tobrun should be easy to whip up then, move this to 2.1.0?

  5. ljbade commented on Oct 20, 2015

    @ljbade
    ContributorAuthor

    @tobrun this will be in my UserLocationView refactor

  6. self-assigned this
    on Oct 22, 2015
  7. added a commit that references this issue on Oct 22, 2015
    8b79a8d
  8. added a commit that references this issue on Nov 6, 2015
    f64079a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions