toString

Returns the location coordinates formatted as '{lat},{lng}'.

Example

<script>
var loc = new kendo.dataviz.map.Location(40.7128, -74.0060);
var formatted = loc.toString();

console.log(formatted); // "40.7128,-74.0060"
console.log("Location: " + loc); // "Location: 40.7128,-74.0060"
</script>

Returns

String A string representation of the location, e.g. "39,-179"

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