Scott Main | b74844c | 2012-11-29 21:13:30 -0800 | [diff] [blame] | 1 | page.title=Google Maps Android API |
Joe Fernandez | 33baa5a | 2013-11-14 11:41:19 -0800 | [diff] [blame] | 2 | page.tags=mapview,location |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 3 | header.hide=1 |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 4 | |
| 5 | @jd:body |
| 6 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 7 | |
| 8 | <div class="landing-banner"> |
| 9 | |
| 10 | <div class="col-6"> |
| 11 | <img src="{@docRoot}images/google/gps-maps.png" alt=""> |
| 12 | </div> |
| 13 | <div class="col-6"> |
| 14 | |
Scott Main | b74844c | 2012-11-29 21:13:30 -0800 | [diff] [blame] | 15 | <h1 itemprop="name" style="margin-bottom:0;">Google Maps Android API</h1> |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 16 | <p itemprop="description">Allow your users explore the world with rich maps provided by |
| 17 | Google. Identify locations with <b>custom markers</b>, augment the map data |
| 18 | with <b>image overlays</b>, embed <b>one or more maps</b> as fragments, |
| 19 | and much more.</p> |
| 20 | <p>The <a |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 21 | href="{@docRoot}reference/com/google/android/gms/maps/package-summary.html" |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 22 | >Google Maps Android API reference</a> is available here on developer.android.com, but for more |
| 23 | information about adding maps to your app, visit:</p> |
| 24 | <p><a class="external-link" |
| 25 | href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a></p> |
| 26 | </div> |
| 27 | </div> |
| 28 | |
| 29 | |
| 30 | |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 31 | <div class="landing-docs"> |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 32 | <div class="col-6 normal-links"> |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 33 | <h3 style="clear:left">Key Developer Features</h3> |
Robert Ly | aae1713 | 2012-11-28 14:04:29 -0800 | [diff] [blame] | 34 | <h4>Add maps to your app</h4> |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 35 | <p>With version 2 of the Google Maps Android API, you can embed maps into an activity |
| 36 | as a fragment with a simple XML snippet. The new Maps offer exciting features such as 3D maps; |
| 37 | indoor, satellite, terrain, and hybrid maps; |
| 38 | vector-based tiles for efficient caching and drawing; animated transitions; and much more. |
| 39 | <a class="external-link" href="https://developers.google.com/maps/documentation/android/map">Add |
| 40 | a map object</a>.</p> |
| 41 | |
| 42 | <h4>Customize the map</h4> |
| 43 | <p>Add markers onto the map to indicate special points of interest for your users. |
| 44 | You can define custom colors or icons for your map markers to |
| 45 | match your app's look and feel. To further enhance the app, draw polylines |
| 46 | and polygons to indicate paths or regions, or provide complete image overlays. |
| 47 | <a class="external-link" href="https://developers.google.com/maps/documentation/android/marker">Draw |
| 48 | markers</a>.</p> |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 49 | </a> |
| 50 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 51 | <h4>Control the user's view</h4> |
| 52 | <p>Give your users a different view of the world with the ability to control the rotation, tilt, |
| 53 | zoom, and pan properties of the "camera" perspective of the map. |
| 54 | <a class="external-link" href="https://developers.google.com/maps/documentation/android/views">Change |
| 55 | the view</a>.</p> |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 56 | </div> |
| 57 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 58 | |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 59 | <div class="col-6 normal-links"> |
| 60 | <h3 style="clear:left">Getting Started</h3> |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 61 | <h4>1. Get the Google Play services SDK</h4> |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 62 | <p>The Google Maps Android APIs are part of the Google Play services platform.</p> |
Scott Main | f12b3fd | 2013-12-06 12:57:13 -0800 | [diff] [blame] | 63 | <p>To use Google Maps, <a href="{@docRoot}google/play-services/setup.html">set up |
| 64 | the Google Play services SDK</a>. Then see the <a class="external-link" |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 65 | href="https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api"> |
| 66 | Getting Started guide</a> to get your API key for Maps and set up your app. |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 67 | </p> |
| 68 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 69 | <h4>2. Run the sample</h4> |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 70 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 71 | <p>Once you've installed the Google Play services package, the Google Maps sample is located in |
| 72 | <code><android-sdk>/extras/google-play-services/samples/maps</code> and shows you |
| 73 | how to use the major components of the Google Maps Android APIs. |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 74 | </p> |
| 75 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 76 | <h4>3. Read the documentation</h4> |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 77 | |
Scott Main | 78d1744 | 2012-12-04 17:32:30 -0800 | [diff] [blame] | 78 | <p>Read the <a href="https://developers.google.com/maps/terms">Google Maps |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 79 | API Terms of Service</a>.</p> |
| 80 | |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 81 | <p>For quick access while developing your Android apps, the |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 82 | <a href="{@docRoot}reference/com/google/android/gms/maps/package-summary.html">Google Maps |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 83 | Android API reference</a> is available here on developer.android.com.</p> |
Scott Main | e36276a | 2012-12-02 16:07:30 -0800 | [diff] [blame] | 84 | |
| 85 | <p>Detailed documentation for the Google Maps Android APIs is available with the rest of the |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 86 | Google Maps developer documents at <a class="external-link" |
| 87 | href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a>. |
Robert Ly | 6519ca0 | 2012-11-14 13:26:28 -0800 | [diff] [blame] | 88 | </p> |
| 89 | </div> |
Scott Main | b0d2673 | 2012-11-28 11:01:37 -0800 | [diff] [blame] | 90 | |
Joe Fernandez | 33baa5a | 2013-11-14 11:41:19 -0800 | [diff] [blame] | 91 | </div> |