/angular2-mapboxgl-starter

A recipe of Angular2 and MapboxGL

Primary LanguageTypeScriptMIT LicenseMIT

angular2-mapboxgl-starter

A minimal project seed of Angular2, Webpack, and MapboxGL.

Features

  • Switch basemap from a collection
  • Geocoding and reverse Geocoding via Google geocoding API
  • Add popup with mouse click on the map
  • Fly to geocoding result

See live demo.

Working with Angular 2 official release!

How to set up

This project requires npm (or yarn) and webpack.

  1. Run npm install or yarn install to install all dependencies.

  2. Run webpack to build the project.

  3. As a more convinient way, install and run the webpack-dev-server to set up the app at http://localhost:8080

Looking for another solution?

angular2-leaflet-starter is an Angular 2 project seed with Leaflet, the most popular Javascript mapping library.