Skip to content
Browse files

Since #274 we don't need to create an ol.Collection explicitly

  • Loading branch information...
1 parent a66f26f commit 47e5b0475b0e5033dede1eb33f509a84a0944b89 @ahocevar ahocevar committed Mar 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/style-rules.js
View
2 examples/style-rules.js
@@ -123,7 +123,7 @@ vector.parseFeatures({
var map = new ol.Map({
- layers: new ol.Collection([vector]),
+ layers: [vector],
controls: ol.control.defaults({
attribution: false
}),

0 comments on commit 47e5b04

Please sign in to comment.
Something went wrong with that request. Please try again.