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.

[iOS] Highway shields sometimes dont render properly when map is first displayed #7003

Closed

Description

@JesseCrocker

Platform:
iOS simulator, iOS 10.1

Mapbox SDK version:
master at d0e8ed4

Steps to trigger behavior

  1. Launch iosapp target
  2. Navigate map to location shown in screenshot
  3. Background to cause state to be saved
  4. Relaunch app

Expected behavior

Map Renders properly
screen shot 2016-11-10 at 7 09 55 am

Actual behavior

Occasionally, maybe 1 out of 5 launches, the highway shield do not render. Zooming in and out causes them to render.
screen shot 2016-11-10 at 7 05 59 am

Notes

Im having a hard time reproducing this one, I had the map state saved where this was happening approximately one out of 5 app launches, But it doesn't seem to happen in all locations, and after trying to get the saved state back to the location shown in the screenshot I couldn't reproduce the problem.

Activity

  1. JesseCrocker commented on Nov 10, 2016

    @JesseCrocker
    ContributorAuthor

    Camera position that reproduces this:

      camera = [MGLMapCamera cameraLookingAtCenterCoordinate:CLLocationCoordinate2DMake(36.905919, -122.125451)
                                                                        fromDistance:524659
                                                                               pitch:0
                                                                             heading:0];
    

    when added to MBXViewController -restoreState:

  2. added
    iOS
    on Nov 10, 2016
  3. kkaefer commented on Nov 11, 2016

    @kkaefer
    Member

    Does this always happen with this camera position? Or is it a temporary flicker?

  4. JesseCrocker commented on Nov 11, 2016

    @JesseCrocker
    ContributorAuthor

    It's not flickering, it stays that way until the tile is re-painted, either due to zooming, or panning the tile off screen. But it doesn't always happen, it only happens about 25% of app launches
    nov-11-2016 10-26-34

  5. jfirebaugh commented on Feb 8, 2017

    @jfirebaugh
    Contributor

    @JesseCrocker Is this still happening in 3.4.0?

  6. friedbunny commented on Mar 10, 2017

    @friedbunny
    Contributor

    Closing, but please feel free to post more information if this still occurs.

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

    iOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions