mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
Maps: Add MapsSettings with multiple tile providers options
This commit is contained in:
parent
264782557e
commit
aed25991e6
14 changed files with 379 additions and 15 deletions
17
Userland/Applications/MapsSettings/Defaults.h
Normal file
17
Userland/Applications/MapsSettings/Defaults.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Bastiaan van der Plaat <bastiaan.v.d.plaat@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/StringView.h>
|
||||
|
||||
namespace Maps {
|
||||
|
||||
static constexpr StringView default_tile_provider_url_format = "https://tile.openstreetmap.org/{}/{}/{}.png"sv;
|
||||
static constexpr StringView default_tile_provider_attribution_text = "© OpenStreetMap contributors"sv;
|
||||
static constexpr StringView default_tile_provider_attribution_url = "https://www.openstreetmap.org/copyright"sv;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue