Creates a Location instance from various input types.


lat Number|Array| location latitude in decimal degrees,

a [latitude, longitude] array or an existing Location instance.

lng Number optionalThe location longitude in decimal degrees. The Location instance, if valid.

In this article
Not finding the help you need? Improve this article