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
I've noticed a bug when setting pulsingEnabled: true when updating the location settings and trying to use the onMapIdleListener. Enabling the puck and the pulsingEnabled: true option prevents the function registered to onMapIdleListener from ever being called. Disabling pulsingEnabled: true seems to allow onMapIdleListener to be called once again.
I confirmed that the same behavior occurs when using mapbox_maps_flutter: ^2.0.0, and running the example app having cloned it from the repository a few days ago (in which case, I believe that means I had the latest version).
If this is a known issue and there is a workaround, please let me know!
Also let me know if you need any more details.
Cheers,
Tobias
The text was updated successfully, but these errors were encountered:
Hi @tiyberius, I think this is expected behavior, after pulsing is enabled the map is actually never at idle as it has to redraw constantly in order to execute pulsing animation.
I've noticed a bug when setting
pulsingEnabled: true
when updating the location settings and trying to use theonMapIdleListener
. Enabling the puck and thepulsingEnabled: true
option prevents the function registered toonMapIdleListener
from ever being called. DisablingpulsingEnabled: true
seems to allowonMapIdleListener
to be called once again.Steps to reproduce:
_onMapCreated(MapboxMap mapboxMap) { this.mapboxMap = mapboxMap; mapboxMap.style; mapboxMap.location.updateSettings(LocationComponentSettings( enabled: true, pulsingEnabled: true, )); }
Here is my environment:
I confirmed that the same behavior occurs when using
mapbox_maps_flutter: ^2.0.0
, and running the example app having cloned it from the repository a few days ago (in which case, I believe that means I had the latest version).If this is a known issue and there is a workaround, please let me know!
Also let me know if you need any more details.
Cheers,
Tobias
The text was updated successfully, but these errors were encountered: