![]() |
Google Maps™ Tutorial | |||
| tutorial | list | insert | by Wayne lambright |
Who is this video overview and code sample for? Anybody looking to integrate Google Maps using classic ASP, especially if you don’t have the longitude or Latitude coordinates. This video overview is broken into two-phases. Phase I: will get you up and going with a simple google map. Phase II: We will take your address and build a google map on the fly, If you don’t have the longitude or latitude, we will do a SOAP call to ServiceObjects.com get the longitude or Latitude coordinates, then update the database, so we don’t have to do the SOAP call again, then we show your map, best of all you can download working code here. |

Only one requirement is necessary to put google maps on your site.
1. A google map api key is required to run the example on YOUR site, its free click here
You will need two api keys Example:(domain.com, www.domain.com) www.sfsurvey.com/gmaps=ABQIAAAAr9YylxVlyCA-a457MLk5URQQTZwVtRvTPfJHsrUbxc1B_DNJTRSkfXb0toQVOzrPWdAQj5aPLz68MQ |
Now that you have your toe's wet, lets jump into the pool, and move to phase II
In this phase you will install the example files on your server, you will be able to take a full address without the longitude or Latitude, the code will do a SOAP ping to ServiceObjects it will grab the longitude or Latitude, then it will update the database.
Requirements
|
Unzip all files into a folder and upload to web server running IIS4 and above.
One easy solution to the api domain key challenge.
| <% str_google_api_key = Request.ServerVariables("HTTP_HOST") %> <%
IF left(str_google_api_key,16)="www.sfsurvey.com" then
%> < % IF left(str_google_api_key,12)="sfsurvey.com" then
%> |
Special thanks to Service Objects
ServiceObjects, Inc.
133 East de la Guerra Street
Santa Barbara, CA 93101
I hope you enjoyed this video overview.
Best Regards
Wayne Lambright
founder, sfSurvey.com
415-750-1921
wayne@sfsurvey.com
|