Maps App Using Ionic Framework and Leaflet.js

At a recent AngularJS DFW Meetup, I gave a demonstration of using Ionic Framework and Firebase to create a race tracking demo.

Several people asked for the code I used. I haven’t gotten around to tidying it up and making it presentable for the world - too embarassed?

So, here’s a substitute for now. It’s just a simple Ionic Framework app using Leaflet.js.

https://github.com/calendee/ionic-leafletjs-map-demo

You can follow the instructions on GitHub to create an installable app with it or just see a working demo here : http://ionic-leafletjs-map-demo.divshot.io/#/app/map

Let me know if you’d like to add some features or integrations.

Here are some screenshots:

{<1>}![The map demo showing Washington, D.C. with an “Add Locations” popup: “To add a new location, tap and hold on the map.”](/content/images/2014/Oct/map-demo-1.PNG)

The map with a pin and the label “Washington D.C., USA”.

The side menu listing saved locations: Washington D.C., London, Paris, Moscow, Rio de Janeiro and Sydney.

The New Location form with the name “Guilford, England”, its latitude and longitude, and a green Save Location button.

The map zoomed to Guildford, England with a pin labelled “Guilford, England”.