示例#1
0
 public CoordinatePointV2Bean getPoint(CoordinatePoint point) {
   if (point == null) return null;
   CoordinatePointV2Bean bean = new CoordinatePointV2Bean();
   bean.setLat(point.getLat());
   bean.setLon(point.getLon());
   return bean;
 }
示例#2
0
 public CoordinatePoint reversePoint(CoordinatePointV2Bean bean) {
   if (bean == null) return null;
   return new CoordinatePoint(bean.getLat(), bean.getLon());
 }