1.4.0 • Published 5 years ago

bric-gis-pe v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

bric-gis

How to install bric-gis library in your project

To install the module, you must tell npm to connect to nexus instead of npm repository.

To do so, create a file .npmrc in the project home (same folder as the package.json file).

In .npmrc add the line : registry = http://nexus.cirb.lan/repository/npm-public

In your package.json add following dependency

"dependencies": {
  ..,
  ..,
  ..,
 "bric-gis": "^1.2.0"
}

Then, run the command:

$ npm install 

In your app.module.ts add following lines :

import { BricGisModule } from 'bric-gis';
...
...
imports: [
  ...,
  ...,
  ...,
   BricGisModule.forRoot()
]

How to publish on nexus ?

Check that the version (located in the package.json file) that you are going to publish is greater than the last release (if not increment it)

To authenticate to the cirb nexus :

$ npm adduser --registry http://nexus.cirb.lan/repository/npm-releases

Follow the instructions and insert the username and password nexus

$ npm publish

License

MIT © CIRB/CIBG

TODO

Improvments: -- Add an option to activate bboxing in WFS loading -- Add Advanced cluster library -- Allow dynamic changes on WFS styles -- Allow WFS select styles -- Use openlayers 4 -- Allow multiple maps at the same time + multiple search ?