-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eac5f3b
commit 1a9633c
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|