Search code examples
androidskmaps

Delay when setting a annotation after tapping on map using skobbler sdk


I'm using the skobbler sdk 2.2 and I want to show up a annotation after tapping the map. Unfortunately there is a significant delay between tapping and showing. It looks like the annotation shows up after a map refresh, but I couldn't find a public method responsible for that. I've tried mapView.invalidate() and mapView.updateAnnotaion(Annotation a) but it doesn't seem to work this way. Can anyone help me with that?


Solution

  • For Skobbler's SDK 2.2 the solution is to add mapView.requestRender();