O'Reilly logo

HTML5: Your visual blueprint™ for designing rich web pages and applications by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DISPLAY A SPECIFIC LOCATION WITH GOOGLE MAPS

You can use the Google Maps API to display a custom map on your own web page, zoomed and centered on latitude and longitude coordinates that you specify. By typing in your own coordinates, you do not need to use any GPS or Geolocation API methods on the user’s web browser, but you will still need to identify the coordinates yourself.

You can easily determine a pair of coordinates by opening Google Maps, at http://maps.google.com; clicking images; clicking Maps Labs; and enabling the LatLng Marker feature. After this is active, you can simply right-click any location in Google Maps and click Drop LatLng Marker. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required