represents polyline object on location view.
More...
|
abstract boolean | setPolyLine (LocationPolyline polyline) |
| Method is used to specify source polyline of object.
|
|
abstract boolean | setWidth (float width) |
| Method is used to specify width of a line.
|
|
abstract boolean | setColor (float red, float green, float blue, float alpha) |
| Method is used to specify color of object.
|
|
abstract int | getId () |
| Unique identifier of map object.
|
|
abstract MapObjectType | getType () |
| Map object type MapObjectType. Map object could be casted to the specified type.
|
|
abstract byte[] | getData () |
| Any kind of user's data.
|
|
abstract boolean | setVisible (boolean visible) |
| Method is used to change visibility of map object.
|
|
abstract boolean | setInteractive (boolean interactive) |
| Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.
|
|
abstract boolean | setStyle (String style) |
| Method is used to apply custom styling to map object.
|
|
abstract void | setData (byte[] data) |
| Method is used to set any kind of user's data.
|
|
abstract boolean | setTitle (String title) |
| Method is used to set object title. Title will shown on location view.
|
|
represents polyline object on location view.
Referenced from LocationWindow.
Definition at line 18 of file PolylineMapObject.java.
◆ getData()
abstract byte[] com.navigine.idl.java.MapObject.getData |
( |
| ) |
|
|
abstractinherited |
Any kind of user's data.
- Returns
- Data stored in map object MapObjectType.
◆ getId()
abstract int com.navigine.idl.java.MapObject.getId |
( |
| ) |
|
|
abstractinherited |
Unique identifier of map object.
- Returns
- Unique identifier of current map objcet MapObjectType
◆ getType()
abstract MapObjectType com.navigine.idl.java.MapObject.getType |
( |
| ) |
|
|
abstractinherited |
◆ setColor()
abstract boolean com.navigine.idl.java.PolylineMapObject.setColor |
( |
float | red, |
|
|
float | green, |
|
|
float | blue, |
|
|
float | alpha ) |
|
abstract |
Method is used to specify color of object.
- Parameters
-
red | red RGBA component. |
green | green RGBA component. |
blue | blue RGBA component. |
alpha | Opacity multiplicator. 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 any kind of user's data.
- Parameters
-
data | Data to store in map object |
◆ setInteractive()
abstract boolean com.navigine.idl.java.MapObject.setInteractive |
( |
boolean | interactive | ) |
|
|
abstractinherited |
Method is used to interactive property If True - map object could be handled in pickMapObjectAt
method.
- Parameters
-
interactive | control interactivity of the object. |
- Returns
- true if success, false otherwise.
◆ setPolyLine()
abstract boolean com.navigine.idl.java.PolylineMapObject.setPolyLine |
( |
LocationPolyline | polyline | ) |
|
|
abstract |
Method is used to specify source polyline of object.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setStyle()
abstract boolean com.navigine.idl.java.MapObject.setStyle |
( |
String | style | ) |
|
|
abstractinherited |
Method is used to apply custom styling to map object.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setTitle()
abstract boolean com.navigine.idl.java.MapObject.setTitle |
( |
String | title | ) |
|
|
abstractinherited |
Method is used to set object title. Title will shown on location view.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setVisible()
abstract boolean com.navigine.idl.java.MapObject.setVisible |
( |
boolean | visible | ) |
|
|
abstractinherited |
Method is used to change visibility of map object.
- Parameters
-
visible | control visibility of the object. |
- Returns
- true if success, false otherwise.
◆ setWidth()
abstract boolean com.navigine.idl.java.PolylineMapObject.setWidth |
( |
float | width | ) |
|
|
abstract |
Method is used to specify width of a line.
- Parameters
-
width | width of a line in pixels. |
- Returns
- true if success, false otherwise.
The documentation for this class was generated from the following file: