Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jun 19, 2024
1 parent f0cb049 commit c9acc22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -42842,8 +42842,8 @@ ol.style.Profile = class olstyleProfile extends ol.style.Style {
/** @private */
_renderLine(geom, g, l, e) {
var i, p, ctx = e.context
var cos = parseInt(ol.util.VERSION) >= 9 ? 1 : Math.cos(e.rotation)
var sin = parseInt(ol.util.VERSION) >= 9 ? 0 : Math.sin(e.rotation)
var cos = parseFloat(ol.util.VERSION) > 9.1 ? 1 : Math.cos(e.rotation)
var sin = parseFloat(ol.util.VERSION) > 9.1 ? 0 : Math.sin(e.rotation)
// var a = e.pixelRatio / e.resolution;
var a = ol.coordinate.dist2d(geom[0], geom[1]) / ol.coordinate.dist2d(g[0], g[1])
var dx = geom[0][0] - g[0][0] * a * cos - g[0][1] * a * sin
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit c9acc22

Please sign in to comment.