|
Wt
4.10.4
|
An abstract marker. More...
#include <WLeafletMap.h>
Public Member Functions | |
| void | move (const Coordinate &pos) |
| Move the marker. | |
| Coordinate | position () const |
| Get the current position. | |
An abstract marker.
This marker can be placed on a WLeafletMap at certain coordinates.
| void Wt::WLeafletMap::Marker::move | ( | const Coordinate & | pos | ) |
Move the marker.
If this marker belongs to a map, this will trigger an update of the WLeafletMap to move the marker. If it doesn't belong to a map, the position is merely updated.
| Coordinate Wt::WLeafletMap::Marker::position | ( | ) | const |
Get the current position.