mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Tweaks to visitor globe
This commit is contained in:
parent
830bc28aed
commit
1a67da05e9
2 changed files with 3 additions and 3 deletions
|
@ -1905,5 +1905,5 @@ table#latest-visitors {
|
|||
}
|
||||
#earth_div {
|
||||
width: 100%;
|
||||
height: 500px
|
||||
height: 400px;
|
||||
}
|
|
@ -25,7 +25,7 @@
|
|||
<div class="col col-66">
|
||||
<div class="row">
|
||||
|
||||
<div class="col col-50" style="padding-right: 0;">
|
||||
<div class="col col-50" style="padding-right: 0; padding-top: 4px;">
|
||||
<h2>Latest Visitors</h2>
|
||||
<div id="earth_div"></div>
|
||||
</div>
|
||||
|
@ -292,7 +292,7 @@
|
|||
//OpenGL globe
|
||||
$(document).ready(function() {
|
||||
var earth = new WE.map('earth_div');
|
||||
earth.setView([20, -100], 2.65);
|
||||
earth.setView([20, -100], 2.07);
|
||||
WE.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
|
||||
attribution: '© OpenStreetMap'
|
||||
}).addTo(earth);
|
||||
|
|
Loading…
Add table
Reference in a new issue