diff --git a/.idea/gradle.xml b/.idea/gradle.xml deleted file mode 100644 index 0435453..0000000 --- a/.idea/gradle.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 2b0f72e..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5882de6..2f4478b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.9.61] - 2024-10-03 +### Fixed +- incorrectly deserialized custom `HotSpot` + ## [0.9.60] - 2024-09-19 ### Changed - rename of `HotSpot` object (from `KmlVec2`) & optimization in it's usage diff --git a/README.md b/README.md index 9e45740..ff79e8d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Library for [Locus Map](https://www.locusmap.app) application for Android device ## Current version -Latest stable LT version: **0.9.60** +Latest stable LT version: **0.9.61** Available versions on the maven repository: [here](https://repo1.maven.org/maven2/com/asamm/). 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). diff --git a/gradle.properties b/gradle.properties index e23b8bd..195db2c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,8 +23,8 @@ GRADLE_NEXUS_STAGING = 0.30.0 LOCUS_LOGGER = 2.2 # Version -API_CODE = 107 -API_VERSION = 0.9.60 +API_CODE = 108 +API_VERSION = 0.9.61 # ANDROID SUPPORT LIBS # https://developer.android.com/topic/libraries/support-library/revisions.html diff --git a/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt b/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt index 7f6e127..ab429b6 100644 --- a/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt +++ b/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt @@ -104,10 +104,10 @@ data class HotSpot( // return custom hotStop return HotSpot( - x = dr.readDouble(), - xUnits = Units.values()[dr.readInt()], - y = dr.readDouble(), - yUnits = Units.values()[dr.readInt()] + x = x, + xUnits = xUnits, + y = y, + yUnits = yUnits ) }