Wt  4.2.0
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:
Inheritance graph
[legend]

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
move

Generated on Wed Dec 4 2019 for the C++ Web Toolkit (Wt) by doxygen 1.8.13