@Override protected boolean onSingleTapUpHelper( final int index, final OverlayItem item, final MapView mapView) { item1 = item; MapFragment.markerName = item.getSnippet(); pointLatLon = item.getPoint(); placeMarker = item.getTitle(); return true; }
private void onDrawFocusBubble(Canvas canvas, int zoomLevel, Projection projection) { if (mItemWithBubble != null) { projection.toPixels(mItemWithBubble.getPoint(), mCurScreenCoords); onDrawItem(canvas, zoomLevel, (Item) mItemWithBubble, mCurScreenCoords); } }