equals
Compares this location with another instance.
Example
<script>
var location1 = new kendo.dataviz.map.Location(40.7128, -74.0060);
var location2 = new kendo.dataviz.map.Location(40.7128, -74.0060);
var location3 = new kendo.dataviz.map.Location(41.8781, -87.6298);
console.log(location1.equals(location2)); // true
console.log(location1.equals(location3)); // false
</script>
Parameters
location kendo.dataviz.map.Location
The location to compare with.
Returns
Boolean true if the location coordinates match; false otherwise.
In this article