Search code examples
androidhere-api

Here zoomTo Ignores ViewRect X & Y Positions


I am attempting to display a route in a map. I am displaying route information over the bottom portion of the map. So I need to offset the route when displaying it. In the iOS SDK I can use the method set:

func set(boundingBox: NMAGeoBoundingBox, inside: CGRect, animation: NMAMapAnimation)

The CGRect offsets the route. The Android SDK has a similar method zoomTo

zoomTo(GeoBoundingBox var1, ViewRect var2, Map.Animation var3, float var4)

But it seems to ignore the X and Y starting positions of the ViewRect. It does use the height and width I give it, but the route is always in the center of the screen.


Solution

  • The issue is fixed and it will be available in 3.12 release (planned for beginning of July)