getVehicleMarkerFromIntent

fun getVehicleMarkerFromIntent(context: Context, intent: Intent): MarkerOptions

It is used to get the marker by extracting vehicle data from intent.

Return

MarkerOptions

Author

Darshan Bhanushali

See also

com.dwarshb.commute.presentation.mapScreen.MapsViewModel
com.google.android.gms.maps.model.MarkerOptions

Parameters

context

is object of Context

intent

is object of Intent used as getIntent to extract the data passed within it.