Mohamed Taher Alrefaie
Mohamed Taher Alrefaie

Reputation: 16253

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?

Upvotes: 4

Views: 598

Answers (1)

Ando
Ando

Reputation: 11439

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

Upvotes: 3

Related Questions