On Mar 2, 4:01 pm, many_tentacles <[email protected]> wrote: > > Now though I need to insert lots of markers onto the map based on the > postcodes from a database. > > Any ideas or a push in the right direction would be much appreciated.
You need to add the coordinates to your database, so your website visitors don't have to geocode the points every time. You can do the geocoding client-side to write a script which can be used to update the database: Mike has some ideas at http://econym.org.uk/gmap/geomulti.htm Or: use the HTTP geocoder, suitably throttled, server-side. Get your dataset, geocode each row in turn and update it, wait a suitable length of time so you don't get error 620, and go on to the next row. Or: when your users get their batch of markers, geocode any which only supply a postcode and not coordinates (making sure it's rate-limited), and send those coordinates back to your server to update the database records. That way the most popular markers will be geocoded first and it won't count against your IP quota: the geocoding is distributed amongst your website visitors. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
