PowerMap constructor

const PowerMap({
  1. Key? key,
  2. void onMapCreated(
    1. PowerMapController
    )?,
  3. void onMapClick(
    1. LatLng
    )?,
  4. void onMarkerTapped(
    1. dynamic
    )?,
  5. void onPoiTapped(
    1. Map<String, dynamic>
    )?,
  6. void onCameraMove(
    1. CameraPosition
    )?,
  7. void onCameraIdle()?,
  8. void onMapLongClick(
    1. LatLng
    )?,
  9. void onError(
    1. PowerMapException
    )?,
  10. LatLng initialCenter = const LatLng(13.7563, 100.5018),
  11. double initialZoom = 12.0,
  12. double? initialTilt,
  13. String initialStyle = 'th',
  14. bool enable3DBuildings = true,
})

Implementation

const PowerMap({
  super.key,
  this.onMapCreated,
  this.onMapClick,
  this.onMarkerTapped,
  this.onPoiTapped,
  this.onCameraMove,
  this.onCameraIdle,
  this.onMapLongClick,
  this.onError,
  this.initialCenter = const LatLng(13.7563, 100.5018),
  this.initialZoom = 12.0,
  this.initialTilt,
  this.initialStyle = 'th',
  this.enable3DBuildings = true,
});