You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: