Skip to content

Commit

Permalink
Merge pull request 3liz#3972 from mind84/wms_getfeature_decimal_params
Browse files Browse the repository at this point in the history
[Fix] round the 'I' and 'J' paramters of WMS GetFeatureInfo service
  • Loading branch information
rldhont authored Nov 22, 2023
2 parents 6cc1ba5 + a9b7c25 commit a7fcfbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/src/modules/Popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default class Popup {
FEATURE_COUNT: 10,
WIDTH: width,
HEIGHT: height,
I: evt.xy.x,
J: evt.xy.y,
I: Math.round(evt.xy.x),
J: Math.round(evt.xy.y),
FI_POINT_TOLERANCE: this._pointTolerance,
FI_LINE_TOLERANCE: this._lineTolerance,
FI_POLYGON_TOLERANCE: this._polygonTolerance
Expand Down

0 comments on commit a7fcfbb

Please sign in to comment.