public CoordinatePointV2Bean getPoint(CoordinatePoint point) { if (point == null) return null; CoordinatePointV2Bean bean = new CoordinatePointV2Bean(); bean.setLat(point.getLat()); bean.setLon(point.getLon()); return bean; }
public CoordinatePoint reversePoint(CoordinatePointV2Bean bean) { if (bean == null) return null; return new CoordinatePoint(bean.getLat(), bean.getLon()); }