What’s new?
Updated the homepage map to use database-stored latitude and longitude coordinates instead of making individual geolocation API requests for every listing.
Why it matters
This significantly improves map performance, reduces unnecessary Google API requests, and provides a faster, more scalable experience as directories grow.
Details
✔️ Automatically stores latitude and longitude coordinates when a business address is added or geocoded
✔️ Saves coordinates from future geolocation API requests for reuse
✔️ Updated homepage map to load coordinates directly from the database
✔️ Reduced repeated Google Geocoding API calls and improved map performance
✔️ Added a warning when increasing the number of displayed listings, informing admins of the one-time Google API geocoding cost for listings that have not yet been processed
Impact
🟢 New Feature