Merge pull request #1621 from twpayne/clean-ups

Miscellaneous clean-ups
This commit is contained in:
Tom Payne
2014-01-30 04:16:27 -08:00
14 changed files with 77 additions and 33 deletions

View File

@@ -159,6 +159,7 @@ ol.geom.Circle.prototype.setCenterAndRadius =
if (goog.isNull(this.flatCoordinates)) {
this.flatCoordinates = [];
}
/** @type {Array.<number>} */
var flatCoordinates = this.flatCoordinates;
var offset = ol.geom.flat.deflateCoordinate(
flatCoordinates, 0, center, this.stride);