SKAnnotation의 이미지를 수정해야합니다. 주석 빌더 코드 :Skobbler Annotation을 다시 추가하지 않고 수정하는 방법
는private SKAnnotation getAnnotationFromView (int id,int minZoomLvl, View view) {
SKAnnotation annotation = new SKAnnotation();
SKAnnotationView annotationView = new SKAnnotationView();
annotationView.setView(view);
annotation.setUniqueID(id);
annotation.setOffset(new SKScreenPoint(annotationView.getWidth()/2, annotationView.getHeight()/2));
annotation.setAnnotationView(annotationView);
annotation.setMininumZoomLevel(minZoomLvl);
return annotation;
}
이제 내 문제는 현재 상태 (위치, 방향)에 주석/이미지를 업데이트하는 것입니다. 특수 효과를 추가하지 않고이를 수행하는 방법이 있습니까? 내가 찾은 문서를 살펴보면 mapView.updateAnnotation()
이 추가 된 이미지에만 적용됩니다. annotation.setImagePath(imagePath)
누군가 저를 도와 줄 수 있습니까?
당신이에 대한 모든 솔루션을 찾으셨습니까 일을해야합니까? 심지어 나는 이것을 찾고있다. – Ratan