hslayers-cesium-app
npm i hslayers-cesium-app

hslayers-cesium-app

User interface and map building extensions for OpenLayers6

by hslayers

9.1.0 (see all)License:MITTypeScript:Not Found
npm i hslayers-cesium-app
Readme

HSLayers-NG monorepo

This is a monorepo for developing HSLayers-NG Angular library.

Hslayers versionAngular versionBootstrapOpenLayers
11.74.5.3
21.7 + 9.1.x (hybrid)>=4.4
39.x4.x
410.x4.x
511.x4.x
612.x4.x
712.x5.x
813.x5.x
913.x5.x6.14.1

It contains source code of libraries which need to be used in an existing Angular based container project:

Source code for ready to use application bundles which can be included in html files through <script> tags:

Configuration for these applications can be provided through global hslayersNgConfig function which exposes an object containing a subset of most common OpenLayers classes through ol parameter. In return the function must provide a JSON object conforming to HsConfig type. See example and config parameter descriptions.

Server components:

  • hslayers-server - a simple cors-anywhere based proxy server which can be used to overcome CORS restrictions, fill API keys for services such as geonames used for search and other tasks. Forking and modifying it to preserve secrets and not expose the proxy for everyone and all kinds of requests will be necessary.

Development server

Run ng serve for a dev server which displays a simple hslayers based map portal with almost no map layers. Navigate to http://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.

Build

Run ng build to build the HSLayers-NG library. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Run ng build

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Cypress.

Downloads/wk

83

GitHub Stars

28

LAST COMMIT

2mos ago

MAINTAINERS

1

CONTRIBUTORS

26

OPEN ISSUES

12

OPEN PRs

0
VersionTagPublished
9.1.0
latest
11d ago
No alternatives found
No tutorials found
Add a tutorial