Merge pull request #2298 from probins/props

Document that options in layers and properties in features are set as object properties
This commit is contained in:
Paul Spencer
2014-07-09 07:21:53 -04:00
6 changed files with 17 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ ol.layer.VectorProperty = {
/**
* @classdesc
* Vector data that is rendered client-side.
* Note that any property set in the options is set as a {@link ol.Object}
* property on the layer object; for example, setting `title: 'My Title'` in the
* options means that `title` is observable, and has get/set accessors.
*
* @constructor
* @extends {ol.layer.Layer}