This is monorepo which contains:
- core OpenLayers elements (incl. map itself) (
@openlayers-elements/core
) - common OpenLayers elements (layers, markers, etc) (
@openlayers-elements/openlayers-elements
) - Swiss layers from geoadmin.ch (
@openlayers-elements/swisstopo-elements
) - Package with bundles for quick and easy usage (
@openlayers-elements/bundle
)
While extensive, human-friendly documentation is not yet available, be sure to check out the different features supported by the components live:
- Core map features
- OpenStreetMaps
- Adding features to the map (aka. vector layers)
- XYZ Tile layers
- Map markers
- Map interactions
- Adding custom map controls
- Adding overlays (popups, etc)
- Swiss layers
All the live demos also include generated API documentation.
Simply execute
yarn build
yarn start
And open the webpack-dev-server page (typically http://localhost:8080)
Carefully tested on Browserstack