This is the basic code needed to get a Google Map running on your site (or blog!):
Let's see how to change the size map and filter the paintings by author.
You can edit the value of: width="450" and height="250" to play with the map size.
To set the map center edit the string (lat, lng and zoom variables) and remove jaime (change to all) from your code to show all paintmap paintings or add your own user:
author=jaime&lat=34&lng=8&zoom=3
Some examples, show all artists:
All artists with a wide zoom:
If you have a blog, you can add your map in a new page or post thought the HTML editor (visual -> html) and using the same code.
Finally, if you need some coordinates you can use any simple geocoder as: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html to get them and apply the zoom you need.
Nice maps.I like maps too.
ReplyDeleteJani From Finland
Thanks, Jani...Why don't you join us at Paintmap? You don't need to be an artist an upload paintings...Simply enjoy visiting places through the eyes of painters. Thanks!
ReplyDelete