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 - geoblocks/ol-comfy: Comfortable OpenLayers helpers for standard usages.

BranchesTags
Open more actions menu

Latest commit

 

History

244 Commits
244 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
examples
examples
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
CHANGES.md
CHANGES.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
typedoc.json
typedoc.json
 
 
vite.config.ts
vite.config.ts
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

ol-comfy

CI

Comfortable and convenient Openlayers helpers for standard usages.

This library provides interfaces to ease common usage of Openlayers in a web application using web-components. It:

  • Adds identifier to layers, interactions and controls to be able to get and manage them in every component.
  • Adds some observables for features. They are accessible in the group, and you don't need to follow the feature or the layer itself to be noticed by a change.
  • Simplifies the interactions: enable one tool at once, manage interactions by group (create, store, destroy, toggle).
  • Add some utils, shortcuts and helpers function.

Ol-Comfy is built in a non-binding manner: take only what you need, extend what you need. Every class is responsible for what they manage and store/retrieve information in/from the map. This way you can destroy an instance, create another one and find again the same state. Take a look at the wiki to see an example of architecture using ol-comfy.

Online doc and demos

  • Documentation;
  • Examples;
  • Wiki;
  • Source code;
  • Changelog;

Local development

You can play with the examples by cloning this repo and running:

npm install
npm run dev

Publish a new version to npm

The source is transpiled to standard ES modules and published on npm.

# Update the `CHANGES.md` file
# Update the `vite.config.ts` file if you have new example files.
npm run build
npm version patch/minor/major
npm publish
git push --tags origin main
npm run gh-pages

About

Comfortable OpenLayers helpers for standard usages.

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — 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.