If I bring google map to show on my web page, how many time the map can show on my web page ? And I want to indicate the point such my home in google map, can I do it ? and how can I do ? Your reply greatest for me. Thanks in advance.
If I fully understand what it you want, then I think I can answer! If you put a google map on your web page, you can put it in as many times as your heart desires. You can indicate a point on a map using markers. Before you start you will need to get a google API key, if you don't already have one. you can get this here. <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Google Maps JavaScript API Example</title> <script src="http://maps.google.com/maps?file=api&v=2&key=abcdefg" type="text/javascript"></script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } </script> </head> <body onload="initialize()" onunload="GUnload()"> <div id="map_canvas" style="width: 500px; height: 300px"></div> </body> </html> HTML: The top of that script is just setting the page up. The line below the title tags is where you need to put your API key. Then you start building your map... so you create a function called initialize function initialize() { HTML: You check to see if the users browser is compatible if (GBrowserIsCompatible()) { HTML: Then you create a new variable called map and set that variable to be a GMap2 and call that element map_canvas var map = new GMap2(document.getElementById("map_canvas")); HTML: Then you set the map to a point of longitude and latitude at a zoom of 13 map.setCenter(new GLatLng(37.4419, -122.1419), 13); HTML: This is your map now ready to be placed into your page somewhere... so now we put the map on you page... <div id="map_canvas" style="width: 500px; height: 300px"></div> HTML: And finally we tell the page to start the map script on loading, and to stop the script when the page is closed... <body onload="initialize()" onunload="GUnload()"> HTML: All of that script can be found on the google maps API documentation which is at this address: http://code.google.com/apis/maps/documentation/
If you're using Dreamweaver, this extension will insert the Google Maps for you. You can even pull the address data from a database dynamically.