วันจันทร์ที่ 12 มกราคม พ.ศ. 2552

Mashing Google Maps using JavaScript

Mashing Google Maps using JavaScript
Google provides a free API that allows developers to embed maps on web pages using JavaScript. Using
this you can create a map of anywhere in the world and overlay it with additional data and functionality.
You can use the Google Maps API for free provided you abide by the terms of service. The terms are
pretty standard and place limits on traffic volumes (50,000 requests per day, per API key) and acceptable
usage.
If you want to embed Google Maps on an intranet or nonpublic website, then Google offers an enterprise
option for a fee.
To use the Google Maps API, you must register for a free API key. This is a straightforward process and
is shown in Figure 2-2; you essentially have to agree to abide by the terms of service and also provide
Google with details of the site where you want to use Google Maps.
It is worth noting that the API key is specific to a directory on your web server, so if you register with
the URL www.mysite.com/maps, then the key will be valid only for pages within this directory or its
subdirectories.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น