tripkit-android / / MapMarkerUtils


class MapMarkerUtils


Name Summary
createCityMarker static fun createCityMarker(city: City!, cityIcon: BitmapDescriptor!): MarkerOptions?
createStopMarkerIcon static fun createStopMarkerIcon(diameter:Int, strokeColor:Int, fillColor:Int, showOutline:Boolean): Bitmap!
createTransparentSquaredIcon This replaces the old solution that use a transparent bitmap contained in the drawable/ folder. The advantage is that, this creates a bitmap that looks more consistent over various DPIs.static fun createTransparentSquaredIcon(res: Resources, sizeResId:Int): BitmapDescriptor!