Moveable Marker Android Mapbox 3.1.0 -
is there way update latlng of marker in mapbox-android 3.1.0? setlocation method private , marker class final. i'm trying avoid removing , readding marker mapview. option implement moveable marker , build mapbox.
in upcoming 4.0.0
version of android mapbox sdk you'll able update marker position. pretty handy making cool animations marker. use can use 4.0.0-snapshot
adding app build.gradle:
repositories { ... maven { url "http://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { ... compile('com.mapbox.mapboxsdk:mapbox-android-sdk:4.0.0-snapshot@aar') { transitive = true } }
Comments
Post a Comment