- Notifications
You must be signed in to change notification settings - Fork20
User interface and map building extensions for OpenLayers
License
hslayers/hslayers-ng
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a monorepo for developing HSLayers-NGAngular library.
Hslayers version | Angular version | Bootstrap | OpenLayers |
---|---|---|---|
1 | 1.7 | 4.5.3 | |
2 | 1.7 + 9.1.x (hybrid) | >=4.4 | |
3 | 9.x | 4.x | |
4 | 10.x | 4.x | |
5 | 11.x | 4.x | |
6 | 12.x | 4.x | |
7 | 12.x | 5.x | |
8 | 13.x | 5.x | |
9 | 13.x | 5.x | ^6.14.1 |
10 | 14.x | 5.x | ^6.14.1, ^7.0.0 |
11 | 15.x | 5.x | 7.x |
12 | 16.x | 5.3 | 7.x |
13 | 17.x | 5.3 | ^8.2 |
14 | 18.x | 5.3 | ^9.2.2 |
15 | 19.x | 5.3 | ^10.4 |
It contains source code of libraries which need to be used in an existing Angular based container project:
- hslayers - core components and services for map application based on OpenLayers + Angular +Bootstrap,
- hslayers-cesium - Angular components for running HSLayers-NG UI withCesium 3D map renderer,
- hslayers-sensors - Angular components for visualizing data fromSenslog server usingVega charts.
Source code for ready to use application bundles which can be included in html files through<script>
tags:
- hslayers-app - ready-to-use application built on HSLayers-NG,
- hslayers-cesium-app - ready-to-use application built on HSLayers-NG and Cesium.
Configuration for these applications can be provided through globalhslayersNgConfig
function which exposes an object containing a subset of most commonOpenLayers classes through anol
parameter. In return the function must provide a JSON object conforming toHsConfig type.See example and config parameter descriptions.
- hslayers-server - a simplecors-anywhere based proxy server which can be used to overcomeCORS restrictions, fill API keys for services such asGeonames used for search and other tasks. Copying and modifying the .env file to preserve secrets and not expose them for everyone and all kinds of requests will be necessary.
HSLayers-NG can be integrated into larger systems.Seecrx-hslayers for an actively maintained widget for Wagtail/CodeRed CMS. Checkhub4everybody.com to see, what you can achieve with this integration.
Runng serve
for a dev server which displays a simple hslayers based map portal with almost no map layers. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files. It's based on hslayers-app project contained in this repository.
Runng build
to build the HSLayers-NG library. The build artifacts will be stored in thedist/
directory. Use the--prod
flag for a production build.
Runng test
to execute the unit tests viaKarma.
Runng e2e
to execute the end-to-end tests viaCypress.
About
User interface and map building extensions for OpenLayers