I use the update annotation API in Android skobbler cards for battery life. I am changing the presentation of annotation and updating annotation using the API update API.
SKAnnotation currentAnnotation = mAnnotations.get(mSelectedIndex);
SKAnnotationView currentView = currentAnnotation.getAnnotationView();
currentView.setView(createDrawableFromView(TestActivity.this, true, "2500"));
currentAnnotation.setAnnotationView(currentView);
mSKMapView.updateAnnotation(currentAnnotation);
However, updateAnnotation does not work. Please let me know about this.
And how to add and handle the click event for custom annotations.
source
share