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.
As you can see we are not receiving a map fully loaded event until we load a new content by zoom/pan. (when the polylines with markers show up, than we received that callback).
This is events we receive when just open the screen without interaction:
Note that I'm able to reproduce this on master, but trying and failing to do this on our release branch. Users have reported this was an issue with the snapshot and snapshots are currently build from release branch..
First attempt was a works as designed, second attempt is not rendering all the things needed and thus not giving us the callback we need. You can clearly see that the first attempt did render the name Washington, second attempt didn't.
Update a small part of the video was missing at the end.
the markers and routes were shown afterwards.
I found out this is only producible on Master and that I thought were related isssues are actually not. Removing this from milestone 4.0.0.
@brunoabinader would you be able to look into this? I think it's related to on of the refactors that happened after branching away from master for release-ios-3.2.0-android-4.0.0
git bisect bad
cd1a06c2dc209da81b3d745c088e568b3b14809f is the first bad commit
commit cd1a06c2dc209da81b3d745c088e568b3b14809f
Author: Bruno de Oliveira Abinader <[email protected]>
Date: Fri Mar 11 14:57:12 2016 +0200
[core] Get rid of MapData::{get,set}animationTime
:040000 040000 efe082eda3375b2fa6e0fe6848ab4bd8f1b135ba c4f8b9da6827cf7425a4ca5b7fbec74074597765 M src
:040000 040000 97e27d17a2390e96f96f959a5c5d5eb76e98abd1 cf7fb350ccb2d52a54d956f42c16bdce366e0d15 M test
I'm getting this issue in version 5.4.0 using SupportMapFragment in an Activity. What is even more weird is that it works consistently in another Activity, and consistently doesn't work in the one experiencing the bug
@LouisCAD starting of 5.2.0 we need to the hosting view to be measured before we start loading the map resources and thus invoking the OnMapReady callback. This is expected behaviour.
Activity
tobrun commentedon Mar 23, 2016
cc @bleege @zugaldia
tobrun commentedon Mar 23, 2016
Noticing that this is also true for MapFragment, which makes it more important to fix for
4.0.0Update now also noticing this with Activity, all getMapAsync calls are affected.
tobrun commentedon Mar 23, 2016
This is a bit strange because the configuration currently setup for MapFragmentActivity works as designed, but others don't...
Update when I call a method that invalidates the map this issue is resolved.
[-]OnMapReadyCallback not called when creating MapView programatically[/-][+]OnMapReadyCallback not called[/+]tobrun commentedon Mar 23, 2016
To make it a bit more visual, here is a clip showing the problem:
As you can see we are not receiving a map fully loaded event until we load a new content by zoom/pan. (when the polylines with markers show up, than we received that callback).
This is events we receive when just open the screen without interaction:
We are never receiving:
The
getMapAsyncrelies on that event before passing control to the end developer.tobrun commentedon Mar 23, 2016
Note that I'm able to reproduce this on master, but trying and failing to do this on our release branch. Users have reported this was an issue with the snapshot and snapshots are currently build from release branch..
tobrun commentedon Mar 23, 2016
I was able to create a clear video of the issue:
https://www.dropbox.com/s/md7berelecklw2b/device-2016-03-23-220634.mp4?dl=0
First attempt was a works as designed, second attempt is not rendering all the things needed and thus not giving us the callback we need. You can clearly see that the first attempt did render the name
Washington, second attempt didn't.Update a small part of the video was missing at the end.
the markers and routes were shown afterwards.
tobrun commentedon Mar 23, 2016
Here is a similar example:
https://www.dropbox.com/s/fmheyvckbp184bv/device-2016-03-23-143103.mp4?dl=0
tobrun commentedon Mar 24, 2016
I found out this is only producible on Master and that I thought were related isssues are actually not. Removing this from milestone 4.0.0.
@brunoabinader would you be able to look into this? I think it's related to on of the refactors that happened after branching away from
masterforrelease-ios-3.2.0-android-4.0.0tobrun commentedon Mar 24, 2016
We were able to git bisect the issue to:
LouisCAD commentedon Mar 9, 2018
I'm getting this issue in version 5.4.0 using SupportMapFragment in an Activity. What is even more weird is that it works consistently in another Activity, and consistently doesn't work in the one experiencing the bug
LouisCAD commentedon Mar 9, 2018
This seems to happen when the visibility of the container of the
SupportMapFragmentis set toView.GONE.zugaldia commentedon Mar 9, 2018
@LouisCAD this problem was present in v4.x, could you cut a separate ticket to track your issue? Thanks!
tobrun commentedon Mar 9, 2018
@LouisCAD starting of 5.2.0 we need to the hosting view to be measured before we start loading the map resources and thus invoking the OnMapReady callback. This is expected behaviour.