Fork me on GitHub

OGC API - Tiles Demo

This map shows a bunch of OGC API - Tiles layers (e.g.: map tiles, vector tiles). They are easily integrated, using the OpenLayers library, which supports the standard out-of-the-box using the OGCMapTile and OGCVectorTile classes (see code sample bellow).


          layers: [
          new TileLayer({
              source: new OGCMapTile({
                url: 'https://maps.gnosis.earth/ogcapi/collections/blueMarble/map/tiles/WebMercatorQuad',
              }),
            }),
            new VectorTileLayer({
              source: new OGCVectorTile({
                url: 'https://maps.gnosis.earth/ogcapi/collections/NaturalEarth:cultural:' + 
                'ne_10m_admin_0_countries/tiles/WebMercatorQuad',
                format: new MVT(),
              })
            })
      ]