public static PickPointResponse extractFromIntent(final Intent intent)
  {
    final PickPointResponse response = new PickPointResponse();
    final Bundle extras = intent.getExtras();
    final double lat = extras.getDouble(Const.EXTRA_POINT_LAT);
    final double lon = extras.getDouble(Const.EXTRA_POINT_LON);
    final String name = extras.getString(Const.EXTRA_POINT_NAME);
    final String id = extras.getString(Const.EXTRA_POINT_ID);
    response.mPoint = new Point(lat, lon, name, id);
    response.mZoomLevel = extras.getDouble(Const.EXTRA_ZOOM_LEVEL);
    return response;
  }
Factory method to extract response from intent.

@param intent an intent to extra data from
@return PointResponse
organicmaps-api/src/main/java/app/organicmaps/api/PickPointResponse.java