New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cities on map #84
Cities on map #84
Conversation
- This makes sure that we don't hit nominatim unless we have to
@krsoninikhil I've added cache support, so now the builds are running pretty fast. Also added geo.json to gitignore since its not meant to be committed. You can merge this once you have reviewed it 👍 |
That's better, I didn't know about the api response caching, thanks for pointing out. |
Its getting some issues with not importing leaflet over https |
We don't want to commit the cache to git, because its not the "source" for the repo, and can always be regenerated. |
Okay. |
Includes work by @krsoninikhil. I refactored slightly to remove the json by-hand generator.
The only thing missing is a cache support, and as a result the generator is very slow. Since this is run on every build, it makes testing and working on hackercouch really slow.
Travis supports proper file-based caches (every build gets the same cache). We can use that to store the API responses from nominatim.