How to use Google Maps on your page
From Buffalo Shows Wiki
How to use Google Maps on your page.
- Edit your page.
- In a new browser window/tab, go to maps.google.com
- Type in the address of the place you want to map.
- Right-click on the address and center the location on the map.
- Get the latitude and longitude coordinates. Here's the little trick you have to do.
- When the address you want to find latitude and longitude for is dead center, copy and paste this code into your browser bar:
- When the address you want to find latitude and longitude for is dead center, copy and paste this code into your browser bar:
javascript:void(prompt('',gApplication.getMap().getCenter()));
- Write or copy the coordinates down in a convenient place.
- Use this code to generate your map.
<widget type="googlemap">
<marker lat="42.95281042212598" lon="-78.86900424957275">
[http://www.sitandspin.com/ [[Sit and Spin]] 2531 Delaware Ave. Buffalo, NY 14216 716-873-1484]
</marker>
</widget>
- Replace the coordinates / information shown above with the appropriate information about the location you're mapping. The Sit and Spin map is shown as an example below.
- Save your page and your edit should come up!
Sometimes, finding the absolute center for your location can be tricky.
Sample Map

