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 }}
Repository navigation
mapbox_gl: ^0.12.0 : updateSymbol(symbol, changes) and clearSymbols() dont work #704
hi
on android 11 and mapbox_gl: ^0.12.0 : updateSymbol(symbol, changes) and clearSymbols() dont work
and I have to downgrade to mapbox_gl: ^0.11.0
and this leads to other dependencies versions conflicting.
this is my pubsec.yaml
You can use like below code:
FullMapPage.mapController?.symbols.forEach((element) {//loop all symbols and remove them one by one.
FullMapPage.mapController?.removeSymbol(element);
});
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
lecanhhiep commentedon Oct 8, 2021
Hi,
You can use like below code:
FullMapPage.mapController?.symbols.forEach((element) {//loop all symbols and remove them one by one.
FullMapPage.mapController?.removeSymbol(element);
});
Thanks,
mekkolodziejski commentedon Oct 11, 2021
remove doesn't work either. most don't work in version 12
Merge in flutter-mapbox-gl#704 simplifying platform usage
Fixing memory leaks (#706)
stale commentedon Jan 14, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.