@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;
 }
示例#2
0
 public double getLatitude() {
   return currentViewport.getLatitude();
 }