feat: remove marker titles
This commit is contained in:
parent
b6deb30fcf
commit
81cdfcc9c5
3 changed files with 0 additions and 7 deletions
|
|
@ -112,7 +112,6 @@ actual fun Maps(
|
|||
MarkerComposable(
|
||||
keys = arrayOf(marker.colour),
|
||||
state = state,
|
||||
title = marker.name,
|
||||
onClick = { marker.onClick() }
|
||||
) {
|
||||
Box(
|
||||
|
|
|
|||
|
|
@ -264,12 +264,7 @@ suspend fun buildStops(
|
|||
if (stop.stopLatitude != null && stop.stopLongitude != null) {
|
||||
val pos = Point(stop.stopLatitude!!, stop.stopLongitude!!)
|
||||
|
||||
var name = stop.stopName;
|
||||
if (name.endsWith(" Station"))
|
||||
name = name.replace(" Station", "")
|
||||
|
||||
val marker = Marker(
|
||||
name = name,
|
||||
point = pos,
|
||||
type = MarkerType.GENERIC_STOP,
|
||||
colour = colour,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ enum class MarkerType {
|
|||
}
|
||||
data class Marker(
|
||||
val point: Point,
|
||||
val name: String,
|
||||
val type: MarkerType,
|
||||
val colour: Color,
|
||||
val onClick: () -> Boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue