Flutter Google Map Clustering

Google Maps Flutter‘s new release v2.9.0 finally supports clustering. Previously we were using Google Maps Cluster Manager, but the clusters were somewhat glitching over moving the map around.

If you’re having an issue with following error, make sure to import a JavaScript library in <head> tag.

packages/google_maps_flutter_web/src/marker_clustering_js_interop.dart 163:10

TypeError: Cannot read properties of undefined (reading ‘MarkerClusterer’)

<script src="https://cdn.jsdelivr.net/npm/@googlemaps/[email protected]/dist/index.umd.min.js"></script>
</head>

Result is very promising!

Other posts that might interest you...

Simple Business Card

Solutions Simple Business Card Introducing our innovative solution that revolutionizes how you connect and network in the digital age – Simple Business Card. In today’s

Read More »