@Override public boolean onLongClick(PointF point, RotatedTileBox tileBox) { if (activity.getMyApplication().accessibilityEnabled() && activity.getMapViewTrackingUtilities().isMapLinkedToLocation()) { activity .getMapLayers() .getContextMenuLayer() .showContextMenu(tileBox.getLatitude(), tileBox.getLongitude(), true); return true; } return false; }
public double getLongitude() { return currentViewport.getLongitude(); }