You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reviewing issue #58, it doesn't look like there's a way to move a MGLSymbolStyleAnnotation. Based on the advice there, I'm removing the existing MGLSymbolStyleAnnotation and adding a new one, like so...
controller.removeStyleAnnotation(existingSymbol)
let symbol = MGLSymbolStyleAnnotation(coordinate: coord, iconImageName: name)
controller.addStyleAnnotation(symbol)
However, that's resulting in the symbol flashing on the screen (sample below). I tried getting rid of the text, getting rid of textVariableAnchor on the controller, and a few other things to see if it was text related, but the issue persists. Any thoughts on how I should be moving the MGLSymbolStyleAnnotation such that I won't get the flashing? Looks like some folks were using updateGeometryCoordinates(withDelta: delta), but I can't seem to get that to work. Appreciate the help.
The text was updated successfully, but these errors were encountered:
Reviewing issue #58, it doesn't look like there's a way to move a
MGLSymbolStyleAnnotation
. Based on the advice there, I'm removing the existingMGLSymbolStyleAnnotation
and adding a new one, like so...However, that's resulting in the symbol flashing on the screen (sample below). I tried getting rid of the text, getting rid of
textVariableAnchor
on the controller, and a few other things to see if it was text related, but the issue persists. Any thoughts on how I should be moving theMGLSymbolStyleAnnotation
such that I won't get the flashing? Looks like some folks were usingupdateGeometryCoordinates(withDelta: delta)
, but I can't seem to get that to work. Appreciate the help.The text was updated successfully, but these errors were encountered: