wrap

Wraps the latitude and longitude to fit into the [0, 90] and [0, 180] range.

Example

<script>
var loc = new kendo.dataviz.map.Location(270, 400);
console.log("Before wrap:", loc.toString()); // "270,400"

loc.wrap();
console.log("After wrap:", loc.toString()); // Wrapped coordinates
</script>

Returns

kendo.dataviz.map.Location The current Location instance.

In this article
wrap
Not finding the help you need?
Contact Support