GitHub repository

Sygic Travel Android SDK

sdk / com.sygic.travel.sdk.places.model.geo / LatLngBounds

LatLngBounds

data class LatLngBounds :Parcelable,Serializable

Constructors

Name Summary
<init> LatLngBounds(northeast:LatLng, southwest:LatLng)

Properties

Name Summary
northeast val northeast:LatLng
southwest val southwest:LatLng

Functions

Name Summary
getCenter fun getCenter():LatLng
Returns the center of the bounding box. The center is simply the average of the coordinates.
toApiExpression fun toApiExpression():String
withPrecision fun withPrecision(decimals:Int= 6):LatLngBounds

Extension Functions

Name Summary
toQuadTiles funLatLngBounds.toQuadTiles(zoom:Int):List<String>