Skip to content

elasticrash/ngx.leaflet.component

Repository files navigation

ngx.leaflet.component

Native Angular Components designed to be used directly on the templates without much customization

website with examples

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

NOTE

  • angular 4/5 use for versions 1.4.2
  • angular 6 use versions 2.0.0+

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

  • npm run build