Skip to content

Commit

Permalink
Updated style, links
Browse files Browse the repository at this point in the history
  • Loading branch information
rsudekum committed Oct 10, 2013
1 parent a821cc9 commit fb35ffd
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 28 deletions.
17 changes: 8 additions & 9 deletions glacier/css/style.css
Expand Up @@ -36,17 +36,16 @@ canvas{
}

.modal {
position: absolute;
top:15%;
left:35%;
width: 30%;
display: none;
background: white;
border-radius:4px;
border:1px solid #ddd;
color:black;
position: relative;
max-width: 355px;
background: #FFF;
border-radius: 4px;
border: 1px solid #DDD;
color: #000;
padding: 10px 20px;
line-height: 24px;
margin: 15% auto;
display: none;
}

.modal a {
Expand Down
2 changes: 1 addition & 1 deletion glacier/elevation/index.html
Expand Up @@ -42,7 +42,7 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion glacier/imagery/index.html
Expand Up @@ -72,7 +72,7 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion glacier/index.html
Expand Up @@ -34,7 +34,7 @@

<div class='attribution'>About this Map</div>

<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/drone-mapping'>MapBox.com</a></div>
<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MapBox.com</a></div>

</body>

Expand Down
11 changes: 7 additions & 4 deletions matterhorn/css/style.css
Expand Up @@ -11,20 +11,23 @@ html {
}

canvas{
position: absolute;
position: absolute;
top: 0;
left: 0;
padding: 0;
margin: 0;
}

#no-canvas {
width: 100%;
height: 100%;
}

#info {
#info,h1 {
color: #FFF;
font-family: Monaco, monospace;
font-size: 12px;
font-weight: bold;
position: absolute;
position: relative;
text-transform: uppercase;
}

Expand Down
21 changes: 17 additions & 4 deletions matterhorn/elevation/index.html
Expand Up @@ -42,20 +42,33 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='https://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='https://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

<div class='attribution'>About this map</div>

<script type='text/javascript'>

var map = L.mapbox.map('map', 'bobbysud.map-l4i2m7nd,bobbysud.matterhorn-elevation',{
scrollWheelZoom:false,
attributionControl:false
var elevation = L.mapbox.tileLayer('bobbysud.map-l4i2m7nd,bobbysud.matterhorn-elev');
var base = L.mapbox.tileLayer('bobbysud.map-l4i2m7nd');

var map = L.mapbox.map('map', null, {
attributionControl:false,
scrollWheelZoom:false,
layers:[elevation],
maxZoom:18
})
.setView([45.9823,7.6652],13)

var gridLayer = L.mapbox.gridLayer('bobbysud.matterhorn-elev');
map.addLayer(gridLayer);
map.addControl(L.mapbox.gridControl(gridLayer));

L.control.layers({
'Elevation': elevation,
'Base Map': base
}).addTo(map);

$('.attribution').click(function(e){
e.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion matterhorn/imagery/index.html
Expand Up @@ -72,7 +72,7 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

Expand Down
7 changes: 4 additions & 3 deletions matterhorn/index.html
Expand Up @@ -25,18 +25,19 @@

<canvas id='canvas'></canvas>

<h1>The Matterhorn</h1>
<div id='info'>
<div>
<p>
<span id='matterhornStatus'></span><span class='blink'></span>
</div>
</p>
<span>Points: </span><span id='matterhornNumPoints'>0</span>
<div id='progressbar1'></div>
<div id='fps'></div>
</div>

<div class='attribution'>About this Map</div>

<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/drone-mapping'>MapBox.com</a></div>
<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MapBox.com</a></div>

</body>

Expand Down
2 changes: 1 addition & 1 deletion matterhorn/js/site.js
Expand Up @@ -28,7 +28,7 @@ function updateStatus(cloud, str){
var info = document.getElementById('info')
status.innerHTML = '';
switch(cloud.getStatus()){
case 1: status.innerHTML = 'Started';break;
case 1: status.innerHTML = 'Starting';break;
case 2: status.innerHTML = 'Loading Point Cloud';break;
case 3: info.style.display = 'none';break;
default:break;
Expand Down
2 changes: 1 addition & 1 deletion town/elevation/index.html
Expand Up @@ -42,7 +42,7 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion town/imagery/index.html
Expand Up @@ -71,7 +71,7 @@
<li>Street data: <a href='http://openstreetmap.orf'>OpenStreetMap Contributors</a></li>
<li>Global satellite layer: <a href='http://www.digitalglobe.com/'>Digital Globe</a></li>
<li>Map design: <a href='http://mapbox.com'>MapBox</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/drone-mapping'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
<li>Read more on: <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MappBox Partners With Drone Adventures to Bring UAV Imagery to the Web</a></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion town/index.html
Expand Up @@ -34,7 +34,7 @@

<div class='attribution'>About this map</div>

<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/drone-mapping'>MapBox.com</a></div>
<div class='modal'>This is a project by <a href='http://mapbox.com'>MapBox</a> in conjuction with <a href='http://www.droneadventures.org/'>Drone Adventures</a>. This data was collected via a <a href='http://www.sensefly.com/'>Sensefly Drone</a>. More information about this project can read on <a href='http://mapbox.com/blog/droneadventures-matterhorn-imagery-on-the-web'>MapBox.com</a></div>

</body>

Expand Down

0 comments on commit fb35ffd

Please sign in to comment.