Andreas Hocevar
3198642cec
Use locally available font for rendering test
2020-09-27 21:13:27 +02:00
Maximilian Krög
f63d0741b9
Add rendering test for multipoint with icon and text
2020-09-27 21:13:27 +02:00
Maximilian Krög
2a81a7a236
Add rendering test for multi world
2020-09-17 00:12:15 +02:00
mike-000
6cc063241a
Use pixelRatio 2
2020-09-01 09:29:42 +01:00
Andreas Hocevar
49a3f9ff58
Merge pull request #11413 from mike-000/patch-12
...
Include scale option in RegularShape and Circle style constructors
2020-08-10 09:44:08 +02:00
mike-000
722e0c5b69
Include scale in options
...
Add rectangle to example
Add ellipse and rectangle to rendering tests
2020-08-09 10:25:16 +01:00
mike-000
9468a088c0
ensure extent is valid when scale is negative
...
test large flipped icon in buffer zone
test hit detection for negative image scale
2020-08-07 10:26:38 +01:00
mike-000
95e506cf36
Apply context options in handleImageChange
...
update tests
add new tests
2020-08-01 16:07:58 +01:00
Andreas Hocevar
5a86e1aaa4
Add rendering test for rotated image vector clipping with intersection
2020-07-30 22:49:18 +02:00
Andreas Hocevar
2dd9342a98
Merge pull request #11267 from ahocevar/vectortile-label-rotation
...
Fix upright labels on vector tiles
2020-07-13 18:18:24 +02:00
Andreas Hocevar
6ec49d5ee0
Fix upright labels on vector tiles
2020-07-11 17:55:34 +02:00
Andreas Hocevar
a9b3a5bcc9
Only clamp to source projection extent
2020-07-07 10:12:47 +02:00
Andreas Hocevar
e4303c7b26
Merge pull request #11215 from ahocevar/flat-multipolygon
...
Fix MVT multipolygons with featureClass: Feature
2020-06-24 19:36:38 +02:00
Andreas Hocevar
18e2044b58
Add rendering tests for MVT, comparing with GeoJSON
2020-06-23 23:53:35 +02:00
mike-000
365b757856
test clipping with rotation
2020-06-17 12:15:39 +01:00
mike-000
272ae55345
test clipping with rotation
2020-06-17 11:31:10 +01:00
mike-000
a27e3486c6
test clipping with rotation
2020-06-17 11:20:29 +01:00
mike-000
e3a89a2e55
test clipping with rotation
2020-06-16 13:24:52 +01:00
mike-000
0747f44e4a
test clipping with rotation
2020-06-16 12:29:15 +01:00
Andreas Hocevar
323a472fbb
Merge pull request #11037 from mike-000/patch-11
...
Allow icon and text styles to be scaled in two dimensions
2020-06-13 10:00:06 +02:00
Andreas Hocevar
a7d824a44f
Update reference image
2020-06-09 09:44:10 +02:00
mike-000
cf0e650435
allow scale to be two dimensional
...
add getScaleArray() method
test two dimension scale icons
test two dimension scale text
add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
Tim Schaub
2e6dd3b251
Run tests as a GitHub CI workflow
2020-05-16 23:37:25 -06:00
mike-000
9a8b9d8ade
add Image source imageSmoothing option
...
Add Image smoothing checkbox to example
Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Tim Schaub
4d9975754f
Mapbox vector layer
2020-05-03 16:07:27 -06:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
mike-000
74ba208c22
test imageSmoothing: false without reprojection
2020-04-02 23:18:10 +01:00
mike-000
dd95d60c2e
test imageSmoothing: false without reprojection
2020-04-02 23:17:10 +01:00
mike-000
5ad788194e
remove prerender context setting
2020-04-02 22:30:08 +01:00
mike-000
1cd4d37c45
change option name to imageSmoothing
2020-04-02 18:44:07 +01:00
mike-000
7af9697b40
Merge branch 'master' into patch-4
2020-02-28 12:20:06 +00:00
Tim Schaub
341e482f30
Add rendering test for image style opacity
2020-02-18 18:31:57 -07:00
Frederic Junod
a4915d0ef6
Update expected image for layer-vectortile-rotate-hidpi rendering test
2020-02-03 09:40:05 +01:00
jkonieczny
78378f0253
refactor offset to displacement
2020-01-15 11:13:45 +01:00
jkonieczny
1506e13b60
use anchor for offsetting
2020-01-15 11:13:44 +01:00
mike-000
560931e976
Set reprojection canvas context options
...
Add example of disabling image smoothing
Add test for reprojection context options
2019-12-20 11:41:42 +00:00
Andreas Hocevar
cf6cd09f58
Bring back vector render mode for vector tile layers
2019-11-18 10:40:05 +01:00
Andreas Hocevar
bb6c02ae57
Update reference images
2019-11-18 10:19:53 +01:00
Andreas Hocevar
43d6247671
Add rendering test case
2019-11-01 22:23:34 +01:00
Andreas Hocevar
bb2bdb17aa
Render vector tile layers to a single canvas
2019-10-31 20:29:19 +01:00
Frederic Junod
2ce14a50a1
Add a rendering test case for text-align css property
2019-10-07 13:25:04 +02:00
Tim Schaub
b64ab8a6b2
Rendering test for immediate API with geographic coordinates
2019-09-30 08:52:07 -06:00
Olivier Guyot
28d157af56
Shader builder / add circle and triangle shapes for symbols
2019-09-26 16:30:19 +02:00
Olivier Guyot
607f2f0746
Merge pull request #9994 from jahow/add-webgl-layer-type
...
Add a new layer type: WebGLPointsLayer
2019-09-26 14:55:09 +02:00
Olivier Guyot
7da3b60061
Webgl Layer / rename literalStyle property to style
2019-09-26 14:44:32 +02:00
Olivier Guyot
9e55a8b2f0
Webgl / linting & test fixes
2019-09-25 17:22:36 +02:00
Tim Schaub
30cbbfea9d
Get simplified transformed geometry and load features in user projection
2019-09-24 17:45:04 +02:00
Tim Schaub
54d3af40dd
Transform the layer extent when a user projection is set
2019-09-23 17:23:20 +02:00
mike-000
dd9e2e1f0c
second attempt
2019-09-21 10:08:21 +01:00
mike-000
52125e7d9c
New test for Image layer with extent and rotation
...
Follow up for #9585/#9930
2019-09-21 00:26:53 +01:00