oceaneos / MapBox

Apache License 2.0
0 stars 0 forks source link

Mapbox time series via images #5

Closed roblabs closed 8 years ago

roblabs commented 8 years ago

Architecture — since every NASA geotiff is a Mapbox tileset, then moving slider adjusts tileset.

https://www.mapbox.com/mapbox-gl-js/example/vector-source/


var map = new mapboxgl.Map({
    container: 'map',
    style: 'mapbox://styles/roblabs/cis7vxsp60003gknrtghph7wx',
    zoom: 0,
    center: [0,0]
});

map.addSource('terrain-data', {
        type: 'vector',
        url: 'mapbox://roblabs.7zxu41yf'
});

Things to add to web page

roblabs commented 8 years ago

This GIF animation shows one of the issues with overlaying the Geotiffs on top of a satellite.

satellite-base-layer mov