Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modifiers property is not set by default on the getfeature control #1252

Open
dbauszus opened this issue Feb 20, 2014 · 0 comments
Open

modifiers property is not set by default on the getfeature control #1252

dbauszus opened this issue Feb 20, 2014 · 0 comments

Comments

@dbauszus
Copy link

I am not sure whether this is a bug, an oversight in the documentation or just my lack of OpenLayers development experience.

I create a GetFeature control for WFS protocol which works fine when I click into the map.

The control does not work without the modifiers property which is Null when I call the control with .request and a bounds parameter.

Once I use the control with a mouse click event this property is set. In order to call the control for the first time with .request (bounds) it is necessary to manually define the modifiers property .modifiers = {multiple:null,toggle:null}

This object should be the default definition for the constructor of the control. And not being dependent on a mouse click in the map control.

Cheers,
Dennis

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

No branches or pull requests

1 participant