Annotation Update API not working

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.

+2
source share
1 answer

After examining this, it turned out that the updateAnnotation API was not implemented for user views in version 2.3 of the SDK.

We will have it in the 2.4 SDK.

+1
source

All Articles