Represents a polyline object with points placed along it on the location view.
More...
|
abstract boolean | setPolyLine (LocationPolyline polyline) |
| Method is used to specify the source polyline for the points.
|
|
abstract boolean | setColor (float red, float green, float blue, float alpha) |
| Method is used to specify the color of the object.
|
|
abstract boolean | setSize (float width, float height) |
| Method is used to specify the size of the points.
|
|
abstract boolean | setCollisionEnabled (boolean enabled) |
| Method is used to enable or disable collision detection for the icon.
|
|
abstract boolean | setPlacement (Placement placement) |
| Method is used to specify the placement mode for points along the polyline.
|
|
abstract boolean | setPlacementMinRatio (float ratio) |
| Method is used to specify the minimum ratio of the polyline length for point placement.
|
|
abstract boolean | setPlacementSpacing (float spacing) |
| Method is used to specify the spacing between points for spaced placement.
|
|
abstract boolean | setRepeatDistance (float distance) |
| Method is used to specify the distance interval for repeating points along the polyline.
|
|
abstract boolean | setRepeatGroup (int group) |
| Method is used to specify the group identifier for repeating points.
|
|
abstract boolean | setPriority (float priority) |
| Method is used to specify the priority of the icon.
|
|
abstract int | getId () |
| Gets the unique identifier of the map object.
|
|
abstract MapObjectType | getType () |
| Gets the type of the map object.
|
|
abstract byte[] | getData () |
| Gets the user-defined data associated with the map object.
|
|
abstract boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object.
|
|
abstract boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with.
|
|
abstract void | setData (byte[] data) |
| Method is used to set user-defined data for the map object.
|
|
abstract boolean | setTitle (String title) |
| Method is used to set the title of the map object.
|
|
abstract boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object.
|
|
Represents a polyline object with points placed along it on the location view.
Referenced from LocationWindow.
Definition at line 16 of file DottedPolylineMapObject.java.
◆ getData()
abstract byte[] com.navigine.idl.java.MapObject.getData |
( |
| ) |
|
|
abstractinherited |
Gets the user-defined data associated with the map object.
- Returns
- The data stored in the map object.
◆ getId()
abstract int com.navigine.idl.java.MapObject.getId |
( |
| ) |
|
|
abstractinherited |
Gets the unique identifier of the map object.
- Returns
- The unique identifier of the map object.
◆ getType()
abstract MapObjectType com.navigine.idl.java.MapObject.getType |
( |
| ) |
|
|
abstractinherited |
Gets the type of the map object.
- Returns
- The type of the map object map_object_type.
◆ setAlpha()
abstract boolean com.navigine.idl.java.MapObject.setAlpha |
( |
float | alpha | ) |
|
|
abstractinherited |
Method is used to set the opacity of the map object.
- Parameters
-
alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
- Returns
- true if the operation is successful, false otherwise.
◆ setCollisionEnabled()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setCollisionEnabled |
( |
boolean | enabled | ) |
|
|
abstract |
Method is used to enable or disable collision detection for the icon.
- Parameters
-
enabled | Specifies whether collision detection is enabled (true) or disabled (false). Default: false. |
- Returns
- true if the operation is successful, false otherwise.
◆ setColor()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setColor |
( |
float | red, |
|
|
float | green, |
|
|
float | blue, |
|
|
float | alpha ) |
|
abstract |
Method is used to specify the color of the object.
- Parameters
-
red | Red RGBA component. |
green | Green RGBA component. |
blue | Blue RGBA component. |
alpha | Opacity multiplier. Values below 0 will be set to 0. Default: 1. |
- Returns
- true if success, false otherwise.
◆ setData()
abstract void com.navigine.idl.java.MapObject.setData |
( |
byte[] | data | ) |
|
|
abstractinherited |
Method is used to set user-defined data for the map object.
- Parameters
-
data | Data to store in the map object. |
- Returns
- true if the operation is successful, false otherwise.
◆ setInteractive()
abstract boolean com.navigine.idl.java.MapObject.setInteractive |
( |
boolean | interactive | ) |
|
|
abstractinherited |
Method is used to specify whether the map object can be interacted with.
- Parameters
-
interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
- Returns
- true if the operation is successful, false otherwise.
◆ setPlacement()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setPlacement |
( |
Placement | placement | ) |
|
|
abstract |
Method is used to specify the placement mode for points along the polyline.
- Parameters
-
placement | The placement mode placement. Default: VERTEX. |
- Returns
- true if the operation is successful, false otherwise.
◆ setPlacementMinRatio()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setPlacementMinRatio |
( |
float | ratio | ) |
|
|
abstract |
Method is used to specify the minimum ratio of the polyline length for point placement.
- Parameters
-
ratio | The minimum ratio of the polyline length (typically between 0 and 1). Default: 1.0. |
- Returns
- true if the operation is successful, false otherwise.
◆ setPlacementSpacing()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setPlacementSpacing |
( |
float | spacing | ) |
|
|
abstract |
Method is used to specify the spacing between points for spaced placement.
- Parameters
-
spacing | The spacing distance in pixels. Default: 80. |
- Returns
- true if the operation is successful, false otherwise.
◆ setPolyLine()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setPolyLine |
( |
LocationPolyline | polyline | ) |
|
|
abstract |
Method is used to specify the source polyline for the points.
- Parameters
-
- Returns
- true if the operation is successful, false otherwise.
◆ setPriority()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setPriority |
( |
float | priority | ) |
|
|
abstract |
Method is used to specify the priority of the icon.
- Parameters
-
priority | The priority value for rendering or interaction. Default: max. |
- Returns
- true if the operation is successful, false otherwise.
◆ setRepeatDistance()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setRepeatDistance |
( |
float | distance | ) |
|
|
abstract |
Method is used to specify the distance interval for repeating points along the polyline.
- Parameters
-
distance | The repeat distance in pixels. Default: 0. |
- Returns
- true if the operation is successful, false otherwise.
◆ setRepeatGroup()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setRepeatGroup |
( |
int | group | ) |
|
|
abstract |
Method is used to specify the group identifier for repeating points.
- Parameters
-
group | The group identifier for point repetition. Default: 0. |
- Returns
- true if the operation is successful, false otherwise.
◆ setSize()
abstract boolean com.navigine.idl.java.DottedPolylineMapObject.setSize |
( |
float | width, |
|
|
float | height ) |
|
abstract |
Method is used to specify the size of the points.
- Parameters
-
width | Width of the points in pixels. |
height | Height of the points in pixels. |
- Returns
- true if the operation is successful, false otherwise.
◆ setTitle()
abstract boolean com.navigine.idl.java.MapObject.setTitle |
( |
String | title | ) |
|
|
abstractinherited |
Method is used to set the title of the map object.
- Parameters
-
title | The title to display on the location view. |
- Returns
- true if the operation is successful, false otherwise.
◆ setVisible()
abstract boolean com.navigine.idl.java.MapObject.setVisible |
( |
boolean | visible | ) |
|
|
abstractinherited |
Method is used to specify the visibility of the map object.
- Parameters
-
visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
- Returns
- true if the operation is successful, false otherwise.
The documentation for this class was generated from the following file: