Skip to content

Commit 23cc5d9

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: revisions to gps landing pages" into jb-mr1-dev
2 parents f4d4461 + b0d2673 commit 23cc5d9

File tree

4 files changed

+124
-93
lines changed

4 files changed

+124
-93
lines changed
Lines changed: 64 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,86 @@
11
page.title=Google Maps
2-
page.landing=true
3-
page.landing.intro=Add Google maps to your Android apps and let your users explore the world. Give your users all of the benefits of the Google Maps, but with the customizations that you need for your app and users.
4-
page.landing.link=https://developers.google.com/maps/documentation/android/
5-
page.landing.link.text=developers.google.com/maps
6-
page.landing.image=images/gps-maps.png
2+
header.hide=1
73

84
@jd:body
95

6+
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+
14+
<h1 itemprop="name" style="margin-bottom:0;">Google Maps</h1>
15+
<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
20+
href="{@docRoot}google/play-services/reference/com/google/android/gms/maps/package-summary.html"
21+
>Google Maps Android API reference</a> is available here on developer.android.com, but for more
22+
information about adding maps to your app, visit:</p>
23+
<p><a class="external-link"
24+
href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a></p>
25+
</div>
26+
</div>
27+
28+
29+
1030
<div class="landing-docs">
11-
<div class="col-6">
31+
<div class="col-6 normal-links">
1232
<h3 style="clear:left">Key Developer Features</h3>
13-
<a href="https://developers.google.com/maps/documentation/android/map">
14-
<h4>Bring Maps to your Mobile Apps</h4>
15-
The Google Maps APIs let you embed Google Maps into an Activity with a simple XML snippet
16-
in the form of a fragment. With MapFragment, you can take advantage of exciting features such as 3D maps;
17-
indoor, satellite, terrain, and hybrid maps; and vector-based tiles for efficient caching and drawing.
18-
</a>
33+
<h4>Add Maps in a fragment</h4>
34+
<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>
1940

20-
<a href="https://developers.google.com/maps/documentation/android/marker">
21-
<h4>Highlight important places and routes</h4>
22-
<p>
23-
Overlay markers onto your maps to highlight places your users are interested
24-
in. You can also define custom colors or icons for your map markers to
25-
coincide with the look and feel of your app.</p>
26-
27-
<p>In addition, you can draw polylines, a set of connected line segments on a map
28-
and polygons, a set of polylines in a closed loop.</p>
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>
2948
</a>
30-
31-
<a href="https://developers.google.com/maps/documentation/android/views">
32-
<h4>Change views and perspectives</h4>
33-
Give your users a different view of the world with the ability to control rotation, tilting,
34-
zooming, and panning properties of the maps you are displaying. Show 3D views of maps,
35-
zoom in on terrain maps, allow users to swipe across areas, and much more.
36-
</a>
37-
49+
50+
<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>
3855
</div>
3956

57+
4058
<div class="col-6 normal-links">
4159
<h3 style="clear:left">Getting Started</h3>
42-
<h4>Configure Maps</h4>
60+
<h4>1. Get the Google Play services SDK</h4>
4361
<p>The Google Maps Android APIs are part of the Google Play services platform.</p>
4462
<p>To use Google Maps, <a href="{@docRoot}google/play-services/download.html">download and configure</a>
45-
the Google Play services SDK and see the <a href="https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api">
46-
Getting Started guide</a> on how to configure Google Maps for your app.
63+
the Google Play services SDK from the SDK Manager. Then see the <a class="external-link"
64+
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.
4766
</p>
4867

49-
<h4>Run the sample</h4>
50-
<p>
51-
The Google Maps sample is located in <code>&lt;android-sdk&gt;/extras/google-play-services/samples/maps</code>
52-
and shows you how to use the major components of the Google Maps Android APIs.
68+
<h4>2. Run the sample</h4>
69+
<p>Once you've installed the Google Play services package, the Google Maps sample is located in
70+
<code>&lt;android-sdk&gt;/extras/google-play-services/samples/maps</code> and shows you
71+
how to use the major components of the Google Maps Android APIs.
5372
</p>
5473

