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.

MapboxMapOptions doesn't include a default CameraPosition #7174

Closed

Description

@Guardiola31337

I run into a NPE when launching MyLocationDrawableActivity because it uses setInitialState method from MapView and it tries to access to the CameraPosition from MapboxMapOptions.

I could add the CameraPosition in the example using camera method to solve the example.
But maybe the SDK should have that into account having a default implementation of CameraPosition so users don't run into this issue.

Activity

  1. changed the title [-]`MapboxMapOptions` don't include a default `CameraPosition`[/-] [+]MapboxMapOptions don't include a default CameraPosition[/+] on Nov 23, 2016
  2. added
    Android
    on Nov 23, 2016
  3. tobrun commented on Nov 24, 2016

    @tobrun
    Member

    Thank you for flagging

  4. changed the title [-]MapboxMapOptions don't include a default CameraPosition[/-] [+]MapboxMapOptions doesn't include a default CameraPosition[/+] on Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions