UserLocationLayer constructor
const
UserLocationLayer({})
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});