GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PascalLike/leaflet-ogc-layers: A plugin for using an OGC Maps and Tiles Layer with leafletjs

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
docs
docs
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.js
build.js
 
 
index.html
index.html
 
 
package.json
package.json
 
 

Repository files navigation

leaflet-ogc-layers

A plugin for using an OGC Maps or Tiles Layer with leafletjs

Installing

Download the /dist/OgcLayers.js

Note Compatible with Leaflet v1.7+

Usage

Step 1. Include the required js in your document

<script src="./OgcLayers.js"></script>

Step 2. Add your layer to map using the L.ogcMapsLayer or L.ogcTilesLayer functions

// Using the default style
L.ogcMapsLayer('https://test.cubewerx.com/cubewerx/cubeserv/demo/ogcapi/Winnipeg_2019/collections/dtm_1m').addTo(map)

// Using the hillshade style
L.ogcMapsLayer('https://test.cubewerx.com/cubewerx/cubeserv/demo/ogcapi/Winnipeg_2019/collections/dtm_1m', {
  style: 'hillshade',
  f: 'png'
}).addTo(map)

// Using the tiles
L.ogcTilesLayer('http://5.9.22.176:8080/ogcapi/collections/HRDEM-RedRiver:DTM:2m').addTo(map)

About

A plugin for using an OGC Maps and Tiles Layer with leafletjs

frontiersi.github.io/leaflet-ogc-layers/

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.