moagrius / TileView

TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing.
MIT License
1.46k stars 336 forks source link

Dynamically move the marker on map #230

Closed bshikhar13 closed 9 years ago

bshikhar13 commented 9 years ago

I am making an indoor positioning application, for which I need to update the location of the android device every second. The position of the marker should change every second.

final ImageView logo = new ImageView( logo.setImageResource(R.drawable.logo); tileView.addMarker(logo, x, y, -0.5f, -1.0f);

Need to update x and y every second.

moagrius commented 9 years ago

TileView.moveMarker http://moagrius.github.io/TileView/com/qozix/tileview/TileView.html#moveMarker(View,%20double,%20double)

moagrius commented 9 years ago

resolved?

bshikhar13 commented 9 years ago

Ya, I got it. Can you please tell me how to move the marker smoothly from one position to another over the map?

moagrius commented 9 years ago

There's no built in way to do that. You'd have to use your own animation routine.