55-
<h4>Visit the Google Maps developer site</h4>
56-
<p>
57-
For instructions on how to fully integrate Google+ into your app, with code snippets, visit the
58-
<a href="https://developers.google.com/maps/documentation/android/intro">Google Maps developer documentation</a>
59-
located at developers.google.com.
60-
</p>
61-
62-
<h4>See the reference documentation</h4>
63-
<p>
64-
The <a href="{@docRoot}google/play-services/reference/com/google/android/gms/maps/package-summary.html">Google Maps API reference</a>
65-
is provided for you on this site and is also available at <a href="https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/package-summary">developers.google.com</a> if you
66-
prefer to read them there.</p>
67-
<p>
68-
In addition, the entire <a href="{@docRoot}google/play-services/reference/packages.html">Google Play
69-
services platform reference</a> is hosted on this site for your convenience.
74+
<h4>3. Read the documentation</h4>
75+
<p>For quick access while developing your Android apps, the
76+
<a href="{@docRoot}google/play-services/reference/com/google/android/gms/maps/package-summary.html">Google Maps
77+
Android API reference</a> is available here on developer.android.com.</p>
78+
<p>Extended documentation for the Google Maps Android APIs is provided with the rest of the
79+
Google Maps developer documents at <a class="external-link"
80+
href="https://developers.google.com/maps/documentation/android/">developers.google.com/maps</a>.
7081
</p>
7182
</div>
83+
84+
7285
</div>
7386
</div>
Lines changed: 60 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,83 @@
11
page.title=Google+
2-
page.landing=true
3-
page.landing.intro=Create an engaging social experience and connect with more users by integrating G+ into your app.
4-
page.landing.link=https://developers.google.com/+/mobile/android/
5-
page.landing.link.text=developers.google.com/+
6-
page.landing.image=images/gps-plus.png
2+
header.hide=1
73

84
@jd:body
95

6+
7+
<div class="landing-banner">
8+
9+
<div class="col-6">
10+
<img src="{@docRoot}images/google/gps-googleplus.png" alt="">
11+
</div>
12+
<div class="col-6">
13+
14+
<h1 itemprop="name" style="margin-bottom:0;">Google+</h1>
15+
<p itemprop="description">Create an engaging social experience
16+
by integrating Google+ features in your app. You can <b>authenticate users</b> and allow them to
17+
<b>sign in</b>, add +1 buttons so users can <b>recommend your app content</b>,
18+
and allow users to <b>share rich content</b> with Google+.</p>
19+
20+
<p>The <a
21+
href="{@docRoot}google/play-services/reference/com/google/android/gms/plus/package-summary.html"
22+
>Google+ Android API reference</a> is available here on developer.android.com, but for more
23+
information about integrating Google+, visit:</p>
24+
<p><a class="external-link"
25+
href="https://developers.google.com/+/mobile/android/">developers.google.com/+</a></p>
26+
</div>
27+
</div>
28+
1029
<div class="landing-docs">
11-
<div class="col-6">
30+
<div class="col-6 normal-links">
1231
<h3 style="clear:left">Key Developer Features</h3>
1332

14-
<a href="https://developers.google.com/+/mobile/android/share">
15-
<h4>Share to Google+</h4>
16-
Display a Share dialog that lets your users share rich content from your app, including text,
17-
photos, URL attachments, and location, into the Google+ stream.
18-
</a>
33+
<h4>Sign in with Google+</h4>
34+
<p>Allow users to easily and securely sign in to your app using their Google+ credentials.
35+
This allows you to know who they are on Google+ and to build a more personalized experience in
36+
your app. <a href="https://developers.google.com/+/mobile/android/sign-in"
37+
class="external-link">Add sign in</a>.</p>
1938

