mirror of
https://github.com/Maks1mS/free-ozon-dpr.git
synced 2025-01-11 09:48:10 +03:00
add wikimapia copyright
This commit is contained in:
parent
b96a456f1c
commit
7631c58c05
@ -12,8 +12,10 @@ const MAP_ZOOM = 8.5;
|
||||
|
||||
const customTileSource = new TileLayer({
|
||||
source: new XYZ({
|
||||
// url: 'https://tile-server.ozon.ru/tile/default/{z}/{x}/{y}.png'
|
||||
|
||||
attributionsCollapsible: false,
|
||||
attributions: [
|
||||
'© <a href="https://wikimapia.org/">Wikimapia</a>'
|
||||
],
|
||||
tileUrlFunction: ([z, x, y]) => {
|
||||
const s = x % 4 + (y % 4) * 4
|
||||
return `https://i${s}.wikimapia.org/?x=${x}&y=${y}&zoom=${z}&type=map&lng=1`
|
||||
|
@ -71,3 +71,8 @@ body {
|
||||
#popup-operation-time {
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.ol-attribution a:hover {
|
||||
color: var(--ol-brand-color);
|
||||
text-decoration: underline;
|
||||
}
|
Loading…
Reference in New Issue
Block a user