changed the js and css a bit
This commit is contained in:
parent
a438995e95
commit
3eb3615e8e
2 changed files with 4 additions and 4 deletions
6
map.css
6
map.css
|
@ -19,7 +19,7 @@ html, body {
|
||||||
z-index: 2 !important;
|
z-index: 2 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-google-layer {
|
.leaflet-tile-container {
|
||||||
z-index: 1 !important;
|
z-index: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,11 +34,11 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-control-attribution {
|
.leaflet-control-attribution {
|
||||||
bottom: -5px;
|
/*bottom: -5px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
div.leaflet-top.leaflet-right {
|
div.leaflet-top.leaflet-right {
|
||||||
z-index:1;
|
z-index:3;
|
||||||
}
|
}
|
||||||
|
|
||||||
a img {
|
a img {
|
||||||
|
|
2
map.js
2
map.js
|
@ -26,7 +26,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
var map = L.map('map').setView([51.0475378, 3.7261835], 13);
|
var map = L.map('map').setView([51.0475378, 3.7261835], 13);
|
||||||
L.tileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpeg', {
|
L.tileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpeg', {
|
||||||
attribution: 'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a> — Map data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
attribution: 'Made with ❤ by <a href="http://zeus.ugent.be">Zeus WPI</a> | Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a> | Map data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
||||||
subdomains: '1234'
|
subdomains: '1234'
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue