Tweaks to visitor globe

This commit is contained in:
Victoria Wang 2015-05-05 15:28:03 -07:00
parent 830bc28aed
commit 1a67da05e9
2 changed files with 3 additions and 3 deletions

View file

@ -1905,5 +1905,5 @@ table#latest-visitors {
}
#earth_div {
width: 100%;
height: 500px
height: 400px;
}

View file

@ -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);