packages icon indicating copy to clipboard operation
packages copied to clipboard

[google_maps_flutter_ios] Improve marker performance

Open Colman opened this issue 6 months ago • 2 comments

This changes the iOS maps package to improve the map performance when there are many markers being displayed. Specifically, it does the following:

  • Hides accessibility elements on the map. This is default behaviour for the Google Maps iOS SDK and it drastically improves performance.
  • Uses an icon cache for the marker images. This prevents the icons from being created from options for every marker on the map. They only need to be created for each unique icon.
  • Check if a marker property is different from the current one before setting it

https://github.com/flutter/flutter/issues/60750

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Colman avatar Jul 29 '24 23:07 Colman