angular 2+ / leaflet 1.x component collection
MIT License
Old Examples
Examples sources can be found in the following github repository here
Install
npm install ngx.leaflet.components
npm install leaflet
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
version 2.0.0 at the moment is not yet on npm due to not being tested properly but it can be easily be build by running