Wt  4.11.1
Public Member Functions | List of all members
Wt::WLeafletMap::Coordinate Class Reference

A geographical coordinate (latitude/longitude) More...

#include <WLeafletMap.h>

Public Member Functions

 Coordinate ()
 Default constructor. More...
 
 Coordinate (double latitude, double longitude)
 Create a coordinate (latitude, longitude)
 
void setLatitude (double latitude)
 Set the latitude.
 
double latitude () const
 Get the latitude.
 
void setLongitude (double longitude)
 Set the longitude.
 
double longitude () const
 Get the longitude.
 
bool operator== (const Coordinate &other) const
 Equality comparison operator.
 
bool operator!= (const Coordinate &other) const
 Inequality comparison operator.
 

Detailed Description

A geographical coordinate (latitude/longitude)

Constructor & Destructor Documentation

◆ Coordinate()

Wt::WLeafletMap::Coordinate::Coordinate ( )

Default constructor.

Constructs a coordinate with latitude and longitude set to 0.