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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
setVisibleCoordinateBounds directly after onCreate fails #2719
No, doesn't look like it, although MGLMapView doesn't really have an analogue to onCreate() that client code has to call. Is it possible that onCreate()'s call to setCenterCoordinate() is animating or operating on a delay, clobbering the call to setVisibleCoordinateBounds() later?
Activity
ljbade commentedon Oct 22, 2015
Hmm that is strange. what happens if you try setting other things like zoom and lat/lng after
onCreatetobrun commentedon Oct 23, 2015
No issue, see PressForMarkerActivity
ljbade commentedon Oct 23, 2015
Hmm I can't see anything wrong.
@1ec5 Does iOS have the same bug?
1ec5 commentedon Oct 23, 2015
No, doesn't look like it, although MGLMapView doesn't really have an analogue to onCreate() that client code has to call. Is it possible that onCreate()'s call to setCenterCoordinate() is animating or operating on a delay, clobbering the call to setVisibleCoordinateBounds() later?
ljbade commentedon Oct 23, 2015
@1ec5 is easeTo with duration of 0 equal to jumpTo? as far as cancelling animation later
ljbade commentedon Oct 23, 2015
@tobrun what happens if you set the animation parameter to false
1ec5 commentedon Oct 23, 2015
Yes, jumpTo() just calls easeTo() with a 0 duration.
tobrun commentedon Oct 23, 2015
@ljbade true or false same result
ljbade commentedon Oct 23, 2015
Hmm puzzling going to need some C±+ debug
tobrun commentedon Oct 26, 2015
Updating that following code works in Sirius:
Haven't look at the internals yet for this issue.
2 remaining items
tobrun commentedon Nov 13, 2015
Partially related to this issue is the following:
The last few lines are not repositioning the InfoWindow correctly
tobrun commentedon Feb 17, 2016
This is no longer applicable, API changed and is no longer reproducible