Preview Map View
fun PreviewMapView(modifier: Modifier = Modifier, route: Route, destinationImage: BitmapDrawable, routeColor: Int? = null, filePath: String, onTap: () -> Unit = {})
Composable function that creates a PreviewMapView and loads a map package from the provided file path.
Parameters
modifier
The modifier for styling or positioning the PreviewMapView. Default is Modifier.
route
The route to be displayed on the PreviewMapView.
destination Image
The destination image to be displayed on the PreviewMapView.
route Color
The color of the route to be displayed on the PreviewMapView. Default is null.
file Path
The file path of the map package to be loaded.
on Tap
The callback function to be invoked when the PreviewMapView is tapped. Default is an empty lambda.