关于 Android Studio 上的 Citymaps 的问题
Questions about Citymaps on Android Studio
在今天的开发中,我有一些新的问题,如下:
1、我打开GPS服务的时候,调用方法mapView.startUpdatingLocation(),可以很好的定位到当前位置,但是如果我关闭了GPS,没有设置默认位置,是不是可以通过网络自动定位并在地图中显示蓝色箭头?
2、我创建了一个实现了LocationSource接口的class,然后调用
mapView.setLoactionSource 并设置定位方式为网络,但是当我打开应用程序加载地图时,我发现位置是美国。它没有找到我所在的当前位置。是吗?
3、有时候,加载地图太慢无法及时加载数据,有没有离线地图可以用?
4、在你的office网站中,对于区域层的介绍是这样的:
After zooming out a certain amount, the Business Layer will disappear and the Region Layer will appear. The Region Layer displays a set of hand-picked cities and towns, with a custom image for each place. Tapping one of the pins will zoom you into that place, giving you an overview of the area.
什么意思"the business layer will disappear and the region layer will appear"?我没发现现象
我是Citymaps SDK的开发者,我会尽力回答您的问题。
1) 如果您使用 SDK 内置的默认位置源,它永远不会在 GPS 关闭的情况下找到您的位置。
2) 如果您自己实施 LocationSource
,则由您决定用户的位置并在位置发生变化时通知 LocationChangeListener
。在这里查看 LocationSource
的默认实现以获取更多详细信息:https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=master
3) 我们目前没有离线地图,但这是我们正在努力的一项功能。应该会在下个月左右发布。
4) 如果您查看 Play 商店中的 Citymaps 应用程序或 SDK 示例,您将了解放大和缩小地图意味着什么。很难比上面所说的更进一步解释,所以你应该看看这两个例子,自己看看。
在今天的开发中,我有一些新的问题,如下:
1、我打开GPS服务的时候,调用方法mapView.startUpdatingLocation(),可以很好的定位到当前位置,但是如果我关闭了GPS,没有设置默认位置,是不是可以通过网络自动定位并在地图中显示蓝色箭头?
2、我创建了一个实现了LocationSource接口的class,然后调用
mapView.setLoactionSource 并设置定位方式为网络,但是当我打开应用程序加载地图时,我发现位置是美国。它没有找到我所在的当前位置。是吗?
3、有时候,加载地图太慢无法及时加载数据,有没有离线地图可以用?
4、在你的office网站中,对于区域层的介绍是这样的:
After zooming out a certain amount, the Business Layer will disappear and the Region Layer will appear. The Region Layer displays a set of hand-picked cities and towns, with a custom image for each place. Tapping one of the pins will zoom you into that place, giving you an overview of the area.
什么意思"the business layer will disappear and the region layer will appear"?我没发现现象
我是Citymaps SDK的开发者,我会尽力回答您的问题。
1) 如果您使用 SDK 内置的默认位置源,它永远不会在 GPS 关闭的情况下找到您的位置。
2) 如果您自己实施 LocationSource
,则由您决定用户的位置并在位置发生变化时通知 LocationChangeListener
。在这里查看 LocationSource
的默认实现以获取更多详细信息:https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=master
3) 我们目前没有离线地图,但这是我们正在努力的一项功能。应该会在下个月左右发布。
4) 如果您查看 Play 商店中的 Citymaps 应用程序或 SDK 示例,您将了解放大和缩小地图意味着什么。很难比上面所说的更进一步解释,所以你应该看看这两个例子,自己看看。