File tree 5 files changed +20
-3
lines changed
locus-api-core/src/main/java/locus/api/objects
5 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 0.9.52]
8
+ ### Added
9
+ - ` GeocachingData.cacheUrlFull ` support for Lab caches
10
+ - ` GeoDataExtra.PAR_LOMEDIA ` as container for LoMedia objects
11
+
7
12
## [ 0.9.51]
8
13
### Added
9
14
- ` GeoDataExtra.PAR_RTE_WARNINGS ` as container with Route warnings
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Library for [Locus Map](https://www.locusmap.app) application for Android device
16
16
17
17
## Current version
18
18
19
- Latest stable LT version: ** 0.9.51 **
19
+ Latest stable LT version: ** 0.9.52 **
20
20
Available versions on the maven repository: [ here] ( https://repo1.maven.org/maven2/com/asamm/ ) .
21
21
22
22
How to ** update to new 0.9.x** version? More about it [ here] ( https://github.com/asamm/locus-api/wiki/Update-to-version-0.9.0 ) .
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ GRADLE_NEXUS_STAGING = 0.30.0
23
23
LOCUS_LOGGER = 2.2
24
24
25
25
# Version
26
- API_CODE = 98
27
- API_VERSION = 0.9.51
26
+ API_CODE = 99
27
+ API_VERSION = 0.9.52
28
28
29
29
# ANDROID SUPPORT LIBS
30
30
# https://developer.android.com/topic/libraries/support-library/revisions.html
Original file line number Diff line number Diff line change @@ -1056,6 +1056,13 @@ class GeoDataExtra : Storable() {
1056
1056
*/
1057
1057
const val PAR_LOPOINTS_GEOMETRY = 314
1058
1058
1059
+ /* *
1060
+ * Container for LoMedia objects.
1061
+ *
1062
+ * "STRING" in ByteArray (JSON)
1063
+ */
1064
+ const val PAR_LOMEDIA = 315
1065
+
1059
1066
// *************************************************
1060
1067
// CALL BACK HELPERS
1061
1068
// *************************************************
Original file line number Diff line number Diff line change @@ -390,6 +390,11 @@ class GeocachingData : Storable() {
390
390
*/
391
391
val cacheUrlFull: String
392
392
get() {
393
+ // handle lab caches
394
+ if (type == CACHE_TYPE_LAB_CACHE && cacheUrl.contains(" adventurelab.page.link" )) {
395
+ return cacheUrl
396
+ }
397
+
393
398
// if cache is from Groundspeak, return "coord.info" url
394
399
if (source == CACHE_SOURCE_GEOCACHING_COM ) {
395
400
return " https://coord.info/$cacheID "
You can’t perform that action at this time.
0 commit comments