A web mapping application starter based on Angular 2 and Leaflet. This project demo includes basic mapping functions:
-
Display base maps from different sources
-
Integrate Font-Awesome
-
Initialize map based on client's IP location (currently not working) -
Geocode address and zoom to result location
-
Add/remove markers on the map
-
Create interactive marker popup
Working with angular-2.0.0-rc4.
See how it works at demo page.
This project requires npm, typings, webpack.
-
Run
npm install
to install all dependencies. -
Run
typings install
to install type definition. -
Run
webpack
to build the project. -
As a more convinient way, run the webpack-dev-server to set up the app at
http://localhost:8080
angular2-mapboxgl-starter is an Angular 2 project seed with MapboxGL, a mapping library designed for vector tile.