flutter_map_supercluster 4.2.0 copy "flutter_map_supercluster: ^4.2.0" to clipboard
flutter_map_supercluster: ^4.2.0 copied to clipboard

Very fast Marker clustering for flutter_map. Supports efficient adding/removing of Markers.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_map_supercluster_example/immutable_clustering_page.dart';
import 'package:flutter_map_supercluster_example/mutable_clustering_page.dart';
import 'package:flutter_map_supercluster_example/normal_and_clustered_markers_with_popups_page.dart';
import 'package:flutter_map_supercluster_example/too_close_to_uncluster_page.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Map Supercluster Examples',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MutableClusteringPage(),
      routes: <String, WidgetBuilder>{
        MutableClusteringPage.route: (context) => const MutableClusteringPage(),
        ClusteringManyMarkersPage.route: (context) =>
            const ClusteringManyMarkersPage(),
        TooCloseToUnclusterPage.route: (context) =>
            const TooCloseToUnclusterPage(),
        NormalAndClusteredMarkersWithPopups.route: (context) =>
            const NormalAndClusteredMarkersWithPopups(),
      },
    );
  }
}
20
likes
0
pub points
90%
popularity

Publisher

verified publisherbalanci.ng

Very fast Marker clustering for flutter_map. Supports efficient adding/removing of Markers.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, equatable, flutter, flutter_map, flutter_map_marker_popup, latlong2, provider, supercluster

More

Packages that depend on flutter_map_supercluster