-
Notifications
You must be signed in to change notification settings - Fork 14
Update to version 0.9.0
Conversion to Kotlin brings some very nice features, like better null-safe, easier construction of objects, a lot easier extendibility. Together with update of coding language, I decided to do also some structure optimization.
Changes package names (old vs new)
import locus.api.objects.GeoData
import locus.api.objects.geoData.GeoData
import locus.api.objects.extra.Point
import locus.api.objects.geoData.Point
import locus.api.objects.extra.Track
import locus.api.objects.geoData.Track
import locus.api.objects.extra.Circle
import locus.api.objects.geoData.Circle
import locus.api.objects.extra.GeoDataStyle
import locus.api.objects.styles.GeoDataStyle
import locus.api.objects.extra.GeoDataStyle.BalloonStyle
import locus.api.objects.styles.BalloonStyle
import locus.api.objects.extra.GeoDataStyle.IconStyle
import locus.api.objects.styles.IconStyle
import locus.api.objects.extra.GeoDataStyle.LabelStyle
import locus.api.objects.styles.LabelStyle
import locus.api.objects.extra.GeoDataStyle.ListStyle
import locus.api.objects.styles.ListStyle
import locus.api.objects.extra.LineStyle
import locus.api.objects.styles.LineStyle
import locus.api.objects.enums.PointRteAction
import locus.api.objects.extra.PointRteAction
import locus.api.objects.utils.LocationCompute
import locus.api.utils.LocationCompute
Removed periodic updates system
Check Dashboard
sample, how to do it in a better way.
Removed deprecated functions
Most of the functions from old ActionTools
class is now moved to ActionsBasics
. Search in code by the function name, it in most cases remains the same.
Separating inner classes
LocusVersion
and VersionCode
are now separate classes, not an inner class of LocusUtils
.
And best of all: sorry for this mess. I prefer a cleaner code before maintaining compatibility. The update is not necessary for now, all API functionality remains in Locus Map ... but soon or later. For me, update to this new API was monkey work on the whole day. Hope You will faster. Post an issue here in case of any problem you will have!
-
Basics
-
Non-API tools
-
Using API
-
Work with points
-
Work with tracks
-
Integration into Locus Map
-
Other/advanced features