0

I'm going to develop a location based game in android. I want to move a marker from one coordinate to other.Two points are in line! I'm trying to split the distance with points every 1m in order to create frames. Any help with the stracture of the class?

Thanks you

3
  • I know it's not a proper answer but you could have a look at the javascript sources for animaps and see how it's done there (click the play button for a demo).
    – lance-java
    Jan 29, 2014 at 9:08
  • That's it!! I want to do something like that in java! Jan 29, 2014 at 9:12
  • Oh, I somehow missed the Android reference and assumed javascript. Oops!
    – lance-java
    Jan 29, 2014 at 9:22

1 Answer 1

0

If you are using Google Maps Android API v2, you may want to check out Android Maps Extensions library, which adds animatePosition(LatLng) method to Markers.

You can see animated markers on the demo app here: https://play.google.com/store/apps/details?id=pl.mg6.android.maps.extensions.demo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.