Wt: Wt::WLeafletMap::Marker Class Reference

Wt 4.10.4

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::WLeafletMap::Marker Class Referenceabstract

An abstract marker. More...

`#include <WLeafletMap.h>`

Inheritance diagram for Wt::WLeafletMap::Marker:
[legend]

## Public Member Functions
void | move (const Coordinate &pos)
| Move the marker.
Coordinate | position () const
| Get the current position.

## Detailed Description

An abstract marker.

This marker can be placed on a WLeafletMap at certain coordinates.

## Member Function Documentation

## ◆ move()

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.

## ◆ position()

Coordinate Wt::WLeafletMap::Marker::position | ( |  | ) | const

Get the current position.

See also
  move