|
| Package: | dji.open.pilot.base.manager.map |
Map widget. Supported since MSDK 5.20.1
String getId() |
| Package: | dji.open.pilot.base.manager.map |
Gets the map widget ID, which is a unique identifier. Supported since MSDK 5.20.1
| String | Map widget ID. |
MapDrawerType getDrawerType() |
| Package: | dji.open.pilot.base.manager.map |
Gets the map widget type. Supported since MSDK 5.20.1
| MapDrawerType | Map widget type. |
void setDrawerType(MapDrawerType drawerType) |
| Package: | dji.open.pilot.base.manager.map |
Sets the map widget type. Supported since MSDK 5.20.1
| MapDrawerType drawerType | Map widget type. |
MapWidgetItem getAssociatedItem() |
| Package: | dji.open.pilot.base.manager.map |
Gets the associated map widget item. Supported since MSDK 5.20.1
| MapWidgetItem | Map widget item. |
void setAssociatedItem(MapWidgetItem associatedItem) |
| Package: | dji.open.pilot.base.manager.map |
Sets the associated map widget item. Supported since MSDK 5.20.1
| MapWidgetItem associatedItem | Map widget item. |
MapCircleOptions getCircleOptions() |
| Package: | dji.open.pilot.base.manager.map |
Gets the circle configuration of the map widget. Supported since MSDK 5.20.1
| MapCircleOptions | Circle configuration of the map widget. |
void setCircleOptions(MapCircleOptions circleOptions) |
| Package: | dji.open.pilot.base.manager.map |
Sets the circle configuration of the map widget. Supported since MSDK 5.20.1
| MapCircleOptions circleOptions | Circle configuration of the map widget. |
MapMarkerOptions getMarkerOptions() |
| Package: | dji.open.pilot.base.manager.map |
Gets the marker configuration of the map widget. Supported since MSDK 5.20.1
| MapMarkerOptions | Marker configuration of the map widget. |
void setMarkerOptions(MapMarkerOptions markerOptions) |
| Package: | dji.open.pilot.base.manager.map |
Sets the marker configuration of the map widget. Supported since MSDK 5.20.1
| MapMarkerOptions markerOptions | Marker configuration of the map widget. |
MapPolygonOptions getPolygonOptions() |
| Package: | dji.open.pilot.base.manager.map |
Gets the polygon configuration of the map widget. Supported since MSDK 5.20.1
| MapPolygonOptions | Polygon configuration of the map widget. |
void setPolygonOptions(MapPolygonOptions polygonOptions) |
| Package: | dji.open.pilot.base.manager.map |
Sets the polygon configuration of the map widget. Supported since MSDK 5.20.1
| MapPolygonOptions polygonOptions | Polygon configuration of the map widget. |
MapPolylineOptions getPolylineOptions() |
| Package: | dji.open.pilot.base.manager.map |
Gets the polyline configuration of the map widget. Supported since MSDK 5.20.1
| MapPolylineOptions | Polyline configuration of the map widget. |
void setPolylineOptions(MapPolylineOptions polylineOptions) |
| Package: | dji.open.pilot.base.manager.map |
Sets the polyline configuration of the map widget. Supported since MSDK 5.20.1
| MapPolylineOptions polylineOptions | Polyline configuration of the map widget. |
String getLayerId() |
| Package: | dji.open.pilot.base.manager.map |
Gets the ID of the layer it belongs to.
An empty string by default indicates it is grouped into the default layer. Supported since MSDK 5.20.1
| String | Layer ID. |
void setLayerId(String layerId) |
| Package: | dji.open.pilot.base.manager.map |
Sets the ID of the layer it belongs to.
Used to group the widget into a specified MapWidgetLayer. If not set, it is grouped into the default layer. Supported since MSDK 5.20.1
| String layerId | Layer ID, obtained from MapWidgetLayer.getId(). |
String getName() |
| Package: | dji.open.pilot.base.manager.map |
Gets the map widget name.
Used for business identification, making it easier to recognize the widget during logging/debugging/querying. It is not displayed on the map (different from MapMarkerOptions.getTitle() / MapWidgetItem.getTitle()). Supported since MSDK 5.20.1
| String | Map widget name. |
void setName(String name) |
| Package: | dji.open.pilot.base.manager.map |
Sets the map widget name.
Used for business identification (such as “Fire point-A12”, “Personnel-Zhang San”), and is not displayed on the map. To display text on the map, use MapMarkerOptions.setTitle(String) (marker title) or MapWidgetItem.setTitle(String) (popup title on click). Supported since MSDK 5.20.1
| String name | Map widget name. |