Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 14 - carplay issues #5

Open
avxkim opened this issue Sep 18, 2020 · 13 comments
Open

iOS 14 - carplay issues #5

avxkim opened this issue Sep 18, 2020 · 13 comments
Assignees

Comments

@avxkim
Copy link

avxkim commented Sep 18, 2020

Whenever i start 2gis in a carplay mode, it shows a blank map, even after 30 minutes. Nothing helps. Have you tested your application on ios14/carplay?

@teanet
Copy link
Contributor

teanet commented Sep 20, 2020

We have issues on iOS 14 with WebGL rendering, working on it currently.

@avxkim
Copy link
Author

avxkim commented Sep 20, 2020

Please, update this issue, when you're done, so i will migrate to ios 14.

@AlejandroRZ1
Copy link

AlejandroRZ1 commented Sep 20, 2020 via email

@teanet teanet self-assigned this Sep 22, 2020
@teanet
Copy link
Contributor

teanet commented Sep 22, 2020

window.map = new mapgl.Map(container, {
	center: center,
	maxZoom: maxZoom,
	minZoom: minZoom,
	zoom: zoom,
	maxPitch: maxPitch,
	minPitch: minPitch,
	pitch: pitch,
	rotation: rotation,
	zoomControl: false,
	key: apiKey,
	interactiveCopyright: false,
	autoHideOSMCopyright: autoHideOSMCopyright,
	preserveDrawingBuffer: true
});
setInterval(() => window.map._impl.state.needRerender = true, 300);

@webcoderkz you can use this snippet as hot fix, working on better solution.

@avxkim
Copy link
Author

avxkim commented Sep 22, 2020

@teanet where to put this js code?

@teanet
Copy link
Contributor

teanet commented Sep 22, 2020

HTML.swift

@teanet
Copy link
Contributor

teanet commented Sep 22, 2020

@webcoderkz It should be fixed on our backend side, please check

@avxkim
Copy link
Author

avxkim commented Sep 22, 2020

@teanet okay, i need to install ios14 again, there's no need to update application itself, right? It was fixed just on the backend, no frontend fixes needed?

@teanet
Copy link
Contributor

teanet commented Sep 22, 2020

@teanet okay, i need to install ios14 again, there's no need to update application itself, right? It was fixed just on the backend, no frontend fixes needed?

right

@avxkim
Copy link
Author

avxkim commented Sep 23, 2020

@teanet i can confirm, it works now, thanks!

@avxkim
Copy link
Author

avxkim commented Sep 24, 2020

@teanet i've noticed a bug, map works now, but when i'm reaching certain turn to the left/right, it shows incorrect distance in km, it feels like it was syncing the distance instantly in iOS 13, but now it takes like 5 seconds to re-calculate the correct distance. I hope i explained clearly enough.

@teanet
Copy link
Contributor

teanet commented Sep 25, 2020

Ok, I will ask our navigation team

@Trufi
Copy link

Trufi commented Sep 28, 2020

It's pretty hard to understand what's going on and what the problem is without any example, because our SDK doesn't have any about turns and distance calculating.

@webcoderkz could you provide some example with this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants