Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

ch03_fileapi question #6

Closed
WillieMaddox opened this issue Jun 19, 2016 · 1 comment
Closed

ch03_fileapi question #6

WillieMaddox opened this issue Jun 19, 2016 · 1 comment

Comments

@WillieMaddox
Copy link

I noticed that the strategy is being set on the ol.layer.vector.

var layer = new ol.layer.Vector({
    source: source,
    name: form.displayname.value,
    strategy: ol.loadingstrategy.bbox
});

According to the ol3 website, this is an attribute of ol.source.vector.

Does this matter?

@GaborFarkas
Copy link
Owner

Thanks for pointing out this typo. It does not matter, as strategies only affect dynamically loaded layers, like WFS. See the new errata section in the readme file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants