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...

Scale Your Startup: Digital First

html Scale Your Startup: Digital First Scale Your Startup: Digital First In today’s hyper-connected world, a “digital-first” approach isn’t just an option—it’s a necessity for

Read More »

AI’s Next Leap: Quantum Minds

html AI’s Next Leap: Quantum Minds AI’s Next Leap: Quantum Minds Unlocking Unprecedented Computational Power Artificial intelligence has made remarkable strides, transforming industries and reshaping

Read More »