Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

User interface and map building extensions for OpenLayers

License

NotificationsYou must be signed in to change notification settings

hslayers/hslayers-ng

Repository files navigation

This is a monorepo for developing HSLayers-NGAngular 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.x^6.14.1
1014.x5.x^6.14.1, ^7.0.0
1115.x5.x7.x
1216.x5.37.x
1317.x5.3^8.2
1418.x5.3^9.2.2
1519.x5.3^10.4

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 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.

Integration

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.

Development

Development server

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.

Build

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.

Running unit tests

Runng test to execute the unit tests viaKarma.

Running end-to-end tests

Runng e2e to execute the end-to-end tests viaCypress.


[8]ページ先頭

©2009-2025 Movatter.jp