Skip to content

Commit

Permalink
[Fix] round the 'I' and 'J' paramters of WMS GetFeatureInfo service
Browse files Browse the repository at this point in the history
  • Loading branch information
mind84 committed Nov 22, 2023
1 parent 6cc1ba5 commit a9b7c25
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 a9b7c25

Please sign in to comment.