haoliangyu/ngx-leaflet-starter
关于
A soup of Angular and Leaflet
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ngx-leaflet-starter
A web mapping application starter based on Angular X and Leaflet. This project demo includes basic mapping features:
Display base maps from different sources
Initialize map based on user's IP address location
Geocode address and zoom to result location
Add/remove markers on the map
Use unofficially typed Leaflet plugin
Built with Angular CLI
Support Angular 7 and Leaflet 1.3 now!
See how it looks at demo page.
FAQ
Was it named angular2-leaflet-starter?
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.
How about new features?
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.
Oops, this plugin is not typed!?
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.
In the starter, a minimal type declaration file is created for the Leaflet.VectorGrid. This plugin is used to add the global airport sites (from openflights.org) as a vector tile layer.
How to start?
This project requires npm (or yarn).
Run
npm installto install dependencies.Run
npm run startto set up the dev server.See the app at
localhost:4200.
Thanks to these awesome people!
Looking for other demos?
ngx-mapboxgl-starter is an Angular 2 project seed with MapboxGL, a mapping library designed for vector tile.
boundary.now, a tool to download place boundries from OpenStreetMap, built with Angular2, Material2 and Leaflet.
探索相关项目
加载中…