android-maps-compose
android-maps-compose copied to clipboard
RFC: Remove experimental MapEffect composable
If you would like to recommend against this proposal, please comment below or react with 👎 .
MapEffect was added in #140 to expose the underlying GoogleMap Maps SDK object to enable extension and usages such as clustering with the utility library.
With Compose-native clustering being added by #258, we're hoping that MapEffect is no longer needed. Providing direct access to the map is potentially buggy as noted in this comment.
It seems like MapEffect would still be necessary for other Android Maps Utils such as GeoJSON layer (#29) and KML layer (#129).
Please comment below if you have other use cases that would require exposing the map object.
https://github.com/googlemaps/android-maps-compose/issues/272
#282
Also useful for helping with #293
As others already pointed out removing MapEffect
will not make possible to add any Kml or GeoJson layer to a compose map.