flutter_unified_map_android 1.0.0
flutter_unified_map_android: ^1.0.0 copied to clipboard
Android implementation of flutter_unified_map on the Google Maps SDK for Android.
1.0.0 #
- Initial release.
- Review round (Oct 2026):
- The load timeout counts only while the map is resumed and has a size, so a pause no longer reports
loadTimeout. - The display density is read on each use; padding, polyline/polygon/circle widths and the tile
{r}choice follow a density change made in place. - A missing icon draws a transparent marker instead of Google's red pin; the next update of the marker retries it.
- A movement sends one
onCameraMoveStarted, also when a gesture interrupts an animated move (as on MapKit). updateOptionssets only what changed; tile layers changeopacityandzIndexin place.- Every tile goes through the plugin's provider:
{s}follows the tile coordinates, crops of 512/1024 tiles are cached per source tile and re-encoded as JPEG or lossless WebP. AbovemaxZoomthe last native level is cropped and scaled up instead of leaving the layer empty. takeSnapshotgives up after 5 s; the getters thrownot-readyfor a view without a key or Play services anddestroyedonce the activity destroyed theMapView.- A FlutterFragment's ON_DESTROY only stops the
MapView; it is destroyed with the view. - Memory pressure is forwarded from
onTrimMemory. - Creation params use the Pigeon codec (
[viewId, PMapOptions]);eventsof a disposed view is an empty stream, as on Apple;UnifiedMapsHostApiandUnifiedMapsFlutterApiare exported.
- The load timeout counts only while the map is resumed and has a size, so a pause no longer reports
- Reports
onMapLoadedandonMapError(apiKeyMissing,servicesUnavailable,loadTimeout); noMapViewis created without an API key or Google Play services. - Marker transitions (
PlatformMarkerTransition) withValueAnimatorand the ease-in-out cubic (0.42, 0, 0.58, 1) of the other backends; disappearing markers are drawn behind the live ones and taps on them reach the map. - Marker updates are queued per view and sent in call order; a failed icon registration is retried with the next update; updates for a disposed view are dropped.
- Snapshots leave disappearing markers out and draw the other in-flight markers at their current opacity, as MapKit and flutter_map do; they wait for the map to render that state (second rendered frame, at most 1 s).