flutter_map_radius_cluster 2.4.0 copy "flutter_map_radius_cluster: ^2.4.0" to clipboard
flutter_map_radius_cluster: ^2.4.0 copied to clipboard

A marker clustering plugin for flutter_map which displays markers in a given radius.

[2.4.0] #

  • BREAKING: Clusters no longer have a tap behaviour by default. Previously tapping a cluster zoomed in until its markers were visible but now this is optional behaviour that can be implented using onClusterTap which provides the minimum zoom required to view the cluster's points. See the example app for examples of both animated and non-animated zooming.
  • BREAKING: RadiusClusterController moveToMarker's arguments have changed. The popup behaviour is now the same as the RadiusClusterLayer's popupOptions and showing popups is controlled with the showPopup option. The style of movement can be changed using the [move] callback, see the documentation and the example app for more information.
  • BREAKING: ClusterZoomAnimation has been removed, movement animations can now be configured by the user, see the two previous points.
  • FEATURE: Various performance improvements around rendering of search circles.
  • FEATURE: All movement is now controlled by the user which means they may now choose to use an animated flutter map movement plugin like flutter_map_aniamtions to animate movement.

[2.3.0] #

  • FEATURE: Added RadiusClusterController.moveToMarker which allows the map to be moved to a marker and, if required to make the marker visible, trigger searching and zooming.
  • BREAKING: Remove stream getter from RadiusClusterController since the stream only exists for passing events to RadiusClusterLayer.

[2.2.1] #

  • FEATURE: Make selected markers appear above others.

[2.2.0] #

  • BREAKING: searchCircleStyle is now searchCircleOptions and allows more customisation of search circles in the various states. Notably search circles may now have a repeating fade animation. If you use the default options the loading circle indicator will use this animation.

[2.1.0] #

  • DEPENDENCY: flutter_map 3.1.0
  • DEPENDENCY: supercluster 2.1.1
  • BUGFIX: Don't hide popups too early when zooming out.

[2.0.0] #

  • BREAKING: flutter_map 3.0.0
  • BREAKING: supercluster 2.0.0

[1.1.0] #

  • Add selectedMarkerBuilder option to PopupOptions which allows selected Markers to have a different a behaviour/appearance if desired.
  • Fix a bug where the next search indicator was in the wrong position when the map was rotated.

[1.0.0] #

  • Allow popups to be shown outside of the map.
  • The search button is now optional and completely customisable either using the builder in the RadiusClusterLayerOptions or using a PopupScope above the RadiusClusterLayer and listening to the RadiusClusterState in order to show the button outside the map if desired.

[0.0.2] #

  • Fix jumpy zoom when tapping a cluster before the previous cluster tap animation finishes.
  • Add next search indicator, a circle which indicates where the next search will take place if a search is performed.
  • Add an option to prevent searching if the previous successful search is within a specified distance of the current map center.

[0.0.1] #

  • First release
6
likes
140
points
59
downloads

Publisher

verified publisherbalanci.ng

Weekly Downloads

A marker clustering plugin for flutter_map which displays markers in a given radius.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

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

More

Packages that depend on flutter_map_radius_cluster