Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

GetFeature, first query click doesn't trigger the query #887

Open
ochriste opened this issue Nov 6, 2014 · 1 comment
Open

GetFeature, first query click doesn't trigger the query #887

ochriste opened this issue Nov 6, 2014 · 1 comment

Comments

@ochriste
Copy link
Member

ochriste commented Nov 6, 2014

only visible when using the getFeature tool in the toolbar!

to reproduce:

refresh
enable a layer with some data (Equipement > game area)
zoom to the area with the data
enable the query tool in the toolbar
click on the map once
nothing happen

click one the map a second time
the query is triggered

expected:
the first click should trigger the query

this problem can not be reproduced when NOT using the query tool in the toolbar (i.e. directly clicking on the map without using the query tool button)

cf https://github.com/camptocamp/lausanne_mapfish/issues/21

can be tested in http://lausanne-geomapfish.sig.cloud.camptocamp.net/testoch/wsgi/
(need the query button in the toolbar)

@ochriste
Copy link
Member Author

ochriste commented Nov 6, 2014

for some unkown reason, the function getInfoForClick in OpenLayers.Control.WMSGetFeatureInfo is not getting called on the first click

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

1 participant