1.4.2 • Published 6 years ago
ngx.leaflet.components v1.4.2
ngx.leaflet.component
Native Angular Components designed to be used directly on the templates without much customization
Old Examples
- base example
- multi-map example
- star map using L.CRS.Simple
- custom CRS using leaflet
- a genetic like algorithm trying to solve the Travelling salesman problem
Examples sources can be found in the following github repository here
Install
npm install ngx.leaflet.components
USE
import { ngxLeafletModule } from 'ngx.leaflet.components';
@NgModule({
imports: [ngxLeafletModule],
})
Leaflet stylesheets are not included automatically for the time, so you need to add it yourself
for usage and basic examples check the wiki
https://github.com/elasticrash/ngx.leaflet.component/wiki
If anyone wants to help in any way feel free to do a fork and a pull request