Improve Map docs for layers and layergroups

This commit is contained in:
Peter Robins
2015-05-10 16:08:31 +00:00
parent d5c69b2e5e
commit 074941bf1f
2 changed files with 13 additions and 1 deletions

View File

@@ -226,7 +226,10 @@ olx.MapOptions.prototype.keyboardEventTarget;
/**
* Layers. If this is not defined, a map with no layers will be rendered.
* Layers. If this is not defined, a map with no layers will be rendered. Note
* that layers are rendered in the order supplied, so if you want, for example,
* a vector layer to appear on top of a tile layer, it must come after the tile
* layer.
* @type {Array.<ol.layer.Base>|ol.Collection.<ol.layer.Base>|undefined}
* @api stable
*/