-
Notifications
You must be signed in to change notification settings - Fork 87
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
Click tolerence per layer #6445
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request introduces 1 alert when merging 521c375 into 6c14ef1 - view on LGTM.com new alerts:
|
bd9d7a6
to
24386b1
Compare
Looks good but the CI should pass to make it possible to test it on pages :-) |
So, we have to wait on an OpenLayers release. |
What's left is the ol update and this "invert position" requirement. First, what do you means by Then, okay, the user knows the size of its icon. And he wants to apply the queryIconPosition from the center of this icon. So in this case, I've to IMO That's complicated for the user. It's easier and more flexible to build the bounding box from the geometry point. But the specs are done, let me know what I've to do. I don't see a scenario where to |
Invert queryIconPosition : invert bottom and top and invert left and right. |
Thanks for the precisions. With this comment and a draw I've understand. |
Note that I'm not sure it is a good idea to mix bbox calculation from css definition, inversion and buffer application. |
@arnaud-morvan I've splitted the calculation but in the same function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it suit to me, IMHO it is easier to understand now, thanks.
c401721
to
d632fe4
Compare
d632fe4
to
47285fd
Compare
47285fd
to
074147a
Compare
For GSGMF-1294
Variation from the specs
I've named the
queryTouchMin
option totoleranceTouch
to be coherant with thetolerance
for desktop andtolerance
for the edition (which is use basically for the the same behavior).I've not seen any
queryToleranceTouch
to remove.OpenLayers:
Done, PR here : openlayers/openlayers#11740
We have to wait on a new ol realease
C2cgeoportal:
It looks already done: https://github.com/camptocamp/c2cgeoportal/pull/6512/files
There is no
tolerance
ortoleranceTouch
in ngeoQueryOptions from constants of CONST_vars.yaml . And none is needed. A default value exists in ngeo (the same default value as before).Ngeo:
I've take care of: #4570 (still and always send the simple click with tolerance bbox as GET parameter. A custom bbox can be done at the mapserver side, and I won't sent one bbox per layer).