copy

fun copy(location: Location): Location

Sets this location to the latitude and longitude of a specified location.

Return

this location with its latitude and longitude set to that of the specified location

Parameters

location

the location specifying the new coordinates