All Projects → lpongetti → Flutter_map_marker_cluster

lpongetti / Flutter_map_marker_cluster

Licence: bsd-3-clause
Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Flutter map marker cluster

Leaflet.markercluster
Marker Clustering plugin for Leaflet
Stars: ✭ 3,305 (+3172.28%)
Mutual labels:  clustering, map, leaflet
Leaflet-active-area
A Leaflet plugin to center the map not in the center of the map but inside a DIV. Useful for responsive design.
Stars: ✭ 99 (-1.98%)
Mutual labels:  map, leaflet
django-leaflet-admin-list
The Django Leaflet Admin List package provides an admin list view featured by the map and bounding box filter for the geo-based data of the GeoDjango.
Stars: ✭ 28 (-72.28%)
Mutual labels:  map, leaflet
React Leaflet
React components for Leaflet maps
Stars: ✭ 3,939 (+3800%)
Mutual labels:  map, leaflet
o.map
Open Street Map app - KaiOS
Stars: ✭ 51 (-49.5%)
Mutual labels:  map, leaflet
leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-87.13%)
Mutual labels:  map, leaflet
Offlinemap
基于MySQL + Node.js + Leaflet的离线地图展示,支持百度、谷歌、高德、腾讯地图
Stars: ✭ 343 (+239.6%)
Mutual labels:  map, leaflet
MinedMap
Minecraft map renderer and viewer
Stars: ✭ 35 (-65.35%)
Mutual labels:  map, leaflet
React Native Map Clustering
React Native map clustering both for Android and iOS.
Stars: ✭ 450 (+345.54%)
Mutual labels:  clustering, map
Iclient Javascript
Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
Stars: ✭ 593 (+487.13%)
Mutual labels:  map, leaflet
Cluster
Easy Map Annotation Clustering 📍
Stars: ✭ 1,132 (+1020.79%)
Mutual labels:  clustering, map
mars2d
【Mars2D平台 】主仓库,包含所有开源仓库清单导航
Stars: ✭ 182 (+80.2%)
Mutual labels:  map, leaflet
mapus
A map tool with real-time collaboration 🗺️
Stars: ✭ 2,687 (+2560.4%)
Mutual labels:  map, leaflet
kirby-locator
A simple map & geolocation field, built on top of open-source services and Mapbox. Kirby 3 only.
Stars: ✭ 83 (-17.82%)
Mutual labels:  map, leaflet
mapr
Map species occurrence data
Stars: ✭ 34 (-66.34%)
Mutual labels:  map, leaflet
Leaflet.labeltextcollision
Leaflet.LabelTextCollision is a LeafletJS plug-in to display labels on vector data while avoiding label collisions.
Stars: ✭ 65 (-35.64%)
Mutual labels:  map, leaflet
react-map-gl-cluster
Urbica React Cluster Component for Mapbox GL JS
Stars: ✭ 27 (-73.27%)
Mutual labels:  map, clustering
papyruscs
PapyrusCS renders maps of Minecraft: Bedrock Edition worlds using C#, LevelDB and leaflet.
Stars: ✭ 221 (+118.81%)
Mutual labels:  map, leaflet
Leaflet.easybutton
leaflet control buttons with icons and callbacks
Stars: ✭ 408 (+303.96%)
Mutual labels:  map, leaflet
Leaflet Ng2
Angular.io integration of Leaflet
Stars: ✭ 66 (-34.65%)
Mutual labels:  map, leaflet

Flutter Map Marker Cluster

pub package travis

A Dart implementation of Leaflet.markercluster for Flutter apps. This is a plugin for flutter_map package

Usage

Add flutter_map and flutter_map_marker_cluster to your pubspec:

dependencies:
  flutter_map: any
  flutter_map_marker_cluster: any # or the latest version on Pub

Add it in you FlutterMap and configure it using MarkerClusterGroupLayerOptions.

  Widget build(BuildContext context) {
    return FlutterMap(
      options: new MapOptions(
        plugins: [
          MarkerClusterPlugin(),
        ],
      ),
      layers: [
        TileLayerOptions(
          urlTemplate: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
          subdomains: ['a', 'b', 'c'],
        ),
        MarkerClusterLayerOptions(
          maxClusterRadius: 120,
          size: Size(40, 40),
          fitBoundsOptions: FitBoundsOptions(
            padding: EdgeInsets.all(50),
          ),
          markers: markers,
          polygonOptions: PolygonOptions(
              borderColor: Colors.blueAccent,
              color: Colors.black12,
              borderStrokeWidth: 3),
          builder: (context, markers) {
            return FloatingActionButton(
              child: Text(markers.length.toString()),
              onPressed: null,
            );
          },
        ),
      ],
    );
  }

Run the example

See the example/ folder for a working example app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].