O'Reilly logo

PHP Ajax Cookbook by R. Rajesh Jeba Anbiah, Roshan Bhattarai, Milan Sedliak

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

Using Google Maps

Google Maps, probably the most popular mapping service on the Web, is the mapping application provided by Google free of cost. Google Maps contains a powerful API, by using which Google Maps can be used by different third-party websites for various purposes like route planning, finding driving directions and distance, and so on.

Google Maps is becoming a very powerful and useful tool day by day as it's been widely used by many review-based service applications and many popular mobile applications.

In this section, we will learn how to embed a Google map to a web page.

Getting ready

A Google Map can be embedded in a website using a simple<Iframe> code that is basically used for displaying the map of a particular location or highlighting ...

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