/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map/MapMarkerUtils
MapMarkerUtils
\ object MapMarkerUtils
Functions
Name | Summary |
---|---|
createCityMarker | fun createCityMarker(city: Region.City, cityIcon: BitmapDescriptor?): MarkerOptions? |
createStopMarkerIcon | fun createStopMarkerIcon(diameter: Int, strokeColor: Int, fillColor: Int, showOutline: Boolean): Bitmap |
createTransparentSquaredIcon | fun createTransparentSquaredIcon(res: Resources, @DimenRessizeResId: Int): BitmapDescriptor This replaces the old solution that used a transparent bitmap contained in the drawable/ folder. The advantage is that this creates a bitmap that looks more consistent over various DPIs. |