-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (43 loc) · 2.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<title>Live US Fire Map, VIIRS (375m resolution) & MODIS (1km)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css" />
<script src="https://mapzen.com/js/mapzen.min.js"></script>
<style>
html, body { margin: 0; padding: 0; }
#map { height: 100%; width: 100%; position: absolute; }
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = L.Mapzen.map('map', {
center: [38.4294, -122.5822],
zoom: 10,
tangramOptions: {
scene: 'https://mapzen.com/api/scenes/22/1141/resources/blank.yaml', //was /1119
attribution: '© <a href="https://www.mapzen.com/rights">Mapzen</a>, <a href="https://openstreetmap.org/copyright">OpenStreetMap</a>, <a href="https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms/active-fire-data">NASA/NOAA</a>, <a href="https://rmgsc.cr.usgs.gov/outgoing/GeoMAC/current_year_fire_data/current_year_all_states/">USGS,</a>, <a href="https://github.com/scuerda/modis-viirs-conversion">geolambda</a> <a href="https://www.mapzen.com/rights/#services-and-data-sources">others</a>'
}
});
L.Mapzen.hash({
map: map
})
L.control.scale().addTo(map);
var geocoder = L.Mapzen.geocoder('mapzen-ojDtb4R', geocoderOptions);
var geocoderOptions = {
position: 'bottomleft'
};
geocoder.addTo(map);
L.Mapzen.bug({
name: 'Sonoma & Napa VIIRS fire map',
link: 'https://github.com/burritojustice/sonoma-napa-fire-map-viirs',
tweet: 'US fire map of VIIRS/MODIS data, made with @mapzen',
repo: 'https://github.com/burritojustice/sonoma-napa-fire-map-viirs',
description: 'Zoomable map of VIIRS/MODIS data, ~12 hours per color, brighter colors newer data. Smaller circles = VIIRS 375m meter resolution data via NASA/NOAA I-Band Active Fire Data on Suomi polar orbiting satellite. Bigger circles = 1km MODIS data via Terra and Aqua satellites. Live shapefile -> GeoJSON conversion via geolambda! Thanks devseed! Click Github repo for more info.'
});
</script>
</body>
</html>