Skip to content

About

A simple openlayers widget with sitn specific configuration

Resources

Stars

1 star

Watchers

5 watching

Forks

Latest commit

 

History

81 Commits

Folders and files

Repository files navigation

sitnLayers

An openlayers widget that allows drawing and retrieving geometries with sitn base layers.

Getting started

Clone this repository and open a shell at the root of your project.

Get assets by downloading them in the assets folder.

curl https://cdn.jsdelivr.net/npm/ol@v7.2.2/dist/ol.js -o assets\ol\ol.js
curl https://cdn.jsdelivr.net/npm/ol@v7.2.2/ol.css -o assets\ol\ol.css
curl https://raw.githubusercontent.com/proj4js/proj4js/2.8.1/dist/proj4.js -o assets\proj4\proj4.js
curl https://raw.githubusercontent.com/Viglino/ol-ext/master/dist/ol-ext.min.js -o assets\ol-ext\ol-ext.min.js
curl https://raw.githubusercontent.com/Viglino/ol-ext/master/dist/ol-ext.min.css -o assets\ol-ext\ol-ext.min.css

Dev environment

If you want live reload, install live-server on your favourite code editor.

Download mappings for debug:

curl https://cdn.jsdelivr.net/npm/ol@v7.2.2/dist/ol.js.map -o assets\ol\ol.js.map
curl https://cdn.jsdelivr.net/npm/ol@v7.2.2/ol.css.map -o assets\ol\ol.css.map

About

A simple openlayers widget with sitn specific configuration

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages