Pass null as forEachFeatureAtPixel layer arg for unmanaged layers

This commit is contained in:
Andreas Hocevar
2015-11-06 21:31:25 +01:00
parent 5b817f3146
commit 1aea2c2b0c
5 changed files with 24 additions and 4 deletions
+5
View File
@@ -20,6 +20,11 @@ goog.require('ol.source.State');
* Layers group together those properties that pertain to how the data is to be
* displayed, irrespective of the source of that data.
*
* Layers are usually added to a map with {@link ol.Map#addLayer}. Components
* like {@link ol.interaction.Select} use unmanaged layers internally. These
* unmanaged layers are associated with the map using
* {@link ol.layer.Layer#setMap} instead.
*
* A generic `change` event is fired when the state of the source changes.
*
* @constructor