Google Maps API Tutorial© 2006, 2007 Mike Williams |
Instant maps with the Google WizardGoogle provides a Wizard which will generate a chunk of code that you can add to your own web page.Here's an example Maps generated by the Wizard only show a single marker, and you don't get any control over the contents of the info window. The generated map will also have a Google AJAX Search API box, and direction finding (in a new maps.google.com window) You don't even have to sign up for an API key. The Wizard creates its own key for your domain. Restrictions The Wizard only works for locations that can be found with the Google AJAX Search API. So street addresses in Andorra, Australia, Canada, France, Germany, Italy, Netherlands, New Zealand, Spain, and United States of America are OK, and UK Post Codes are OK. Outside those countries it will only recognise the names of cities. It won't work with latitude and longitude coordinates, it always needs a text address that it can look up wuth AJAX Search. How to use it
You can make some minor changes to the behaviour and style of the map by studying the GSmapSearchControl documentation.
|