Closed sayanee closed 8 years ago
FYI That script also generates a GeoJSON file 👍😎
whoa :100: :heart_decoration:
code ref: @cheeaun sometimes d.results[0]
is undefined
and hence cannot get lat, long
for that location. Do you know why? Or how do you get the Lat / Long in those cases? I got back only 7 out of 28 locations' lat/long values.
@sayanee probably the usage limits?
10 requests per second
ok :sweat_smile:
Shall write the script to geocode 10 of them every 15 seconds then.
every second lah
geojson done :+1: :100: :earth_asia:
https://github.com/webuildsg/data/blob/gh-pages/public/data/events-per-location.geojson
or embed the geojson map directly as github pages supports it
Example: https://github.com/cheeaun/walkabout-map/blob/master/index.js
thanks @cheeaun :heart_eyes:
and possibly look into
geojson
- github supports geojson :facepunch: