Another example of HTML5 Geolocation
Javascript: <!– load the google ajax api –> <script type=”text/javascript” src=”http://www.google.com/jsapi”></script> <script type=”text/javascript”> var map; // load the specifc api you want. In this case I’m using the maps api, version 2. google.load(“maps”, “2″); var map; var geocoder; // call this function when the page loads function initialize() { // create the map inside the [...]
