MarkerConfig constructor
MarkerConfig({
- required String imgPath,
- Offset anchor = const Offset(0, 0),
- InfoWindow infoWindow = InfoWindow.noText,
Implementation
MarkerConfig({
required String imgPath,
this.anchor = const Offset(0,0),
this.infoWindow = InfoWindow.noText,
}) {
icon.complete(BitmapDescriptor.fromAssetImage(
ImageConfiguration(
devicePixelRatio: window.devicePixelRatio,
),
imgPath,
));
}