Kai Volland
ac3a2d960a
Replaces tile.tests.js (partially) with new tests
...
Transforms the old rendering tests for the TileLayer
to the new rendering test approach.
The render-listener test is kept in the old format for know.
2019-03-18 16:39:37 +01:00
Kai Volland
fc878fd539
Replaces vectortile.tests.js with new tests
...
Transforms the old rendering tests for the VectorTileLayer
to the new rendering test approach.
2019-03-18 16:15:58 +01:00
Kai Volland
f555048319
Replaces vector.tests.js with new tests
...
Transforms the old rendering tests for the LayerVector
to the new rendering test approach.
2019-03-18 15:39:48 +01:00
Kai Volland
6759641715
Replaces image.tests.js with new tests
...
Transforms the old rendering tests for the ImageLayer
to the new rendering test approach.
2019-03-18 13:56:45 +01:00
Kai Volland
58cebcc97f
Replaces tilewms.tests.js with new tests
...
Transforms the old rendering tests for the TileWMSSource
to the new rendering test approach.
2019-03-15 14:30:23 +01:00
Kai Volland
3f8da79893
Replaces raster.tests.js with new tests
...
Transforms the old rendering tests for the RasterSource
to the new rendering test approach.
2019-03-15 14:04:23 +01:00
Kai Volland
d89b909187
Replaces text.tests.js with new tests
...
Transforms the old rendering tests for the TextStyle
to the new rendering test approach.
2019-03-15 12:11:13 +01:00
Kai Volland
f79b358c92
Replaces regularshape.tests.js with new tests
...
Transforms the old rendering tests for the regularshape
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Kai Volland
e4ef5c789c
Removes map.tests.js renders
2019-03-15 10:42:47 +01:00
Kai Volland
d871196e16
Removes linestring.test.js
...
Removes linestring.test.js and related pngs as linestring
style is already tested with the new approach.
2019-03-15 10:42:47 +01:00
Kai Volland
595b74d04e
Replaces map.tests.js with new tests
...
Transforms the old rendering test for the Map
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Kai Volland
de0f5d44a3
Replaces circle.tests.js with new tests
...
Transforms the old rendering test for the CircleStyle
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Frederic Junod
1338a868e9
Remove setDeclutter function
...
Changing the declutter value after the layer creating doesn't work, remove the function to avoid confusion.
2019-02-27 11:41:08 +01:00
Olivier Guyot
72cf7b13fa
removed existing webgl rendering unit tests
2018-11-16 14:05:04 +01:00
Frederic Junod
0ed7f76ad0
Port polygon-style rendering test
2018-11-16 13:40:11 +01:00
Florent gravin
f9c64e52af
Add rendering test for vector tile layer rotation w/ layer on top
2018-11-15 18:16:58 +01:00
Florent gravin
7630fafcf2
Add rendering test for vector tile layer rotation
2018-11-15 17:32:50 +01:00
Florent gravin
12f6ce7a44
Add rendering test for vector tile layer
2018-11-15 15:53:06 +01:00
Florent gravin
ebbb54456a
Add rendering test for layer 2 tiles extent clipping
2018-11-15 15:20:36 +01:00
Florent gravin
081c677ea2
Add rendering test for layer tile simple
2018-11-15 15:20:36 +01:00
Florent gravin
fc85b2ba78
Add rendering test for layer tile transition
2018-11-15 15:20:36 +01:00
Frederic Junod
6e964c7934
Port render-toContext rendering test
2018-11-15 11:27:48 +01:00
Frederic Junod
488a104a92
Port icon-symbol-svg rendering tests
2018-11-14 16:26:10 +01:00
Tim Schaub
a69eeceeba
Switch map and layer constructor in tests
...
The webgl tests do not run currently (which is why these have not been failing).
2018-11-12 14:54:12 +01:00
Tim Schaub
2ec509fbca
Add an image vector layer for rendering vectors to an image
2018-11-12 14:54:11 +01:00
Tim Schaub
f67e5642ab
Rendering test for an icon
2018-11-10 09:36:23 -07:00
Tim Schaub
0ebc023223
Test a rotated view
2018-11-10 08:31:36 -07:00
Benjamin Vigie
f8b0eb9648
Increase linestring textalign test tolerance to be Firefox compliant.
2018-09-28 10:42:17 -04:00
ahocevar
b9aceb23ac
Let renderer decide whether to snapToPixel or not, also for text
2018-08-09 18:16:58 +02:00
Guillaume Beraudo
fe86d2e7f7
Expose original getGutter
...
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).
- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
which is also more explicit.
The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
ahocevar
ce97cee6a6
Accept polygons and flat coordinates in MultiPolygon constructor
2018-07-07 17:31:35 +02:00
ahocevar
a09b6c91c9
Accept linestrings and flat coordinates in MultiLineString constructor
2018-07-07 17:01:39 +02:00
ahocevar
160f1bc286
Accept flat coordinates in LineString constructor
2018-07-07 16:04:43 +02:00
ahocevar
1da43d90af
Allow flat coordinates for Polygon constructor
2018-07-07 14:16:39 +02:00
ahocevar
7cfa65b8c3
Align patterns and gradients to a grid
2018-05-22 16:05:32 +02:00
Tim Schaub
81693cefbf
Correct type for Icon options
2018-04-19 18:11:12 -06:00
Nicholas L
7097b530f3
Rename extent
2018-02-19 20:33:03 +13:00
Tim Schaub
9ed3881f34
Named exports from ol/tilegrid
2018-02-09 09:30:16 -07:00
Tim Schaub
6701d19a45
Named exports from ol/proj/epsg3857
2018-02-07 12:44:02 -07:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00
Frederic Junod
14eeaf88dc
Named exports from ol/render
2018-01-16 13:35:27 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
14ddcf843d
Rename _ol_style_Circle_ to CircleStyle
2018-01-11 13:27:54 -07:00
Tim Schaub
16c8d2c246
Rename _ol_style_RegularShape_ to RegularShape
2018-01-11 13:26:51 -07:00
Tim Schaub
c5a4be2edd
Rename _ol_style_Text_ to Text
2018-01-11 13:25:48 -07:00
Tim Schaub
fb22c587f8
Rename _ol_style_Icon_ to Icon
2018-01-11 13:25:01 -07:00
Tim Schaub
f4484455aa
Rename _ol_style_Stroke_ to Stroke
2018-01-11 13:24:13 -07:00
Tim Schaub
dc6ae2293d
Rename _ol_style_Fill_ to Fill
2018-01-11 13:23:27 -07:00
Tim Schaub
4f4c90fc20
Rename _ol_style_Style_ to Style
2018-01-11 13:22:43 -07:00