Package com.kakao.vectormap.route
Class RouteLineSegment
- java.lang.Object
-
- com.kakao.vectormap.route.RouteLineSegment
-
public class RouteLineSegment extends java.lang.Object
RouteLine
를 구성하는 최소 단위의 클래스.RouteLineStyles
과 2개 이상의 위치 좌표가 필수로 필요하다.
-
-
Field Summary
Fields Modifier and Type Field Description int
curveType
double[]
lats
double[]
lngs
int
styleIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteLineSegment
addPoints(LatLng... points)
위치 좌표를 추가한다.RouteLineSegment
addPoints(java.util.List<LatLng> points)
위치 좌표를 추가한다.RouteLineSegment
clearPoints()
설정 된 위치 좌표를 리셋한다.static RouteLineSegment
from()
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(LatLng[] points)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(LatLng[] points, RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(LatLng[] points, RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(java.util.List<LatLng> points)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(java.util.List<LatLng> points, RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.static RouteLineSegment
from(java.util.List<LatLng> points, RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.CurveType
getCurveType()
CurveType 을 가져온다.java.util.List<LatLng>
getPoints()
위치 좌표를 가져온다.RouteLineStyles
getStyles()
RouteLineStyles 을 가져온다.java.lang.Object
getTag()
태그를 가져온다.RouteLineSegment
setCurveType(CurveType curveType)
CurveType 을 설정한다.RouteLineSegment
setPoints(LatLng... points)
위치 좌표를 설정한다.RouteLineSegment
setPoints(java.util.List<LatLng> points)
위치 좌표를 설정한다.RouteLineSegment
setStyles(RouteLineStyle... styles)
RouteLineStyles 를 설정한다.RouteLineSegment
setStyles(RouteLineStyles styles)
RouteLineStyles 를 설정한다.RouteLineSegment
setTag(java.util.Objects tag)
태그를 설정한다.
-
-
-
Method Detail
-
from
public static RouteLineSegment from()
RouteLineSegment 객체를 생성한다.
-
from
public static RouteLineSegment from(RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.- Parameters:
styles
- 설정 할 RouteLineStyles.
-
from
public static RouteLineSegment from(RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.- Parameters:
styles
- 설정 할 RouteLineStyles.
-
from
public static RouteLineSegment from(LatLng[] points)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.
-
from
public static RouteLineSegment from(java.util.List<LatLng> points)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.
-
from
public static RouteLineSegment from(LatLng[] points, RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.styles
- 설정 할 RouteLineStyles.
-
from
public static RouteLineSegment from(LatLng[] points, RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.styles
- 설정 할 RouteLineStyles.
-
from
public static RouteLineSegment from(java.util.List<LatLng> points, RouteLineStyles styles)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.styles
- 설정 할 RouteLineStyles.
-
from
public static RouteLineSegment from(java.util.List<LatLng> points, RouteLineStyle... styles)
RouteLineSegment 객체를 생성한다.- Parameters:
points
- 설정 할 위치 좌표.styles
- 설정 할 RouteLineStyles.
-
setCurveType
public RouteLineSegment setCurveType(CurveType curveType)
CurveType 을 설정한다.- Parameters:
curveType
- 설정 할 CurveType.
-
getCurveType
public CurveType getCurveType()
CurveType 을 가져온다.
-
setTag
public RouteLineSegment setTag(java.util.Objects tag)
태그를 설정한다.- Parameters:
tag
- 설정 할 태그.
-
getTag
public java.lang.Object getTag()
태그를 가져온다.
-
getStyles
public RouteLineStyles getStyles()
RouteLineStyles 을 가져온다.
-
getPoints
public java.util.List<LatLng> getPoints()
위치 좌표를 가져온다.
-
setPoints
public RouteLineSegment setPoints(java.util.List<LatLng> points)
위치 좌표를 설정한다.- Parameters:
points
- 설정 할 위치 좌표.
-
setPoints
public RouteLineSegment setPoints(LatLng... points)
위치 좌표를 설정한다.- Parameters:
points
- 설정 할 위치 좌표.
-
addPoints
public RouteLineSegment addPoints(java.util.List<LatLng> points)
위치 좌표를 추가한다.- Parameters:
points
- 추가 할 위치 좌표.
-
addPoints
public RouteLineSegment addPoints(LatLng... points)
위치 좌표를 추가한다.- Parameters:
points
- 추가 할 위치 좌표.
-
clearPoints
public RouteLineSegment clearPoints()
설정 된 위치 좌표를 리셋한다.
-
setStyles
public RouteLineSegment setStyles(RouteLineStyle... styles)
RouteLineStyles 를 설정한다.- Parameters:
styles
- 설정 할 RouteLineStyle.
-
setStyles
public RouteLineSegment setStyles(RouteLineStyles styles)
RouteLineStyles 를 설정한다.- Parameters:
styles
- 설정 할 RouteLineStyles.
-
-