generator-jhipster-leafletmap
v2.0.0
Published
This module generates a leaflet map in a new page of a monolithic and Angular 5 jhipster application (4.14.1).
Downloads
7,636
Maintainers
Readme
generator-jhipster-leafletmap
JHipster module, This module generates a leaflet map in a new page of a monolithic jhipster application (5.3.4 with Angular6 and TypeScript). Generator realized by Hugo GROS-DAILLON and Bastien TERRIER
Introduction
This is a JHipster module, that is meant to be used in a JHipster application.
Example
Here (https://github.com/ultratrail/Hiking-Demo) you can download a JHipster project that uses leaflet maps with angular 5. (UltraTeam 7.1 realized by Hugo GROS-DAILLON and Bastien TERRIER)
Prerequisites
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
Installation
With NPM
To install this module:
npm install -g generator-jhipster-leafletmap
To update this module:
npm update -g generator-jhipster-leafletmap
With github
Clone the project on :
https://github.com/ultratrail/generator-jhipster-leafletmap
Usage
With the NPM Installation
Go into your jhipster application path (with cd)
Execute:
yo jhipster-leafletmap
- Press ENTER when the generator ask to you the first question.
If you cloned the project from github
Go into the project path with the shell (with cd)
Execute:
yarn install
- Execute:
yarn link
Go into your jhipster application path
Execute:
yarn link generator-jhipster-leafletmap
- Execute:
yo jhipster-leafletmap
- Press ENTER when the generator ask to you the first question.
License
The generation of the leaflet map was realized with the tutorial : https://www.asymmetrik.com/ngx-leaflet-tutorial-angular-cli/
this includes the license :
The MIT License (MIT)
Copyright (c) 2007-2017 Asymmetrik Ltd, a Maryland Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.