Document that layer options are set as object properties

This commit is contained in:
Peter Robins
2014-07-09 06:40:28 -04:00
parent 9915bb873c
commit 17d059f7bb
5 changed files with 15 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}