Coordinate docs

This commit is contained in:
Tim Schaub
2015-04-04 09:56:44 +02:00
parent fdabcd8219
commit d09c4afefb

View File

@@ -280,6 +280,9 @@ ol.coordinate.squaredDistanceToSegment = function(coordinate, segment) {
/**
* Format a geographic coordinate with the hemisphere, degrees, minutes, and
* seconds.
*
* Example:
*
* var coord = [7.85, 47.983333];
@@ -301,6 +304,8 @@ ol.coordinate.toStringHDMS = function(coordinate) {
/**
* Format a coordinate as a comma delimited string.
*
* Example without specifying fractional digits:
*
* var coord = [7.85, 47.983333];