-
Notifications
You must be signed in to change notification settings - Fork 1.3k
onMapChanged() called repeatedly when enabling MyLocation #3207
Comments
simplified log, with 2 long sequences of about 100 calls per second. |
One more note about I've been struggling for a while with the OpenGLRenderer crash issue on the Xperia M4, so the
also attached is a |
The
by the following, to see if the issue is related to the comapss
And there it was: the compass arrow keeps constantly spinning around. Mapbox doesn't seem to find MyBearing, while it looks ok in google maps (no calibration request). I then tried to explicitly disable the compass bearing
but the calls to Does this make any sense? |
@mudar Too many updates:The Spinning UserLocationView:I recently noticed the spinning, at the time of implementing this was not an issue.. will have to dive into the commit history to find out where that problem is coming from. Will create a separate issue for that. |
Closing issue, seems fixed in version 3.1.0, with |
Hi,
I have noticed that
onMapChanged(int change)
is called repeatedly (never stops) if you enable MyLocation.It gets about 100 calls per second, a sequence of
WILL_START_RENDERING_FRAME
followed byDID_FINISH_RENDERING_FRAME_FULLY_RENDERED
. So that's 8,10,8,10...And this happens when I'm not touching the screen. And the map is not updating because of the MyLocation blue dot, since
onMyLocationChange(Location location)
gets called at a very reasonable rate (3-4 calls at the beginning).I'm using
2.4.0-SNAPSHOT
, running on Nexus 6 (5.1.1). But my main issue is running the app on a Sony Xperia M4 Aqua (5.0), where the app crashes very frequently with Renderer issues.The text was updated successfully, but these errors were encountered: