Skip to content

Commit

Permalink
updated NDVI example
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Sep 8, 2020
1 parent eac5f3b commit 1a9633c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/ndvi.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,29 @@
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
#info {
background: rgba(20, 20, 20, 0.85);
color: lightblue;
left: 15%;
padding: 15px;
position: absolute;
top: 0;
right: 15%;
z-index: 2;
}
#info a {
color: lightblue;
}
</style>
</head>
<body>
<div id="info">
You are viewing a map created with <a href="http://leafletjs.com/">LeafletJS</a> and <a href="https://github.com/geotiff/georaster-layer-for-leaflet">GeoRasterLayer for Leaflet</a>.
<br/>
This demo is pulling from 2 64MB Landsat 8 GeoTIFFs, but takes less than 1 MB to load through the magic of <a href="https://www.cogeo.org/">Cloud Optimized GeoTIFFs</a>.
</div>
<div id="map"></div>
<script src="https://unpkg.com/chroma-js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
Expand Down

0 comments on commit 1a9633c

Please sign in to comment.