TplMapsView constructor

const TplMapsView({
  1. Key? key,
  2. TplMapsViewCreatedCallback? tplMapsViewCreatedCallback,
  3. TPlMapsViewMarkerCallBack? tPlMapsViewMarkerCallBack,
  4. TPlMapsViewPolyLineCallBack? tPlMapsViewPolyLineCallBack,
  5. TPlMapsViewPolygonCallBack? tPlMapsViewPolygonCallBack,
  6. TPlMapsViewPOIClickCallBack? tPlMapsViewPOIClickCallBack,
  7. TPlMapsViewLongClickCallBack? tPlMapsViewLongClickCallBack,
  8. TPlMapsViewCircleClickCallBack? tPlMapsViewCircleClickCallBack,
  9. TPlMapsViewCameraChangedCallBack? tPlMapsViewCameraChangedCallBack,
  10. dynamic isShowBuildings = false,
  11. dynamic isZoomEnabled = true,
  12. dynamic longClickMarkerEnable = false,
  13. dynamic showZoomControls = false,
  14. dynamic isTrafficEnabled = false,
  15. dynamic enablePOIs = true,
  16. dynamic showsCompass = true,
  17. dynamic myLocationButtonEnabled = true,
  18. dynamic allGesturesEnabled = true,
  19. dynamic setMyLocationEnabled = true,
  20. dynamic mapMode,
  21. List<Circle>? circles,
  22. List<Marker>? markers,
  23. Polyline? polyLine,
  24. List<LatLng>? polyLines,
  25. Polygon? polygon,
  26. CameraPosition? initialCameraPosition,
})

Implementation

const TplMapsView({
  Key? key,
  this.tplMapsViewCreatedCallback,
  this.tPlMapsViewMarkerCallBack,
  this.tPlMapsViewPolyLineCallBack,
  this.tPlMapsViewPolygonCallBack,
  this.tPlMapsViewPOIClickCallBack,
  this.tPlMapsViewLongClickCallBack,
  this.tPlMapsViewCircleClickCallBack,
  this.tPlMapsViewCameraChangedCallBack,
  this.isShowBuildings = false,
  this.isZoomEnabled = true,
  this.longClickMarkerEnable = false,
  this.showZoomControls = false,
  this.isTrafficEnabled = false,
  this.enablePOIs = true,
  this.showsCompass = true,
  this.myLocationButtonEnabled = true,
  this.allGesturesEnabled = true,
  this.setMyLocationEnabled = true,
  this.mapMode,
  this.circles,
  this.markers,
  this.polyLine,
  this.polyLines,
  this.polygon,
  this.initialCameraPosition,
}) : super(key: key);