Is it possible to use SVG paths to create a marker with the google_maps_flutter plugin? I know you can use .png
files by using:
icon: BitmapDescriptor.fromAsset("images/myFile.png")
How about SVG paths?
Thanks
Is it possible to use SVG paths to create a marker with the google_maps_flutter plugin? I know you can use .png
files by using:
icon: BitmapDescriptor.fromAsset("images/myFile.png")
How about SVG paths?
Thanks
just checked out the docs for BitmapDescriptor class You can try the fromAssetImage() class method
https://pub.dev/documentation/google_maps_flutter/latest/google_maps_flutter/BitmapDescriptor/fromAssetImage.html