Merge pull request #1053 from elemoine/sourceoptions

Use typedef in source code for SourceOptions
This commit is contained in:
Tom Payne
2013-09-24 03:03:12 -07:00
2 changed files with 9 additions and 8 deletions

View File

@@ -8,6 +8,15 @@ goog.require('ol.Extent');
goog.require('ol.proj');
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* extent: (ol.Extent|undefined),
* logo: (string|undefined),
* projection: ol.proj.ProjectionLike}}
*/
ol.source.SourceOptions;
/**
* @constructor