20-
<a href="https://developers.google.com/+/mobile/android/recommend">
39+
<h4>Share to Google+</h4>
40+
<p>Display a Share dialog that lets your users share rich content from your app,
41+
including text, photos, URL attachments, and location, into the Google+ stream.
42+
<a href="https://developers.google.com/+/mobile/android/share"
43+
class="external-link">Add sharing with Google+</a>.</p>
44+
2145
<h4>Recommend content</h4>
22-
Add a native +1 button so users can recommend content from your app. When users +1, they can
23-
also share content with their circles. These endorsements can give your app more
24-
credibility and help it grow faster.
25-
</a>
26-
27-
<a href="https://developers.google.com/+/mobile/android/sign-in">
28-
<h4>Sign in with Google+</h4>
29-
Allow users to easily and securely sign in to your app using their Google+ credentials.
30-
This allows you to know who they are on Google+ and to build a more personalized experience in your app.
31-
</a>
32-
<a href="https://developers.google.com/+/mobile/android/write-moments">
46+
<p>Add a native +1 button so users can recommend content from your app. When users +1, they
47+
can also share content with their circles. These endorsements can give your app more
48+
credibility and help it grow faster. <a class="external-link"
49+
href="https://developers.google.com/+/mobile/android/recommend">Add the +1 button</a>.</p>
50+
3351
<h4>Save moments</h4>
34-
Save user actions from your app such as check-ins, reviews, video views, comments, and more,
35-
to your users' private Google+ history. From there, users can share these moments with others.
36-
</a>
52+
<p>Save user actions from your app such as check-ins, reviews, video views, comments,
53+
and more, to your users' private Google+ history. From there, users can share these
54+
moments with others. <a class="external-link"
55+
href="https://developers.google.com/+/mobile/android/write-moments">Save user
56+
moments</a>.</p>
3757
</div>
3858

59+
3960
<div class="col-6 normal-links">
4061
<h3 style="clear:left">Getting Started</h3>
41-
<h4>Get the Google Play services SDK</h4>
62+
<h4>1. Get the Google Play services SDK</h4>
4263
<p>The Google+ Android APIs are part of the Google Play services platform.</p>
43-
<p><a href="{@docRoot}google/play-services/download.html">Download and configure</a>
44-
the SDK to begin integrating Google+ into your app.
64+
<p>To get started, <a href="{@docRoot}google/play-services/download.html">download and configure</a>
65+
the Google Play services SDK from the SDK Manager.
4566
</p>
4667

47-
<h4>Run the sample</h4>
48-
<p>
49-
The Google+ sample is located in <code>&lt;android-sdk&gt;/extras/google-play-services/samples/plus</code> and shows you
68+
<h4>2. Run the sample</h4>
69+
<p>Once you've installed the Google Play services package, the Google+ sample is located in
70+
<code>&lt;android-sdk&gt;/extras/google-play-services/samples/plus</code> and shows you
5071
how to use the major components of the Google+ Android APIs.
5172
</p>
5273

53-
<h4>Visit the Google+ developer site</h4>
54-
<p>For instructions on how to fully integrate Google+ into your app, with code snippets, visit the
55-
<a href="https://developers.google.com/+/mobile/android/">Google+ developer documentation</a> located at
56-
developers.google.com.
57-
</p>
74+
<h4>3. Read the documentation</h4>
75+
<p>For quick access while developing your Android apps, the
76+
<a href="{@docRoot}google/play-services/reference/com/google/android/gms/plus/package-summary.html">Google+
77+
API reference</a> is available here on developer.android.com.</p>
78+
<p>Extended documentation for the Google+ Android APIs is provided with the rest of the
79+
Google+ developer documents at <a class="external-link"
80+
href="https://developers.google.com/+/mobile/android/">developers.google.com/+</a>.</p>
5881

59-
<h4>See the reference documentation</h4>
60-
<p>The <a href="{@docRoot}google/play-services/reference/com/google/android/gms/plus/package-summary.html">Google+ API reference</a>
61-
as well as the entire <a href="{@docRoot}google/play-services/reference/packages.html">Google Play services platform reference</a>
62-
is provided for you on this site.
63-
</p>
6482
</div>
6583
</div>
20.7 KB
Loading
123 KB
Loading

0 commit comments

Comments
 (0)