MarkerLayer constructor

const MarkerLayer({
  1. Key? key,
  2. required List<Marker> markers,
  3. required VietmapController mapController,
  4. bool? ignorePointer,
})

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

Implementation

const MarkerLayer(
    {super.key,
    required this.markers,
    required this.mapController,
    this.ignorePointer});