kopia lustrzana https://github.com/geodienst/lighthousemap
Add Geodienst attribution & Github Fork Me banner
rodzic
be2f36b57f
commit
76f642cd0f
|
@ -50,6 +50,7 @@
|
||||||
Show real colors
|
Show real colors
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<a href="https://github.com/geodienst/lighthousemap"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 1000" src="https://camo.githubusercontent.com/52760788cde945287fbb584134c4cbc2bc36f904/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"></a>
|
||||||
<script id="seamap-query" type="text/x-overpass">
|
<script id="seamap-query" type="text/x-overpass">
|
||||||
[out:json][timeout:25];
|
[out:json][timeout:25];
|
||||||
// gather results
|
// gather results
|
||||||
|
@ -88,7 +89,12 @@
|
||||||
<script src="leaflet.rangedmarker.js"></script>
|
<script src="leaflet.rangedmarker.js"></script>
|
||||||
<script src="leaflet.light.js"></script>
|
<script src="leaflet.light.js"></script>
|
||||||
<script>
|
<script>
|
||||||
let map = L.map('seamap').setView([54.2, 2.6], 6);
|
let map = L.map('seamap', {attributionControl: false})
|
||||||
|
.setView([54.2, 2.6], 6)
|
||||||
|
.addControl(L.control.attribution({
|
||||||
|
position: 'bottomright',
|
||||||
|
prefix: 'Made by <a href="http://www.geodienst.xyz/">Geodienst</a>'
|
||||||
|
}));
|
||||||
|
|
||||||
L.tileLayer('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', {
|
L.tileLayer('http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', {
|
||||||
detectRetina: true,
|
detectRetina: true,
|
||||||
|
|
Ładowanie…
Reference in New Issue