Google Maps V3 Api and geocoding

21 views
Skip to first unread message

bas van der linden

unread,
Oct 12, 2011, 3:04:11 AM10/12/11
to Google Maps JavaScript API v3
Hi guys,

I'm very interested in the Google maps V3 API for my website, but can
only find a tutorial for geocoding and saving to SQL for the V2 Api.

Does anyone know of a good example/tutorial for getting this to work
for V3 ? I'm still a SQL/PHP noob and am not yet able to figure out
how to "translate" the v2 tutorial to v3.

My idea is to have people find an address and store that in a database
(perhaps with extra information added, but i can figure that out
myself). Then i want all visitors to be able to see the stored
addresses.

I found Marc Gabranski (or something like that)'s tutorial very nice,
but its only V2.

Thanks in advance :-)

BruceB

unread,
Oct 12, 2011, 12:11:05 PM10/12/11
to google-map...@googlegroups.com
You might want to check the terms of use to make sure that your application abides by the section regarding caching of content:

(b) No Pre-Fetching, Caching, or Storage of Content. You must not pre-fetch, cache, or store any Content, except that you may store: (i) limited amounts of Content for the purpose of improving the performance of your Maps API Implementation if you do so temporarily, securely, and in a manner that does not permit use of the Content outside of the Service; and (ii) any content identifier or key that the Maps APIs Documentation specifically permits you to store. For example, you must not use the Content to create an independent database of “places.”

Here's an example showing how to make HTTP requests with PHP:  http://php.net/manual/en/function.httprequest-send.php
And here's the section on geocoding requests from the Google Maps documentation (with some examples):  http://code.google.com/apis/maps/documentation/geocoding/#GeocodingRequests 
Reply all
Reply to author
Forward
0 new messages