Allow ol.source.Source state option to be a string

This commit is contained in:
Tom Payne
2014-02-06 19:40:45 +01:00
parent e53d7e954b
commit 88c8783271
3 changed files with 5 additions and 5 deletions

View File

@@ -711,7 +711,7 @@
* on.
* @property {Array.<number>|undefined} resolutions Resolutions. If specified,
* new canvases will be created for these resolutions only.
* @property {ol.source.State|undefined} state Source state.
* @property {ol.source.State|string|undefined} state Source state.
*/
/**
@@ -836,7 +836,7 @@
* @property {Array.<ol.Feature>|undefined} features Features.
* @property {string|undefined} logo Logo.
* @property {ol.proj.ProjectionLike} projection Projection.
* @property {ol.source.State|undefined} state State.
* @property {ol.source.State|string|undefined} state State.
*/
/**