here-android-sdk-examples icon indicating copy to clipboard operation
here-android-sdk-examples copied to clipboard

set map doesnt center when icon and long pop display together

Open rosiejaneenomar opened this issue 4 years ago • 0 comments

Do you have any idea how to solve this.

Initial load with the marker its info bubble is open.

How to set the map center with long pop up and its marker? Goal: to set the view including the pop up and marker always at the center.

This is currently my code but this doesnt solve any of my issue.

this.map.setCenter({ lng: coordinates.longitude, lat: coordinates.latitude }); this.map.setZoom(zoomLevel);

This view is something like this.

image

rosiejaneenomar avatar Feb 17 '21 13:02 rosiejaneenomar