google-maps-services 和 play-services-maps 之间的区别
Difference between google-maps-services and play-services-maps
我在 Android Studio 的“模块设置中的添加库”中找到了两个库。
这两个库有什么区别:
com.google.maps:google-maps-services
和
com.google.android.gms:play-services-maps
这些用在什么地方?
1. com.google.maps:google-maps-services
这是 Google 地图 Web 服务,由用于需要地理数据(如方向或距离)的工具组成。在documentation中定义如下:
The Google Maps web services are a collection of HTTP interfaces to
Google services providing geographic data for your maps applications.
2. com.google.android.gms:play-services-maps
另一方面,这个库允许与物理地图进行交互,包括事件监听、相机角度和位置、地图类型等。您可以参考documentation了解它具体功能。
希望这能回答您的问题!
我在 Android Studio 的“模块设置中的添加库”中找到了两个库。 这两个库有什么区别:
com.google.maps:google-maps-services
和
com.google.android.gms:play-services-maps
这些用在什么地方?
1. com.google.maps:google-maps-services
这是 Google 地图 Web 服务,由用于需要地理数据(如方向或距离)的工具组成。在documentation中定义如下:
The Google Maps web services are a collection of HTTP interfaces to Google services providing geographic data for your maps applications.
2. com.google.android.gms:play-services-maps
另一方面,这个库允许与物理地图进行交互,包括事件监听、相机角度和位置、地图类型等。您可以参考documentation了解它具体功能。
希望这能回答您的问题!