represents icon object on location view.
More...
|
bool | setAngle (double angle) |
| Method is used to specify rotation of object.
|
|
bool | setAngleAnimated (double angle, double duration, AnimationType type) |
| Method is used to rotate object with specified animation.
|
|
bool | setPosition (LocationPoint point) |
| Method is used to specify center of object.
|
|
bool | setPositionAnimated (LocationPoint point, double duration, AnimationType type) |
| Method is used to move center of object with specified animation LocationPoint.
|
|
bool | setBitmap (ImageWrapper bitmap) |
| Method is used to specify bitmap image to the object.
|
|
bool | setSize (double width, double height) |
| Method is used to specify size of object.
|
|
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.
|
|
represents icon object on location view.
Referenced from LocationWindow.
- Note
- FlatIconMapObject keep orientation to location view surface.
Definition at line 28 of file flat_icon_map_object.dart.
◆ getData()
Uint8List MapObject.getData |
( |
| ) |
|
|
inherited |
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()
◆ setAngle()
bool FlatIconMapObject.setAngle |
( |
double | angle | ) |
|
Method is used to specify rotation of object.
- Parameters
-
angle | angle of rotation in degrees. |
- Returns
- true if success, false otherwise.
◆ setAngleAnimated()
bool FlatIconMapObject.setAngleAnimated |
( |
double | angle, |
|
|
double | duration, |
|
|
AnimationType | type ) |
Method is used to rotate object with specified animation.
- Parameters
-
angle | angle of rotation in degrees. |
duration | animation duration in seconds. |
type | animation type AnimationType. |
- Returns
- true if success, false otherwise.
◆ setBitmap()
bool IconMapObject.setBitmap |
( |
ImageWrapper | bitmap | ) |
|
|
inherited |
Method is used to specify bitmap image to the object.
- Parameters
-
bitmap | platfrom bitmap object. |
- Returns
- true if success, false otherwise.
◆ setData()
void MapObject.setData |
( |
Uint8List | data | ) |
|
|
inherited |
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 | ) |
|
|
inherited |
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.
◆ setPosition()
Method is used to specify center of object.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setPositionAnimated()
Method is used to move center of object with specified animation LocationPoint.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setSize()
bool IconMapObject.setSize |
( |
double | width, |
|
|
double | height ) |
|
inherited |
Method is used to specify size of object.
- Parameters
-
width | width of object in pixels. |
height | width of object in pixels. |
- Returns
- true if success, false otherwise.
◆ setStyle()
bool MapObject.setStyle |
( |
String | style | ) |
|
|
inherited |
Method is used to apply custom styling to map object.
- Parameters
-
- Returns
- true if success, false otherwise.
◆ setTitle()
bool MapObject.setTitle |
( |
String | title | ) |
|
|
inherited |
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 | ) |
|
|
inherited |
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: