FeatureLayerOptions class

Inheritance

Constructors

FeatureLayerOptions({@required String url, @required String geometryType, Size size: const Size(30, 30), Size computeSize(List<Marker>), AnchorPos anchor, int maxClusterRadius: 80, AnimationsOptions animationsOptions: const AnimationsOptions(), FitBoundsOptions fitBoundsOptions: const FitBoundsOptions(padding: EdgeInsets.all(12.0)), bool zoomToBoundsOnClick: true, bool centerMarkerOnClick: true, int spiderfyCircleRadius: 40, int spiderfySpiralDistanceMultiplier: 1, int circleSpiralSwitchover: 9, List<Point<num>> spiderfyShapePositions(int, Point<num>), void onTap(dynamic attributes, LatLng location), dynamic render(dynamic attributes)})

Properties

anchor AnchorPos
Cluster anchor
final
animationsOptions AnimationsOptions
animations options
final
centerMarkerOnClick bool
When click marker, center it with animation
final
circleSpiralSwitchover int
Show spiral instead of circle from this marker count upwards. 0 -> always spiral; Infinity -> always circle
final
computeSize Size Function(List<Marker>)
Cluster compute size
final
fitBoundsOptions FitBoundsOptions
Options for fit bounds
final
geometryType String
Feature layer URL
final
hashCode int
The hash code for this object. [...]
read-only, inherited
maxClusterRadius int
A cluster will cover at most this many pixels from its center
final
onTap → void Function(dynamic attributes, LatLng location)
Function to call when a Marker is tapped
final
rebuild Stream<Null>
read / write, inherited
render → dynamic Function(dynamic attributes)
Render
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Size
Cluster size
final
spiderfyCircleRadius int
Increase to increase the distance away that circle spiderfied markers appear from the center
final
spiderfyShapePositions List<Point<num>> Function(int, Point<num>)
Make it possible to provide custom function to calculate spiderfy shape positions
final
spiderfySpiralDistanceMultiplier int
Increase to increase the distance away that spiral spiderfied markers appear from the center
final
url String
Feature layer URL
final
zoomToBoundsOnClick bool
Zoom buonds with animation on click cluster
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited