flutter_map_supercluster 5.0.0-dev.1 copy "flutter_map_supercluster: ^5.0.0-dev.1" to clipboard
flutter_map_supercluster: ^5.0.0-dev.1 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/basic_example_page.dart';
import 'package:flutter_map_supercluster_example/cluster_splaying_page.dart';
import 'package:flutter_map_supercluster_example/custom_cluster_marker_page.dart';
import 'package:flutter_map_supercluster_example/mutable_clusters_page.dart';
import 'package:flutter_map_supercluster_example/normal_and_clustered_markers_with_popups_page.dart';

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

const tileLayerPackageName = 'ng.balanci.flutter_map_supercluster.example';

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Map Supercluster Examples',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const BasicExamplePage(),
      routes: <String, WidgetBuilder>{
        BasicExamplePage.route: (context) => const BasicExamplePage(),
        MutableClustersPage.route: (context) => const MutableClustersPage(),
        ClusterSplayingPage.route: (context) => const ClusterSplayingPage(),
        NormalAndClusteredMarkersWithPopupsPage.route: (context) =>
            const NormalAndClusteredMarkersWithPopupsPage(),
        CustomClusterMarkerPage.route: (context) =>
            const CustomClusterMarkerPage(),
      },
    );
  }
}
18
likes
130
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

Topics

#flutter-map #cluster

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

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

More

Packages that depend on flutter_map_supercluster