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 ee74915 commit e48d6e5
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 = Math.cos(e.rotation)
var sin = Math.sin(e.rotation)
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 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 e48d6e5

Please sign in to comment.