Add basic docs for geom.simplegeometry

This commit is contained in:
Marc Jansen
2015-04-22 21:01:49 +02:00
parent 1252867f69
commit 77a06433be

View File

@@ -99,6 +99,7 @@ ol.geom.SimpleGeometry.prototype.computeExtent = function(extent) {
/** /**
* Return the first coordinate of the geometry.
* @return {ol.Coordinate} First coordinate. * @return {ol.Coordinate} First coordinate.
* @api stable * @api stable
*/ */
@@ -116,6 +117,7 @@ ol.geom.SimpleGeometry.prototype.getFlatCoordinates = function() {
/** /**
* Return the last coordinate of the geometry.
* @return {ol.Coordinate} Last point. * @return {ol.Coordinate} Last point.
* @api stable * @api stable
*/ */
@@ -125,6 +127,7 @@ ol.geom.SimpleGeometry.prototype.getLastCoordinate = function() {
/** /**
* Return the {@link ol.geom.GeometryLayout layout} of the geometry.
* @return {ol.geom.GeometryLayout} Layout. * @return {ol.geom.GeometryLayout} Layout.
* @api stable * @api stable
*/ */