UserLocationLayer constructor

const UserLocationLayer({
  1. Key? key,
  2. Widget? locationIcon,
  3. Widget? bearingIcon,
  4. required VietmapController mapController,
  5. bool? ignorePointer,
  6. double pulseOpacity = 0.3,
  7. double iconSize = 50,
  8. Color pulseColor = Colors.blue,
})

The markers to be placed on the map. use UserLocationLayer inside a Stack, that contain VietmapGL and UserLocationLayer to work properly VietmapGL.trackCameraPosition must be set to true to work properly

Implementation

const UserLocationLayer(
    {super.key,
    this.locationIcon,
    this.bearingIcon,
    required this.mapController,
    this.ignorePointer,
    this.pulseOpacity = 0.3,
    this.iconSize = 50,
    this.pulseColor = Colors.blue});