Skip to content

Commit c495449

Browse files
committed
Fixed Incidents source layer ID
Cherry-picked from c7ca042.
1 parent 155298d commit c495449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MapboxNavigation/MGLMapView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ extension MGLMapView {
8383
*/
8484
public var showsIncidents: Bool {
8585
get {
86-
return showsTileSet(withIdentifier: "mapbox.mapbox-incidents-v1", layerIdentifier: "incidents")
86+
return showsTileSet(withIdentifier: "mapbox.mapbox-incidents-v1", layerIdentifier: "closures")
8787
}
8888
set {
89-
setShowsTileSet(newValue, withIdentifier: "mapbox.mapbox-incidents-v1", layerIdentifier: "incidents")
89+
setShowsTileSet(newValue, withIdentifier: "mapbox.mapbox-incidents-v1", layerIdentifier: "closures")
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)