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.

-[MGLMapView mapID] always returns nil #1334

Closed

Description

@1ec5

-[MGLMapView mapID] always returns nil because -styleURL returns a URL like https://api.tiles.mapbox.com/styles/v1/texample/texample.deadbeef?access_token=… even when you set the styleURL to mapbox://texample.deadbeef.

Activity

  1. added
    iOS
    on Apr 23, 2015
  2. added a commit that references this issue on Apr 23, 2015
    ab67803
  3. jfirebaugh commented on Apr 23, 2015

    @jfirebaugh
    Contributor

    I'd rather we change Map::getStyleURL so that it returns the URL passed to Map::setStyleURL.

  4. 1ec5 commented on Apr 23, 2015

    @1ec5
    ContributorAuthor

    In that case, we’d need to move the normalization code from Map::setStyleURL() to MapData::getStyleInfo().

  5. jfirebaugh commented on May 28, 2015

    @jfirebaugh
    Contributor

    @1ec5 Can you verify this was fixed by #1607?

  6. 1ec5 commented on May 28, 2015

    @1ec5
    ContributorAuthor

    Yes, #1607 fixed this issue good.

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

    bugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions