New to Kendo UI for jQuery? Start a free 30-day trial

Wrap

methods

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

Returns:kendo.dataviz.map.Location

The current Location instance.

<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>
Not finding the help you need?
Contact Support