aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 04:02:30 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 04:02:30 -0600
commit594a0e7dc5680b495770876afba931b30d667264 (patch)
treed451027198866bacc7a9404d11380276cb65e7e9 /shared
parent317d132e092ea9e1f8d5e1d30b9fad38e6c6200b (diff)
downloadetbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.gz
etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.tar.bz2
etbsa-trackermap-mobile-594a0e7dc5680b495770876afba931b30d667264.zip
Added attribution and refactored map layers code
Diffstat (limited to 'shared')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/MapLayer.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/MapLayer.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/MapLayer.kt
new file mode 100644
index 0000000..64381d9
--- /dev/null
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/MapLayer.kt
@@ -0,0 +1,8 @@
+package mx.trackermap.TrackerMap.client.models
+
+data class MapLayer(
+ val url: String,
+ val minZoom: Int,
+ val maxZoom: Int,
+ val attribution: String
+) \ No newline at end of file