ClusterMarker class
A ClusterMarker is a special marker that represents a group of markers that have been clustered together to reduce clutter on the map.
The marker typically displays a count of the number of individual markers it represents. When the user zooms in, the cluster may break apart, revealing the individual markers or smaller clusters.
Constructors
- ClusterMarker({required ILatLong position, required int markerCount, int? key})
- Constructs a ClusterMarker.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ int?
-
the item this marker represents.
getter/setter pairinherited
- latitude → double
-
The latitude of this point in degrees.
no setterinherited
- latLong ↔ ILatLong
-
The position in the map if the current marker is a "point".
getter/setter pairinherited
- longitude → double
-
The longitude of this point in degrees.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoomlevelRange → ZoomlevelRange
-
finalinherited
Methods
-
changeZoomlevel(
int zoomlevel, PixelProjection projection) → Future< void> -
override
-
dispose(
) → void -
inherited
-
getReference(
) → ILatLong -
inherited
-
isTapped(
TapEvent tapEvent) → bool -
returns true if the position specified by
tapEventis in the area of this marker. Note that tapEvent represents the position at the time the tap has been executed.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
UiRenderContext renderContext) → void -
Renders this object. Called by markerPainter
override
-
searchForSymbolBoundary(
String symbolId) → MapRectangle? -
shouldPaint(
BoundingBox boundary, int zoomlevel) → bool -
returns true if the marker should be painted. The
boundaryrepresents the currently visible areainherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited