Skip to content

Instantly share code, notes, and snippets.

@uprel
uprel / .gitignore
Created March 28, 2018 17:35 — forked from tschaub/.gitignore
OpenLayers + Webpack
/node_modules/
bundle.js
@uprel
uprel / WMTS.md
Created July 10, 2018 04:01 — forked from atlefren/WMTS.md

How to calculate MaxResolution for WMTS given info in GetCapabilities

For using an arbitrary WMTS-server in OpenLayers you need two values:

  • The MaxResolution
  • A bounds object

Given a WMTS response with a TileMatrixSet defined as: