|
| Package: | dji.open.pilot.base.manager.map |
Marker configuration of a map widget element. Supported since MSDK 5.20.1
OpenLocation getPoint() |
| Package: | dji.open.pilot.base.manager.map |
Gets the open location information of the marker. Supported since MSDK 5.20.1
| OpenLocation | Open location information. |
void setPoint(OpenLocation point) |
| Package: | dji.open.pilot.base.manager.map |
Sets the open location information of the marker. Supported since MSDK 5.20.1
| OpenLocation point | Open location information object. |
boolean isDraggable() |
| Package: | dji.open.pilot.base.manager.map |
Determines whether the marker is draggable. Supported since MSDK 5.20.1
| boolean | true means draggable, false means not draggable. |
void setDraggable(boolean draggable) |
| Package: | dji.open.pilot.base.manager.map |
Sets whether the marker is draggable. Supported since MSDK 5.20.1
| boolean draggable | true means draggable, false means not draggable. |
float getRotation() |
| Package: | dji.open.pilot.base.manager.map |
Gets the rotation angle of the marker. Supported since MSDK 5.20.1
| float | Rotation angle value (in degrees). |
void setRotation(float rotation) |
| Package: | dji.open.pilot.base.manager.map |
Sets the rotation angle of the marker. Supported since MSDK 5.20.1
| float rotation | Rotation angle value (in degrees). |
PointF getAnchor() |
| Package: | dji.open.pilot.base.manager.map |
Gets the anchor position of the marker. Supported since MSDK 5.20.1
| PointF | Anchor coordinates (the position ratio relative to the top-left corner of the icon; the default [0.5, 0.5] indicates the center of the icon). |
void setAnchor(PointF anchor) |
| Package: | dji.open.pilot.base.manager.map |
Sets the anchor position of the marker. Supported since MSDK 5.20.1
| PointF anchor | Anchor coordinates (the position ratio relative to the top-left corner of the icon). |
String getTitle() |
| Package: | dji.open.pilot.base.manager.map |
Gets the title text of the marker. Supported since MSDK 5.20.1
| String | Title text content. |
void setTitle(String title) |
| Package: | dji.open.pilot.base.manager.map |
Sets the title text of the marker. Supported since MSDK 5.20.1
| String title | Title text content. |
String getDescription() |
| Package: | dji.open.pilot.base.manager.map |
Gets the description of the marker. Supported since MSDK 5.20.1
| String | Description text content. |
void setDescription(String description) |
| Package: | dji.open.pilot.base.manager.map |
Sets the description of the marker. Supported since MSDK 5.20.1
| String description | Description text content. |
boolean isClickable() |
| Package: | dji.open.pilot.base.manager.map |
Determines whether the marker is clickable. Supported since MSDK 5.20.1
| boolean | true means clickable, false means not clickable. |
void setClickable(boolean clickable) |
| Package: | dji.open.pilot.base.manager.map |
Sets whether the marker is clickable. Supported since MSDK 5.20.1
| boolean clickable | true means clickable, false means not clickable. |
boolean isVisible() |
| Package: | dji.open.pilot.base.manager.map |
Determines whether the marker is visible. Supported since MSDK 5.20.1
| boolean | true means visible, false means hidden. |
void setVisible(boolean visible) |
| Package: | dji.open.pilot.base.manager.map |
Sets whether the marker is visible. Supported since MSDK 5.20.1
| boolean visible | true means visible, false means hidden. |
String getNormalIConFileName() |
| Package: | dji.open.pilot.base.manager.map |
Gets the default icon file name of the marker. Supported since MSDK 5.20.1
| String | Default icon file name. |
void setNormalIConFileName(String normalIConFileName) |
| Package: | dji.open.pilot.base.manager.map |
Sets the default icon file name of the marker. Supported since MSDK 5.20.1
| String normalIConFileName | Default icon file name. |
String getClickedIConFileName() |
| Package: | dji.open.pilot.base.manager.map |
Gets the clicked-state icon file name of the marker. Supported since MSDK 5.20.1
| String | Clicked-state icon file name. |
void setClickedIConFileName(String clickedIConFileName) |
| Package: | dji.open.pilot.base.manager.map |
Sets the clicked-state icon file name of the marker. Supported since MSDK 5.20.1
| String clickedIConFileName | Clicked-state icon file name. |