The interactive map markers can only be created using latitude and longitude coordinates. Therefore if we wanted to display many points on a map we would either have to make API calls to convert every place_id into coordinates on load, which could take a while to load especially as the db grows or we could have multiple API calls at once - could be an issue as db grows for my google maps credit.
My proposed solution is to have coordinates alongside place_id in the db, or only use coordinates in the db.
The interactive map markers can only be created using latitude and longitude coordinates. Therefore if we wanted to display many points on a map we would either have to make API calls to convert every place_id into coordinates on load, which could take a while to load especially as the db grows or we could have multiple API calls at once - could be an issue as db grows for my google maps credit. My proposed solution is to have coordinates alongside place_id in the db, or only use coordinates in the db.