Home | History | Annotate | Download | only in maps
      1 page.title=Adding Maps
      2 page.tags=mapview,location
      3 page.article=true
      4 page.trainingcourse=true
      5 @jd:body
      6 
      7 
      8 <img src="{@docRoot}images/google/gps-maps.png"
      9   width="300"
     10   style="float:right;margin:0 0 20px 20px"
     11   alt="Google maps sample image">
     12 
     13 <p>
     14   Allow your users to explore the world with rich maps provided by Google. Identify
     15   locations with custom markers, augment the map data with image overlays, embed one
     16   or more maps as fragments, and much more.
     17 </p>
     18 
     19 <p>
     20   The <a href="https://developers.google.com/maps/documentation/android/">Google
     21   Maps Android API</a> allows you to include maps and customized mapping information
     22   in your app.
     23 </p>
     24 
     25 
     26 <h2 id="features">Key Developer Features</h2>
     27 
     28 <h4>Add maps to your app</h4>
     29 <p>
     30   With Google Maps Android API v2, you can embed maps into an activity as a fragment with a simple
     31   XML snippet. The new Maps offer exciting features such as 3D maps; indoor, satellite, terrain,
     32   and hybrid maps; vector-based tiles for efficient caching and drawing; animated transitions; and
     33   much more. <a class="external-link" href=
     34   "https://developers.google.com/maps/documentation/android/map">Add a map object</a>.
     35 </p>
     36 
     37 <h4>Customize the map</h4>
     38 <p>
     39   Add markers onto the map to indicate special points of interest for your users. You can define
     40   custom colors or icons for your map markers to match your app's look and feel. To further enhance
     41   the app, draw polylines and polygons to indicate paths or regions, or provide complete image
     42   overlays. <a class="external-link" href=
     43   "https://developers.google.com/maps/documentation/android/marker">Draw markers</a>.
     44 </p>
     45 
     46 <h4>Control the user's view</h4>
     47 <p>
     48   Give your users a different view of the world with the ability to control the rotation, tilt,
     49   zoom, and pan properties of the "camera" perspective of the map. <a class="external-link" href=
     50   "https://developers.google.com/maps/documentation/android/views">Change the view</a>.
     51 </p>
     52 
     53 <h4>Add Street View to your app</h4>
     54 <p>
     55   Embed Street View into an activity and let your users explore the world through panoramic
     56   360-degree views. Programmatically control the zoom and orientation (tilt and bearing) of the
     57   Street View camera, and animate the camera movements over a given duration. <a class=
     58   "external-link" href="https://developers.google.com/maps/documentation/android/streetview">Add
     59   Street View</a>.
     60 </p>
     61 
     62 
     63 <h2 id="start">Get Started</h2>
     64 <p>
     65   Google Maps Android API is part of the Google Play services platform. To use Google Maps,
     66   set up the Google Play services SDK in your app development project. For more information,
     67   see the <a class="external-link"
     68   href="https://developers.google.com/maps/documentation/android/start">Getting Started</a> guide
     69   for the Google Maps Android API.
     70 </p>
     71