Marker class

아이콘과 캡션을 이용해 지도 위의 한 지점을 표시하는 오버레이.

Constructors

Marker({required String markerId, required LatLng? position, String? infoWindow, double? alpha, bool? flat, OnMarkerTab? onMarkerTab, OverlayImage? icon, String? captionText, double? captionTextSize, Color? captionColor, Color? captionHaloColor, int? width, int? height, double? maxZoom, double? minZoom, double? angle, AnchorPoint? anchor, int? captionRequestedWidth, double? captionMaxZoom, double? captionMinZoom, int? captionOffset, bool? captionPerspectiveEnabled, int? zIndex, int? globalZIndex, Color? iconTintColor, String? subCaptionText, double? subCaptionTextSize, Color? subCaptionColor, Color? subCaptionHaloColor, int? subCaptionRequestedWidth})

Properties

alpha double?
마커의 불투명도를 조절하는 값입니다. 유효한 값의 범위는 0.0 ~ 1.0 까지이며 1.0일떄 완전 붏투명입니다.
getter/setter pair
anchor AnchorPoint?
마커 아이콘의 앵커를 지정합니다.
getter/setter pair
angle double?
아이콘의 각도를 지정합니다. 각도를 지정하면 아이콘이 해당 각도만큼 시계 방향으로 회전합니다
getter/setter pair
captionColor Color?
캡션의 색상을 지정합니다. RGB CODE를 필요로 합니다.
getter/setter pair
captionHaloColor Color?
캡션의 테두리색을 지정합니다. RGB Code를 필요로합니다.
getter/setter pair
captionMaxZoom double?
캡션이 보이는 최대 줌 레벨을 지정합니다.
getter/setter pair
captionMinZoom double?
캡션이 보이는 최소 줌 레벨을 지정합니다.
getter/setter pair
captionOffset int?
아이콘과 캡션 간의 여백을 지정합니다.
단위 >> Android: DP, iOS: PT, 기본값은 0입니다.
getter/setter pair
captionPerspectiveEnabled bool?
캡션에 원근 효과를 적용할지 여부를 반환합니다. 원근 효과를 적용할 경우 가까운 캡션은 크게, 먼 캡션은 작게 표시됩니다.
getter/setter pair
captionRequestedWidth int?
캡션의 희망 너비를 지정합니다.
getter/setter pair
captionText String?
캡션의 텍스트를 지정합니다. 빈 문자열일 경우 캡션이 그려지지 않습니다.
getter/setter pair
captionTextSize double?
캡션의 크기를 지정합니다.
getter/setter pair
flat bool?
마커를 평평하게 설정할지 여부를 지정합니다.
getter/setter pair
globalZIndex int?
전역 Z 인덱스를 지정합니다. 여러 오버레이가 화면에서 겹쳐지면 전역 Z 인덱스가 큰 오버레이가 작은 오버레이를 덮습니다.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
height int?
아이콘의 너비, 높이를 지정합니다.
단위 >> android : dp, iOS: pt
값이 없는 경우 이미지의 너비를 따릅니다.
getter/setter pair
icon OverlayImage?
아이콘을 지정합니다.
getter/setter pair
iconTintColor Color?
아이콘에 덧입힐 색상을 지정합니다. 덧입힐 색상을 지정하면 덧입힐 색상이 아이콘 이미지의 색상과 가산 혼합됩니다. 단, 덧입힐 색상의 알파는 무시됩니다.
getter/setter pair
infoWindow String?
마커를 클릭했을 때 인포윈도우를 보이게 할 수 있습니다. null 일 경우 마커를 클릭해도 윈도우가 보이지 않습니다.
getter/setter pair
markerId String
마커의 고유 식별자로 사용되는 값입니다.
final
maxZoom double?
오버레이가 보이는 최대, 최소 줌 레벨을 지정합니다. 지도의 줌 레벨이 오버레이의 최대 줌 레벨보다 크거나 지도의 줌 레벨이 오보레이의 줌 레벨보다 작은 경우 오버레이는 화면에 나타나지 않으며 이벤트도 받지 못합니다.
getter/setter pair
minZoom double?
오버레이가 보이는 최대, 최소 줌 레벨을 지정합니다. 지도의 줌 레벨이 오버레이의 최대 줌 레벨보다 크거나 지도의 줌 레벨이 오보레이의 줌 레벨보다 작은 경우 오버레이는 화면에 나타나지 않으며 이벤트도 받지 못합니다.
getter/setter pair
onMarkerTab OnMarkerTab?
오직 클릭 이벤트 리스너가 지정된 오버레이만이 클릭 이벤트를 받을 수 있습니다.
getter/setter pair
position LatLng?
좌표를 지정합니다.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subCaptionColor Color?
보조 캡션의 색상을 지정합니다.
getter/setter pair
subCaptionHaloColor Color?
보조 캡션의 테두리 색상을 지정합니다.
getter/setter pair
subCaptionRequestedWidth int?
보조 캡션의 너비를 지정합니다. 지정할 경우 한 줄의 너비가 희망 너비를 초과하는 캡션 텍스트는 자동으로 개행됩니다. 자동 개행은 어절 단위로 이루어지므로, 하나의 어절이 길 경우 캡션의 너비가 희망 너비를 초과할 수 있습니다.
getter/setter pair
subCaptionText String?
보조 캡션의 텍스트를 지정합니다. 보조 캡션은 주 캡션의 하단에 나타납니다. 빈 문자열일 경우 보조 캡션이 그려지지 않습니다.
getter/setter pair
subCaptionTextSize double?
보조 캡션의 텍스트 크기를 지정합니다.
getter/setter pair
width int?
아이콘의 너비, 높이를 지정합니다.
단위 >> android : dp, iOS: pt
값이 없는 경우 이미지의 너비를 따릅니다.
getter/setter pair
zIndex int?
보조 Z 인덱스를 지정합니다. 전역 Z 인덱스가 동일한 여러 오버레이가 화면에서 겹쳐지면 보조 Z 인덱스가 큰 오버레이가 작은 오버레이를 덮습니다.
getter/setter pair

Methods

clone() Marker
같은 값을 가진 새로운 Maker 객체를 반환한다.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override