Fossgis: Angular 2 geo apps with YAGA - Arne Schubert and Stephan Herritsch

Tags: fossgis, geo

(One of my summaries of a talk at the 2017 fossgis conference).

Yaga is a collection of tools.

Angular 2 is a complete rewrite of angular. It came out in september 2016. The final release is very nice. A good framework.

They build leaflet-ng2, which is the leaflet integration for angular2. It is a “granular” integration, which means that you can do many low-level tasks (like adding a specific layer) with angular, instead of having one big leaflet component that you start up once and cannot adjust later.

So: for every leaflet class, there is an angualar2 directive. They took care to document it very well and they have 99% test coverage!

He showed a nice interactive demo. You can follow along with the various steps by looking at the commits in https://github.com/yagajs/leaflet-ng2/pull/196

They used ionic2 to get the interface on mobile phones, too. Recommended.

 
vanrees.org logo

Reinout van Rees

My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.

Weblog feeds

Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):