Mapty

Map all your workouts.

Check it out here: Mapty app

Lessons learned

LocalStorage is an API that the browser provides for us; is a simple key value store, recommended just for small amounts of data.

In Leaflet, the setView() method to get you to the coordinates. It takes 02 arguments: the coordinates, and the zoom level. Then we pass an object of options.

In Leaflet all the methods return $this, which makes all of them chainable.

Let's build something together

Feel free to reach out if you're looking for a developer, have questions, or just want to connect via LinkedIn.