Reputation: 499
I use skmaps/skobbler in Android app. I need to center and zoom the map to array of Annotations in automated mode, is this possible?
Regards.
Upvotes: 0
Views: 74
Reputation: 238
There isn’t a method to directly center and zoom the map to a group of annotations. Instead you can use the following method to simulate it:
fitBoundingBox(
final SKBoundingBox boundingBox,
final int pixelPaddingX,
final int pixelPaddingY,
final int pixelPaddingYBottom,
final int pixelPaddingYTop
)
Upvotes: 2