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

Can not move map #23

Open
Mervetafrali opened this issue Sep 27, 2023 · 0 comments
Open

Can not move map #23

Mervetafrali opened this issue Sep 27, 2023 · 0 comments

Comments

@Mervetafrali
Copy link

Since this method used by the Huawei class was called constantly, even if I moved the map, it returned to its previous position.
override fun configureMapOnStart(initialCoordinate: MTSLatLng?, zoom: Float) { if (!initialRequestSent) { mapFragment!!.zoomToLocation( MTSLatLng(initialCoordinate?.latitude.orZero(), initialCoordinate?.longitude.orZero()), zoom ) } }
I reached the solution by adding a flag to check if the map was created. The same class does not cause problems with google map.

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

1 participant