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(
|
MarkerComposable(
|
||||||
keys = arrayOf(marker.colour),
|
keys = arrayOf(marker.colour),
|
||||||
state = state,
|
state = state,
|
||||||
title = marker.name,
|
|
||||||
onClick = { marker.onClick() }
|
onClick = { marker.onClick() }
|
||||||
) {
|
) {
|
||||||
Box(
|
Box(
|
||||||
|
|
|
||||||
|
|
@ -264,12 +264,7 @@ suspend fun buildStops(
|
||||||
if (stop.stopLatitude != null && stop.stopLongitude != null) {
|
if (stop.stopLatitude != null && stop.stopLongitude != null) {
|
||||||
val pos = Point(stop.stopLatitude!!, stop.stopLongitude!!)
|
val pos = Point(stop.stopLatitude!!, stop.stopLongitude!!)
|
||||||
|
|
||||||
var name = stop.stopName;
|
|
||||||
if (name.endsWith(" Station"))
|
|
||||||
name = name.replace(" Station", "")
|
|
||||||
|
|
||||||
val marker = Marker(
|
val marker = Marker(
|
||||||
name = name,
|
|
||||||
point = pos,
|
point = pos,
|
||||||
type = MarkerType.GENERIC_STOP,
|
type = MarkerType.GENERIC_STOP,
|
||||||
colour = colour,
|
colour = colour,
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ enum class MarkerType {
|
||||||
}
|
}
|
||||||
data class Marker(
|
data class Marker(
|
||||||
val point: Point,
|
val point: Point,
|
||||||
val name: String,
|
|
||||||
val type: MarkerType,
|
val type: MarkerType,
|
||||||
val colour: Color,
|
val colour: Color,
|
||||||
val onClick: () -> Boolean
|
val onClick: () -> Boolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue