Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.35 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.35 KB

Sentinel hub OpenLayers WMTS example

Usage

To use this example, you need to follow these steps:

  1. open this directory in terminal
  2. run npm install
  3. open main.js and:
    • change the value of MY_INSTANCE_ID with your own Sentinel hub instance id
    • change the value of MY_LAYER_ID with the id of one of the layers in that Sentinel hub instance
  4. run npm run start in the terminal
  5. open http://localhost:1234/ in the browser

If everything went ok, it should look like this:

Example

Modifications

Extended WMTS class, so that the time and evalscript parameters are set to the url for each tile.

Resources

Sorted by relevance. Some may be missing.

OpenLayers

Sentinel hub