GithubHelp home page GithubHelp logo

joaorodr84 / hslayers-ng Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hslayers/hslayers-ng

0.0 0.0 0.0 194.3 MB

User interface and map building extensions for OpenLayers

Home Page: https://ng.hslayers.org/

License: MIT License

Shell 0.19% JavaScript 1.58% Scheme 0.07% TypeScript 79.24% CSS 0.43% Makefile 0.04% HTML 15.42% Pug 0.05% SCSS 2.97% Sass 0.02%

hslayers-ng's Introduction

HSLayers-NG monorepo

This is a monorepo for developing HSLayers-NG Angular 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

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 an 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. Copying and modifying the .env file to preserve secrets and not expose them 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.

hslayers-ng's People

Contributors

raitisbe avatar filipleitner avatar dependabot[bot] avatar dailislangovskis avatar dependabot-preview[bot] avatar jmacura avatar chcjohnie avatar sleitgeb avatar wohnout avatar jezekjan avatar fzadrazil avatar jajanka avatar runarbe avatar janbojko avatar lkallipo avatar bvj avatar jachymkellar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.