Class definition of the rendererMap.
More...
#include <renderer_map.h>
Class definition of the rendererMap.
◆ rendererMap()
gva::rendererMap::rendererMap |
( |
std::string_view |
map, |
|
|
std::string_view |
style, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Construct a new renderer Map object.
- Parameters
-
map | the map file |
style | the style file |
width | the width of the map |
height | the height of the map |
◆ operator=() [1/2]
Copy constructor, deleted.
- Parameters
-
- Returns
- rendererMap&
◆ operator=() [2/2]
Move constructor, deleted.
- Parameters
-
- Returns
- rendererMap const&
◆ Project()
GvaStatusTypes gva::rendererMap::Project |
( |
double |
zoom, |
|
|
double |
lon, |
|
|
double |
lat, |
|
|
cairo_surface_t ** |
surface |
|
) |
| |
Project the map.
- Parameters
-
zoom | the zoom level |
lon | the longitude |
lat | the latitude |
surface | the surface to project onto |
- Returns
- GvaStatusTypes
◆ SetHeight()
void gva::rendererMap::SetHeight |
( |
int |
height | ) |
|
|
inline |
Set the Height attribute.
- Parameters
-
height | the height of the map |
◆ SetWidth()
void gva::rendererMap::SetWidth |
( |
int |
width | ) |
|
|
inline |
Set the Width attribute.
- Parameters
-
width | the width of the map |
The documentation for this class was generated from the following files: