Skip to content

Commit

Permalink
Update added shapes by layer when setting a feature (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAverin committed Mar 25, 2022
1 parent a36db4a commit e3417f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Classes/MapboxMapController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,8 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma

source.shape = MGLShapeCollectionFeature(shapes: shapes)
}

addedShapesByLayer[sourceId] = source.shape
}

} catch {}
Expand Down

0 comments on commit e3417f8

Please sign in to comment.