Draws an map, etting tiles fom one of many OpenStreetMapsServers.
More...
Draws an map, etting tiles fom one of many OpenStreetMapsServers.
◆ MapViewer()
◆ ~MapViewer()
MapViewer::~MapViewer |
( |
| ) |
|
|
override |
◆ setZoom()
void MapViewer::setZoom |
( |
int |
zoom | ) |
|
Zoom level between 0 and 18.
◆ centerOn()
void MapViewer::centerOn |
( |
double |
longCenter, |
|
|
double |
latCenter |
|
) |
| |
◆ centerUnderPt()
void MapViewer::centerUnderPt |
( |
juce::Point< double > |
world, |
|
|
juce::Point< int > |
view |
|
) |
| |
Set world coordinate (longlat) under view coordinate (x/y)
◆ getOpenStreetMaps()
◆ resized()
void MapViewer::resized |
( |
| ) |
|
|
overrideprotected |
◆ paint()
void MapViewer::paint |
( |
juce::Graphics & |
g | ) |
|
|
overrideprotected |
◆ mouseDown()
void MapViewer::mouseDown |
( |
const juce::MouseEvent & |
e | ) |
|
|
overrideprotected |
◆ mouseDrag()
void MapViewer::mouseDrag |
( |
const juce::MouseEvent & |
e | ) |
|
|
overrideprotected |
◆ mouseWheelMove()
void MapViewer::mouseWheelMove |
( |
const juce::MouseEvent & |
e, |
|
|
const juce::MouseWheelDetails & |
wheel |
|
) |
| |
|
overrideprotected |
◆ tileFetched()
void MapViewer::tileFetched |
( |
int |
zoom, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
overrideprotectedvirtual |
◆ updateMap()
void MapViewer::updateMap |
( |
| ) |
|
|
protected |
◆ mapUpdated()
void MapViewer::mapUpdated |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: