232233234235236237238239240241242
_ottAnnotation_ = new OurToolTipAnnotation(strText); } if (layer == null) { layer = new AnnotationLayer(); layer.setPickEnabled(false); } layer.removeAllAnnotations(); layer.addAnnotation(_ottAnnotation_);