Thank you for signing up for a Google Maps API key!

Source: Internet
Author: User
Thank you for signing up for a Google Maps API key!

Your key is:

ABQIAAAA2XOmDwsdSefVWtliFM7oAhRgUnSrtx2R2fBqn5WGl7l070PqvBRbr7s7L72cRNSIH96KndKP3sbASw

Note: For more information on the API key system, consult http://code.google.com/apis/maps/faq.html#keysystem.

How you use your key depends on what Maps API product or service you use. your key is valid for use within the entire family of Google Maps API solutions. the following examples show how to use your key within the Maps API product family.

Javascript Maps API example

Within the Javascript Maps API, place the key within the script tag when you load the API:

...  // Note: you will need to replace the sensor parameter below with either an explicit true or false value.  <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAA2XOmDwsdSefVWtliFM7oAhRgUnSrtx2R2fBqn5WGl7l070PqvBRbr7s7L72cRNSIH96KndKP3sbASw" type="text/javascript"></script>...

See loading the Maps API in the Javascript Maps API documentation for more information.

Maps API for flash example

Within the Maps API for flash, you may place the key within an mxml declaration, declare it directly within code asMap.keyProperty, or asflashVarsProperty within the HTML container. A sample mxml declaration is shown below.

...  <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"    key="ABQIAAAA2XOmDwsdSefVWtliFM7oAhRgUnSrtx2R2fBqn5WGl7l070PqvBRbr7s7L72cRNSIH96KndKP3sbASw"/>...

See declaring maps in the Maps API for flash documentation for more information.

HTTP service example

Within a Maps api http service, such as the static Maps API or geocoding service, place the key directly in the request URL:

http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&oe=utf8/&sensor=true_or_false&key=ABQIAAAA2XOmDwsdSefVWtliFM7oAhRgUnSrtx2R2fBqn5WGl7l070PqvBRbr7s7L72cRNSIH96KndKP3sbASw

Note that for all examples, you must replacesensorParameter with a valid value, based on whether your application uses a sensor to determine a user's location. Check out the API documentation for more information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.