blob: 5a4aaf49ce4724e780fbce6d1bbfd496348abd3c [file] [log] [blame]
Scott Mainb74844c2012-11-29 21:13:30 -08001page.title=Google Maps Android API
Scott Mainb0d26732012-11-28 11:01:37 -08002header.hide=1
Robert Ly6519ca02012-11-14 13:26:28 -08003
4@jd:body
5
Scott Mainb0d26732012-11-28 11:01:37 -08006
7<div class="landing-banner">
8
9<div class="col-6">
10 <img src="{@docRoot}images/google/gps-maps.png" alt="">
11</div>
12<div class="col-6">
13
Scott Mainb74844c2012-11-29 21:13:30 -080014 <h1 itemprop="name" style="margin-bottom:0;">Google Maps Android API</h1>
Scott Mainb0d26732012-11-28 11:01:37 -080015 <p itemprop="description">Allow your users explore the world with rich maps provided by
16 Google. Identify locations with <b>custom markers</b>, augment the map data
17 with <b>image overlays</b>, embed <b>one or more maps</b> as fragments,
18 and much more.</p>
19 <p>The <a
Scott Maine36276a2012-12-02 16:07:30 -080020href="{@docRoot}reference/com/google/android/gms/maps/package-summary.html"
Scott Mainb0d26732012-11-28 11:01:37 -080021>Google Maps Android API reference</a> is available here on developer.android.com, but for more
22information about adding maps to your app, visit:</p>
23 <p><a class="external-link"
24href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a></p>
25</div>
26</div>
27
28
29
Robert Ly6519ca02012-11-14 13:26:28 -080030<div class="landing-docs">
Scott Mainb0d26732012-11-28 11:01:37 -080031 <div class="col-6 normal-links">
Robert Ly6519ca02012-11-14 13:26:28 -080032 <h3 style="clear:left">Key Developer Features</h3>
Robert Lyaae17132012-11-28 14:04:29 -080033 <h4>Add maps to your app</h4>
Scott Mainb0d26732012-11-28 11:01:37 -080034 <p>With version 2 of the Google Maps Android API, you can embed maps into an activity
35 as a fragment with a simple XML snippet. The new Maps offer exciting features such as 3D maps;
36 indoor, satellite, terrain, and hybrid maps;
37 vector-based tiles for efficient caching and drawing; animated transitions; and much more.
38 <a class="external-link" href="https://developers.google.com/maps/documentation/android/map">Add
39 a map object</a>.</p>
40
41 <h4>Customize the map</h4>
42 <p>Add markers onto the map to indicate special points of interest for your users.
43 You can define custom colors or icons for your map markers to
44 match your app's look and feel. To further enhance the app, draw polylines
45 and polygons to indicate paths or regions, or provide complete image overlays.
46 <a class="external-link" href="https://developers.google.com/maps/documentation/android/marker">Draw
47 markers</a>.</p>
Robert Ly6519ca02012-11-14 13:26:28 -080048 </a>
49
Scott Mainb0d26732012-11-28 11:01:37 -080050 <h4>Control the user's view</h4>
51 <p>Give your users a different view of the world with the ability to control the rotation, tilt,
52 zoom, and pan properties of the "camera" perspective of the map.
53 <a class="external-link" href="https://developers.google.com/maps/documentation/android/views">Change
54 the view</a>.</p>
Robert Ly6519ca02012-11-14 13:26:28 -080055 </div>
56
Scott Mainb0d26732012-11-28 11:01:37 -080057
Robert Ly6519ca02012-11-14 13:26:28 -080058 <div class="col-6 normal-links">
59 <h3 style="clear:left">Getting Started</h3>
Scott Mainb0d26732012-11-28 11:01:37 -080060 <h4>1. Get the Google Play services SDK</h4>
Robert Ly6519ca02012-11-14 13:26:28 -080061 <p>The Google Maps Android APIs are part of the Google Play services platform.</p>
Robert Lyaae17132012-11-28 14:04:29 -080062 <p>To use Google Maps, <a href="{@docRoot}google/play-services/setup.html">set up</a>
63 the Google Play services SDK. Then see the <a class="external-link"
Scott Mainb0d26732012-11-28 11:01:37 -080064 href="https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api">
65 Getting Started guide</a> to get your API key for Maps and set up your app.
Robert Ly6519ca02012-11-14 13:26:28 -080066 </p>
67
Scott Mainb0d26732012-11-28 11:01:37 -080068 <h4>2. Run the sample</h4>
Scott Maine36276a2012-12-02 16:07:30 -080069
Scott Mainb0d26732012-11-28 11:01:37 -080070 <p>Once you've installed the Google Play services package, the Google Maps sample is located in
71 <code>&lt;android-sdk&gt;/extras/google-play-services/samples/maps</code> and shows you
72 how to use the major components of the Google Maps Android APIs.
Robert Ly6519ca02012-11-14 13:26:28 -080073 </p>
74
Scott Mainb0d26732012-11-28 11:01:37 -080075 <h4>3. Read the documentation</h4>
Scott Maine36276a2012-12-02 16:07:30 -080076
Scott Main78d17442012-12-04 17:32:30 -080077 <p>Read the <a href="https://developers.google.com/maps/terms">Google Maps
Scott Maine36276a2012-12-02 16:07:30 -080078 API Terms of Service</a>.</p>
79
Scott Mainb0d26732012-11-28 11:01:37 -080080 <p>For quick access while developing your Android apps, the
Scott Maine36276a2012-12-02 16:07:30 -080081 <a href="{@docRoot}reference/com/google/android/gms/maps/package-summary.html">Google Maps
Scott Mainb0d26732012-11-28 11:01:37 -080082 Android API reference</a> is available here on developer.android.com.</p>
Scott Maine36276a2012-12-02 16:07:30 -080083
84 <p>Detailed documentation for the Google Maps Android APIs is available with the rest of the
Scott Mainb0d26732012-11-28 11:01:37 -080085 Google Maps developer documents at <a class="external-link"
86 href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a>.
Robert Ly6519ca02012-11-14 13:26:28 -080087 </p>
88 </div>
Scott Mainb0d26732012-11-28 11:01:37 -080089
Robert Ly6519ca02012-11-14 13:26:28 -080090</div>