Wt
4.11.1
|
An abstract marker. More...
#include <WLeafletMap.h>
Public Member Functions | |
void | move (const Coordinate &pos) |
Move the marker. More... | |
Coordinate | position () const |
Get the current position. More... | |
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.