create

Creates a Location instance from various input types.

Parameters

lat Number|Array|kendo.dataviz.map.LocationThe location latitude in decimal degrees,

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

lng Number optionalThe location longitude in decimal degrees.

Returnskendo.dataviz.map.Location The Location instance, if valid.

In this article