Class is used to handle object on LocationWindow created and managing by user Could be handled in pickMapObjectAt
method LocationWindow.
More...
|
int | getId () |
| Unique identifier of map object.
|
|
MapObjectType | getType () |
| Map object type MapObjectType. Map object could be casted to the specified type.
|
|
Uint8List | getData () |
| Any kind of user's data.
|
|
bool | setVisible (bool visible) |
| Method is used to change visibility of map object.
|
|
bool | setInteractive (bool interactive) |
| Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.
|
|
bool | setStyle (String style) |
| Method is used to apply custom styling to map object.
|
|
void | setData (Uint8List data) |
| Method is used to set any kind of user's data.
|
|
bool | 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 23 of file map_object.dart.
◆ getData()
Uint8List MapObject.getData |
( |
| ) |
|
Any kind of user's data.
- Returns
- Data stored in map object MapObjectType.
◆ getId()
Unique identifier of map object.
- Returns
- Unique identifier of current map objcet MapObjectType
◆ getType()
◆ setData()
void MapObject.setData |
( |
Uint8List | data | ) |
|
Method is used to set any kind of user's data.
- Parameters
-
data | Data to store in map object |
◆ setInteractive()
bool MapObject.setInteractive |
( |
bool | interactive | ) |
|
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()
bool MapObject.setStyle |
( |
String | style | ) |
|
Method is used to apply custom styling to map object.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setTitle()
bool MapObject.setTitle |
( |
String | title | ) |
|
Method is used to set object title. Title will shown on location view.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setVisible()
bool MapObject.setVisible |
( |
bool | visible | ) |
|
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: