mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +00:00
Maps: Add search panel
This commit is contained in:
parent
2c2a1da306
commit
deb7ecfbe9
9 changed files with 331 additions and 22 deletions
|
@ -16,6 +16,8 @@
|
|||
#include <LibGfx/ImageFormats/ImageDecoder.h>
|
||||
#include <LibProtocol/Request.h>
|
||||
|
||||
namespace Maps {
|
||||
|
||||
// Math helpers
|
||||
// https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Pseudo-code
|
||||
static double longitude_to_tile_x(double longitude, int zoom)
|
||||
|
@ -531,3 +533,5 @@ void MapWidget::paint_event(GUI::PaintEvent& event)
|
|||
paint_scale(painter);
|
||||
paint_panels(painter);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue