Reputation: 1241
I am making website that lists places on google maps(added by users) which api shuld I use to achieve it?
Is there anything for that or should I just load locations from my database and mark them on map on every reload?
Upvotes: 0
Views: 80
Reputation: 4962
Yes you will need a database to store the coordinates of locations added by your users and fetch and display them as per need on the map. The Google Maps Apiv3 is suitable for this.
To reduce burden from fetching the coordinates from the database every time on reload, you can use the concept of Caching which would fairly help to improve the overall performance.
Upvotes: 1
Reputation: 161334
For mapping you should use the Google Maps API v3, see the Articles section of the documentation for ideas on interfacing with a database.
Upvotes: 0