Class is used to handle object on LocationWindow created and managing by user Could be handled in pickMapObjectAt
method LocationWindow.
More...
|
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.
|
|
Class is used to handle object on LocationWindow created and managing by user Could be handled in pickMapObjectAt
method LocationWindow.
Referenced from CircleMapObject, IconMapObject, FlatIconMapObject.
Definition at line 19 of file MapObject.java.
◆ getData()
abstract byte[] com.navigine.idl.java.MapObject.getData |
( |
| ) |
|
|
abstract |
Any kind of user's data.
- Returns
- Data stored in map object MapObjectType.
◆ getId()
abstract int com.navigine.idl.java.MapObject.getId |
( |
| ) |
|
|
abstract |
Unique identifier of map object.
- Returns
- Unique identifier of current map objcet MapObjectType
◆ getType()
abstract MapObjectType com.navigine.idl.java.MapObject.getType |
( |
| ) |
|
|
abstract |
◆ setData()
abstract void com.navigine.idl.java.MapObject.setData |
( |
byte[] | data | ) |
|
|
abstract |
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 | ) |
|
|
abstract |
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.
◆ setStyle()
abstract boolean com.navigine.idl.java.MapObject.setStyle |
( |
String | style | ) |
|
|
abstract |
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 | ) |
|
|
abstract |
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 | ) |
|
|
abstract |
Method is used to change visibility of map object.
- Parameters
-
visible | control visibility of the object. |
- Returns
- true if success, false otherwise.
The documentation for this class was generated from the following file: