Skip to content

Traffic Plugin add above road layer  #14

Closed

Description

@tobrun

We added a Traffic Plugin in #6, currently we hardcode the layerId which we use in addLayerBefore(layer, layedId). Ideally we use can use the source layer identifier to check for a road identifier instead.

Upstream feature ticket for source layer identifier in mapbox/mapbox-gl-native#8663

Activity

  1. added
    bug
    on Apr 11, 2017
  2. tobrun commented on Jun 29, 2017

    @tobrun
    MemberAuthor

    Adding here that we need to use source layer identifier in setVisibility as well.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions