コード例 #1
0
  @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;
  }
コード例 #2
0
 private void onDrawFocusBubble(Canvas canvas, int zoomLevel, Projection projection) {
   if (mItemWithBubble != null) {
     projection.toPixels(mItemWithBubble.getPoint(), mCurScreenCoords);
     onDrawItem(canvas, zoomLevel, (Item) mItemWithBubble, mCurScreenCoords);
   }
 }