项目作者: zazuko

项目描述 :
Web Components for OpenLayers maps
高级语言: TypeScript
项目地址: git://github.com/zazuko/openlayers-elements.git
创建时间: 2019-02-12T14:50:09Z
项目社区:https://github.com/zazuko/openlayers-elements

开源协议:MIT License

下载


OpenLayers Web Components

While there are many great framework-specific OpenLayers wrappers, the goal of this
project is to wrap OpenLayers in W3C Web Components, which are a web standard
supported by all browsers currently and into the future.

This is a monorepo which contains:

Features

While extensive, human-friendly documentation is not yet available, be sure to check out the different features supported by the components live:

API Docs

Storybook also include generated API documentation.

Running Storybook locally

Simply execute

  1. npm install
  2. npm run start

And open http://localhost:6006

You may also start a watch process to update the generated custom elements manifest automatically:

  1. npm -w storybook run custom-elements-manifest:watch

Running tests

If the Chrome binary / driver is installed in your PATH, simply run:

  1. npm run test

To run with a container-based Chrome driver, instead run:

  1. docker compose -f contrib/docker/docker-compose.tests.yml \
  2. run --rm test