At today's development, I have some new questions and as follows:
在今天的开发中,我有一些新问题,如下:
1、When I open GPS service,call the method mapView.startUpdatingLocation(),it is locating the current position very well,but if I close the GPS and does not set the default position,is it can locating automatic by network and show an blue arrow in the map?
1,当我打开GPS服务时,调用方法mapView.startUpdatingLocation(),它正在很好地定位当前位置,但如果我关闭GPS并且没有设置默认位置,它是否可以通过网络自动定位并显示地图上的蓝色箭头?
2、I create a class which implements LocationSource interface and then call
mapView.setLoactionSource and set the locate way is network,but when I open the application to load the map,I found the position is United States. It does not locate the current position where I am. is that right?
2,我创建一个实现LocationSource接口的类,然后调用mapView.setLoactionSource并设置定位方式是网络,但是当我打开应用程序加载地图时,我发现该位置是美国的。它找不到我当前的位置。是对的吗?
3、Sometimes,loading the map too slowly to loading the data timely, are there offline map to use?
3,有时候,加载地图的速度太慢,无法及时加载数据,是否有离线地图使用?
4、In your office website,there some introduce for the region layer like this:
4,在你的办公室网站上,有一些针对区域层的介绍如下:
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.
What is mean "the business layer will disappear and the region layer will appear"?I did't find the phenomenon.
什么是“业务层将消失,区域层将出现”是什么意思?我没有发现这种现象。
1 个解决方案
#1
I am a developer on the Citymaps SDK, I will do my best to answer your questions.
我是Citymaps SDK的开发人员,我会尽力回答您的问题。
1) If you use the default location source built into the SDK, it will never find your location with GPS off.
1)如果您使用SDK内置的默认位置源,它将永远不会找到关闭GPS的位置。
2) If you implement LocationSource
yourself, it is up to you to determine the user's location and tell the LocationChangeListener
when the position has changed. Have a look here at the default implementation of LocationSource
for more details: https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=master
2)如果您自己实现LocationSource,由您决定用户的位置并在位置发生变化时告诉LocationChangeListener。有关详细信息,请查看LocationSource的默认实现:https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=主
3) We do not currently have offline maps, but it is a feature we are working on. It should be released within the next month or so.
3)我们目前没有离线地图,但这是我们正在开发的功能。它应该在下个月左右发布。
4) If you look at the Citymaps application in the Play Store, or the SDK sample, you will see what this means if you zoom the map in and out. It is difficult to explain further than what was stated above, so you should check out these two examples and see for yourself.
4)如果您查看Play商店中的Citymaps应用程序或SDK示例,您将看到如果您放大和缩小地图的含义。很难进一步解释上面所说的内容,所以你应该看看这两个例子并亲自看看。
#1
I am a developer on the Citymaps SDK, I will do my best to answer your questions.
我是Citymaps SDK的开发人员,我会尽力回答您的问题。
1) If you use the default location source built into the SDK, it will never find your location with GPS off.
1)如果您使用SDK内置的默认位置源,它将永远不会找到关闭GPS的位置。
2) If you implement LocationSource
yourself, it is up to you to determine the user's location and tell the LocationChangeListener
when the position has changed. Have a look here at the default implementation of LocationSource
for more details: https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=master
2)如果您自己实现LocationSource,由您决定用户的位置并在位置发生变化时告诉LocationChangeListener。有关详细信息,请查看LocationSource的默认实现:https://bitbucket.org/citymaps/citymaps-android-map-library/src/5a8bafc9638a99c122ba671683299185f9796a48/src/com/citymaps/citymapsengine/CitymapsLocationSource.java?at=主
3) We do not currently have offline maps, but it is a feature we are working on. It should be released within the next month or so.
3)我们目前没有离线地图,但这是我们正在开发的功能。它应该在下个月左右发布。
4) If you look at the Citymaps application in the Play Store, or the SDK sample, you will see what this means if you zoom the map in and out. It is difficult to explain further than what was stated above, so you should check out these two examples and see for yourself.
4)如果您查看Play商店中的Citymaps应用程序或SDK示例,您将看到如果您放大和缩小地图的含义。很难进一步解释上面所说的内容,所以你应该看看这两个例子并亲自看看。