Use raw geometry types

This commit is contained in:
Tom Payne
2013-11-09 14:08:33 +01:00
parent 27ab7da5ee
commit cfaad0eff1
5 changed files with 20 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ goog.require('ol.geom.Geometry');
/**
* @constructor
* @extends {ol.geom.Geometry}
* @param {ol.Coordinate} coordinate Coordinate.
* @param {ol.geom.RawPoint} coordinate Coordinate.
*/
ol.geom.Point = function(coordinate) {
@@ -17,7 +17,7 @@ ol.geom.Point = function(coordinate) {
/**
* @private
* @type {Array.<number>}
* @type {ol.geom.RawPoint}
*/
this.coordinate_ = coordinate;
@@ -26,7 +26,7 @@ goog.inherits(ol.geom.Point, ol.geom.Geometry);
/**
* @return {ol.Coordinate} Coordinate.
* @return {ol.geom.RawPoint} Coordinate.
*/
ol.geom.Point.prototype.getCoordinate = function() {
return this.coordinate_;
@@ -56,7 +56,7 @@ ol.geom.Point.prototype.getType = function() {
/**
* @param {ol.Coordinate} coordinate Coordinate.
* @param {ol.geom.RawPoint} coordinate Coordinate.
*/
ol.geom.Point.prototype.setCoordinate = function(coordinate) {
this.coordinate_ = coordinate;