Thursday, February 16, 2012

Getting started

There are a few different ways of adding Google Maps content to your website:

If you only need markers and static content, the easiest way is to find the desired location directly on http://maps.google.com/ and add any markers, lines and shapes with the "My places" option (you need a Google account to use this feature).

Next, embedding from maps.google.com is very simple. In that website, click on the link icon (circled below) and copy the given links.



Another straightforward option is going to Google Web Elements and choosing Maps under the Search tab. I find this option more limited because only one marker may be added.

Finally, there is Google Maps API, the focus of this blog (specifically the Javascript API). The following map is stored in my NYU web space. This page is merely a copy of the "Hello World" example from Google Maps API's tutorial page.

Click here to open

No comments:

Post a Comment