Replace google maps with openstreetmap
Merge pull request #3 from simonlopez/master

Replace google maps with openstreetmap, thanks @slopez

A branch now exists with the gmaps code.
Fix map.js

The locName variable was not defined.
Also remove closePopupOnClick as it's the default value.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Merge branch 'master' into gh-pages

This branch will be the "production" branch as master should not contains
specific data files
Example data in master branche

The master branche should never have contained specific data files.
Now only examples are here.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Fix typo in examples
Fix hooks in README.md

Do not update data files on master
Fix geocode

geocode was keeping deleted entry from places_log.txt in places_gps_json.json,
        now they are removed.

It also fix a potential bug if you were to rename an entry.
Fix geocode

geocode was keeping deleted entry from places_log.txt in places_gps_json.json,
        now they are removed.

It also fix a potential bug if you were to rename an entry.
Move js file in their own dir; switch to MapQuest tiles
Optimize Javascript load

Put Javascript call at the end of the file, also use async keyword.
Add label instead of popup on marker
Switching json to GeoJSON standards

Also, change name of the data files and the base map tiles.
Update data files

Update places.geojson to match places_log.txt
Leaflet can't be loaded asynchronously

It lead to errors since maps.js try to begin its operation without the lib being
fully loaded.
Update to Leaflet 0.5
update to leaflet 0.7