Search code examples
androidskmaps

Android: how to zoom to a specific square in Skobbler maps


I need to display a polyline and want to center the map on this polyline. How to zoom to a specific square consisting of two latitudes and two longitudes in Skobbler maps?


Solution

  • Create an SKBoundingBox from the 2 coordinates and then "fit" the visible screen to that bounding box via fitBoundingBox