philip
c1949a28f0
Just draw everything on pixel boundaries. Browsers just get the
...
difficult cases wrong.
2020-05-17 00:13:40 +00:00
philip
4e81cf02ee
Remove the unused import
2020-04-03 21:58:51 +00:00
philip
665a8275f6
It appears that Safari and Chrome behave differently when doing a drawImage
...
with coordinates that are outside the source. Chrome appears to draw the
piece of the image that is within the area specified on the drawImage and within
the source. Safari bails and draws nothing if (I think) any of the corners are outside
the source.
2020-04-03 21:54:42 +00:00
philip
6e2d8cc266
Add test for the reprojection being able to handle translucent layers
2020-04-03 01:46:03 +00:00
philip
a308e9ee13
Merge remote-tracking branch 'origin/master' into fix_triangulation
2020-04-02 22:58:59 +00:00
philip
72907566bb
Add comment to explain calculation.
2020-04-02 14:14:13 +00:00
philip
76b926420c
Only draw the piece of the source canvas that is required. I.e. take the clip
...
region into account.
2020-01-14 23:52:54 +00:00
philip
ccf3532eb2
Fix the parameter name to have the opt_ prefix.
2020-01-14 13:48:23 +00:00
philip
d2b0599177
Dynamically chose the number of subdivisions based on the size of the Image.
2020-01-14 13:39:52 +00:00
philip
1772c8198b
Added comment pointing to an area of improvement
2020-01-11 18:07:09 +00:00
philip
6666014721
Merge remote-tracking branch 'origin/master' into fix_triangulation
...
Conflicts:
src/ol/TileCache.js
2020-01-11 17:36:40 +00:00
philip
852f6552c7
Fix pixel rounding
2020-01-11 17:29:26 +00:00
philip
902ed53999
Add detection of browsers which cannot render correctly with diagonal
...
clipping regions. In this case, modify the shape of the clip region
so that it has (a number) of horizontal and vertical edges.
2020-01-06 02:23:58 +00:00
philip
e35795c5a3
Rework code to pass eslint
2019-12-30 16:46:20 +00:00
philip
89ed757273
Fix indentation
2019-12-30 16:22:44 +00:00
philip
f457093baf
Handle the zoomed out case where the source extent is infinite. This
...
does raise the question of whether an Infinite extent intersects a
finite extent. It appears not to, but maybe it should.
2019-12-28 22:31:30 +00:00
philip
4040d03ae6
Fix problem with zero size canvas drawing
2019-12-28 18:09:07 +00:00
philip
a6b1df3574
Fix missing corners of the world
2019-12-28 17:47:53 +00:00
philip
b71b87d7bb
Fix issue with reprojection and double drawing pixels.
2019-12-28 03:40:10 +00:00