Is there any API to keep the current position always in the center of screen?
I had try tracking function (like tracking gps,tracking compass) .I hope there is a mode called follow mode like Baidu Map. Could anyone tell me how to realize it? thanks
What is "follow mode like Baidu Map"? Try locationComponent.setCameraMode(CameraMode.TRACKING);
Camera mode information can be found at https://docs.mapbox.com/android/maps/overview/location-component/#cameramode.
There's also this demo app example that enables you to see what the different modes are https://docs.mapbox.com/android/maps/examples/location-component-camera-options/
Dear Smith:
I had try this API. it is not the real tracking gps. the FOLLOW mode means the current gps is always in the center of screen.
thanks
------------------ 原始邮件 ------------------ 发件人: "Langston Smith"<[email protected]>; 发送时间: 2019年11月24日(星期天) 上午7:47 收件人: "mapbox/mapbox-plugins-android"<[email protected]>; 抄送: "冰冻三尺"<[email protected]>;"Author"<[email protected]>; 主题: Re: [mapbox/mapbox-plugins-android] Is there any API to keep the current position always in the center of screen? (#1073)
What is "follow mode like Baidu Map"? Try locationComponent.setCameraMode(CameraMode.TRACKING);
Camera mode information can be found at https://docs.mapbox.com/android/maps/overview/location-component/#cameramode.
There's also this demo app example that enables you to see what the different modes are https://docs.mapbox.com/android/maps/examples/location-component-camera-options/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
the FOLLOW mode means the current gps is always in the center of screen
do you mean by that that the user should not be able to move the map away?
NO, user can move the other place with select normal mode. I suggest you download a baidmap demo .
BTW, Because abroad customer hope me to use Mapbox,so I really hope you can optimize this function.
I use CircleManager create function to draw circle every 1 seconds. when the points arrive to 3000 points , I can move map any more.
I don't know reason.
------------------ 原始邮件 ------------------ 发件人: "Sebastien ROUIF"<[email protected]>; 发送时间: 2019年11月25日(星期一) 晚上10:39 收件人: "mapbox/mapbox-plugins-android"<[email protected]>; 抄送: "冰冻三尺"<[email protected]>;"Author"<[email protected]>; 主题: Re: [mapbox/mapbox-plugins-android] Is there any API to keep the current position always in the center of screen? (#1073)
the FOLLOW mode means the current gps is always in the center of screen do you mean by that that the user should not be able to move the map away?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
download a baidmap demo
Can you share a link so that I can download this demo? I still don't understand what the difference will be between CameraMode.TRACKING and Baidu's follow mode.
Yes, you can download my product in CoolMarket.
https://www.coolapk.com/apk/make.more.r2d2.cellular_pro
App will prompt if your phone is not root.warning, please ignore it
thanks
------------------ 原始邮件 ------------------ 发件人: "Langston Smith"<[email protected]>; 发送时间: 2019年11月26日(星期二) 凌晨0:20 收件人: "mapbox/mapbox-plugins-android"<[email protected]>; 抄送: "冰冻三尺"<[email protected]>;"Author"<[email protected]>; 主题: Re: [mapbox/mapbox-plugins-android] Is there any API to keep the current position always in the center of screen? (#1073)
download a baidmap demo
Can you share a link so that I can download this demo? I still don't understand what the difference will be between CameraMode.TRACKING and Baidu's follow mode.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.