Add ol.format.GeoJSONOptions

This commit is contained in:
Tom Payne
2013-11-10 17:26:09 +01:00
parent 8c9732c9da
commit 0fa8692b1b
2 changed files with 7 additions and 1 deletions

View File

@@ -245,6 +245,11 @@
* @todo stability experimental
*/
/**
* @typedef {Object} ol.format.GeoJSONOptions
* @property {ol.proj.ProjectionLike} projection Projection.
*/
/**
* @typedef {Object} ol.interaction.DoubleClickZoomOptions
* @property {number|undefined} duration Animation duration in milliseconds. Default is `250`.

View File

@@ -19,8 +19,9 @@ goog.require('ol.geom.Polygon');
/**
* @constructor
* @implements {ol.format.IReader}
* @param {ol.format.GeoJSONOptions=} opt_options Options.
*/
ol.format.GeoJSON = function() {
ol.format.GeoJSON = function(opt_options) {
};