A soup of Angular and Leaflet
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
A web mapping application starter based on Angular X and Leaflet. This project demo includes basic mapping features:
[x] Display base maps from different sources
[x] Initialize map based on user's IP address location
[x] Geocode address and zoom to result location
[x] Add/remove markers on the map
[x] Use unofficially typed Leaflet plugin
[x] Built with Angular CLI
See how it looks at demo page.
Yes, but no longer. Angular is evolving rapidly and has moved further from 2.0. This project is renamed to ngx-leaflet-starter, meaning that it will evolve with Angular and stay close to the latest version.
Since this project has been reached its initial goal to provide a small and clean code base for Angular and Leaflet integration, currently there is no plan for new feature development. But I am open to suggestions and PRs. If you think it's beneficial to add something new (not for very specific use cases), please feel free to submit an issue for dicussion.
Most Leaflet plugins are not typed, but it doesn't mean they are not usable. To use them in a TypeScript project, one way is to provide a minimal type declaration file.
npm installto install dependencies.
npm run startto set up the dev server.
See the app at