FeatureLayerOptions constructor

FeatureLayerOptions(
  1. String url,
  2. String geometryType, {
  3. Size size = const Size(30, 30),
  4. Size computeSize(
    1. List<Marker>
    )?,
  5. Alignment? alignment,
  6. int maxClusterRadius = 80,
  7. AnimationsOptions animationsOptions = const AnimationsOptions(),
  8. FitBoundsOptions fitBoundsOptions = const FitBoundsOptions(padding: EdgeInsets.all(12.0)),
  9. bool zoomToBoundsOnClick = true,
  10. bool centerMarkerOnClick = true,
  11. int spiderfyCircleRadius = 40,
  12. int spiderfySpiralDistanceMultiplier = 1,
  13. int circleSpiralSwitchover = 9,
  14. List<Point<num>> spiderfyShapePositions(
    1. int,
    2. Point<num>
    )?,
  15. void onTap(
    1. dynamic attributes,
    2. LatLng location
    )?,
  16. dynamic render(
    1. dynamic attributes
    )?,
})

Implementation

FeatureLayerOptions(
    this.url,
    this.geometryType,{
  this.size = const Size(30, 30),
  this.computeSize,
  this.alignment,
  this.maxClusterRadius = 80,
  this.animationsOptions = const AnimationsOptions(),
  this.fitBoundsOptions =
      const FitBoundsOptions(padding: EdgeInsets.all(12.0)),
  this.zoomToBoundsOnClick = true,
  this.centerMarkerOnClick = true,
  this.spiderfyCircleRadius = 40,
  this.spiderfySpiralDistanceMultiplier = 1,
  this.circleSpiralSwitchover = 9,
  this.spiderfyShapePositions,
  this.onTap,
  this.render,
});