Created
April 21, 2022 14:00
-
-
Save IvanovDeveloper/20ba3062daceeff6313e645e5ccaab0e to your computer and use it in GitHub Desktop.
Mapbox Icon offset configuration example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let layer = MGLSymbolStyleLayer(identifier: identifier, source: source) | |
layer.iconOffset = NSExpression(forConstantValue: CGVector(dx: 0, dy: 0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment