feat: remove marker titles

This commit is contained in:
LavaDesu 2025-04-30 00:17:05 +10:00
parent b6deb30fcf
commit 81cdfcc9c5
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 0 additions and 7 deletions

View file

@ -112,7 +112,6 @@ actual fun Maps(
MarkerComposable(
keys = arrayOf(marker.colour),
state = state,
title = marker.name,
onClick = { marker.onClick() }
) {
Box(

View file

@ -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,

View file

@ -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