They are saved in my Postgres database and I'm using PostGIS to do geolcation calculations. I do however store the google place_id so I can link to them in Google maps.
Are the images stored locally? The lazy loading is very well done, of course, but the images do take awhile to show up. I assume they're behind an API call? Is there any way to cache all the images in the user's zip code (for instance)?
The images are loaded from the server. And I'm using https://github.com/DylanVann/react-native-fast-image which caches them internally. To get around the images loading slower, I could probably use smaller images. I'm currently using (600x400) I think. Also my connection isn't that great tbh
1
u/ThatSpookySJW Jan 03 '20
Are these stored in your db or are they using google's places api?