jonasrenault / france

Angular2 / Leaflet v1.0 integration app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 France Unemployment Map

This is an example application demonstrating Angular2 and Leaflet v1.0 integration. The application displays the unemployment rate for all of the French cities.

The application uses the Leaflet.VectorGrid plugin to display a large geoJSON file (~36000 polygons / 11MB).

Live Demo

Live Demo

Data Sources

Credits

Some code was adapted from various examples, including :

Improvements

  • Adding mouse interaction would be nice.

  • Reduce the size of the geoJSON file. Maybe using compression, and / or topoJSON conversion.

  • Have a server build the vector tiles, similar to MapZen's implementation.

License

Released under the The MIT License.

About

Angular2 / Leaflet v1.0 integration app

License:MIT License


Languages

Language:TypeScript 71.2%Language:HTML 13.3%Language:JavaScript 11.3%Language:CSS 4.1%