setDegrees

fun setDegrees(latitudeDegrees: Double, longitudeDegrees: Double): Location

Sets this location to a specified latitude and longitude in degrees.

Return

this location with its latitude and longitude set to the specified values

Parameters

latitudeDegrees

the new latitude in degrees

longitudeDegrees

the new longitude in degrees