set

fun set(latitude: Angle, longitude: Angle): Location

Sets this location to a specified latitude and longitude.

Return

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

Parameters

latitude

the new latitude

longitude

the new longitude