Wt  4.10.4
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:

Public Member Functions

void move (const Coordinate &pos)
 Move the marker. More...
Coordinate position () const
 Get the current position. More...

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