Google Maps Android API v2 Samples
===================================
Samples demonstrating how to use
[Google Maps Android API v2](https://developers.google.com/maps/documentation/android/).
This repo contains the following sample:
1. [ApiDemos](ApiDemos): A collection of small demos showing most features of the Google Maps Android API. (This was formally part of the Google Play Services SDK.)
1. [AndroidWearMap](AndroidWearMap):
Displays a map on an Android Wear device. This sample demonstrates the basic
setup required for a gradle-based Android Studio project.
Pre-requisites
--------------
See each sample for pre-requisites.
All require an uptodate version of the Android build tools and the Android support repository.
Getting Started
---------------
These samples use the Gradle build system.
First download the samples by cloning this repository or downloading an archived
snapshot. (See the options on the right hand side.)
In Android Studio, use the "Import non-Android Studio project" or
"Import Project" option. Next select one of the sample directories that you downloaded from this
repository.
If prompted for a gradle configuration accept the default settings.
Alternatively use the "gradlew build" command to build the project directly.
Don't forget to add your API key to the AndroidManifest.xml.
(See [https://developers.google.com/maps/documentation/android/start](https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key))
Support
-------
- Stack Overflow: https://stackoverflow.com/questions/tagged/android+google-maps
If you have discovered an issue with the Google Maps Android API v2, please see
the resources here: https://developers.google.com/maps/support/
If you've found an error in these samples, please file an issue:
https://github.com/googlemaps/android-samples/issues
Patches are encouraged, and may be submitted according to the instructions in
CONTRIBUTING.md.
![Analytics](https://maps-ga-beacon.appspot.com/UA-12846745-20/android-samples/readme?pixel)
License
-------
(See each sample directory for details.)
Copyright 2015 The Android Open Source Project
Copyright 2015 Google, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
用Android Studio制作的地图定位(使用谷歌地图SDK) (143个子文件)
gradlew.bat 2KB
gradlew.bat 2KB
.gitignore 95B
.gitignore 81B
.gitignore 81B
.gitignore 54B
.gitignore 7B
.gitignore 7B
build.gradle 2KB
build.gradle 1KB
build.gradle 681B
settings.gradle 641B
build.gradle 498B
settings.gradle 15B
gradlew 5KB
gradlew 5KB
gradle-wrapper.jar 49KB
gradle-wrapper.jar 49KB
MarkerDemoActivity.java 16KB
LiteListDemoActivity.java 11KB
StreetViewPanoramaNavigationDemoActivity.java 9KB
UiSettingsDemoActivity.java 9KB
CameraDemoActivity.java 9KB
CircleDemoActivity.java 9KB
SaveStateDemoActivity.java 8KB
LayersDemoActivity.java 8KB
PermissionUtils.java 7KB
LiteDemoActivity.java 7KB
PolygonDemoActivity.java 7KB
PolylineDemoActivity.java 7KB
DemoDetailsList.java 6KB
VisibleRegionDemoActivity.java 6KB
StreetViewPanoramaEventsDemoActivity.java 6KB
MainActivity.java 6KB
GroundOverlayDemoActivity.java 5KB
MyLocationDemoActivity.java 5KB
SplitStreetViewPanoramaAndMapDemoActivity.java 5KB
IndoorDemoActivity.java 4KB
TileCoordinateDemoActivity.java 4KB
StreetViewPanoramaOptionsDemoActivity.java 4KB
MainActivity.java 4KB
LocationSourceDemoActivity.java 4KB
SnapshotDemoActivity.java 3KB
TileOverlayDemoActivity.java 3KB
MapInPagerDemoActivity.java 3KB
EventsDemoActivity.java 3KB
ProgrammaticDemoActivity.java 2KB
StreetViewPanoramaViewDemoActivity.java 2KB
RawMapViewDemoActivity.java 2KB
StreetViewPanoramaBasicDemoActivity.java 2KB
RetainMapDemoActivity.java 2KB
FeatureView.java 2KB
BasicMapDemoActivity.java 2KB
LegalInfoActivity.java 1KB
DemoDetails.java 1KB
MultiMapDemoActivity.java 1KB
OptionsDemoActivity.java 1KB
newark_prudential_sunny.jpg 68KB
LICENSE 11KB
LICENSE 11KB
LICENSE 11KB
README.md 3KB
README.md 3KB
README.md 3KB
CONTRIBUTING.md 885B
newark_nj_1922.png 340KB
big_icon.png 37KB
ic_launcher.png 9KB
ic_launcher.png 7KB
ic_launcher.png 6KB
ic_launcher.png 4KB
ic_launcher.png 4KB
pegman.png 3KB
ic_launcher.png 3KB
ic_launcher.png 3KB
badge_sa.png 3KB
badge_qld.png 3KB
badge_victoria.png 2KB
badge_nsw.png 2KB
pegman.png 2KB
ic_launcher.png 2KB
ic_launcher.png 2KB
arrow.png 2KB
custom_info_bubble.9.png 2KB
pegman.png 2KB
arrow.png 2KB
badge_wa.png 2KB
custom_info_bubble.9.png 1KB
pegman.png 1KB
proguard-rules.pro 1KB
proguard-rules.pro 657B
gradle.properties 1KB
gradle.properties 855B
gradle-wrapper.properties 837B
gradle-wrapper.properties 231B
strings.xml 12KB
AndroidManifest.xml 7KB
camera_demo.xml 7KB
street_view_panorama_navigation_demo.xml 7KB
ui_settings_demo.xml 5KB
共 143 条
- 1
- 2
资源评论
- 倩倩的开心小屋2019-04-16感觉不怎么好用
Timeismyfriend!
- 粉丝: 4
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功