Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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 0ebc023223 Test a rotated view 2018-11-10 08:31:36 -07:00
ahocevar b9aceb23ac Let renderer decide whether to snapToPixel or not, also for text 2018-08-09 18:16:58 +02: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
Frederic Junod 31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +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 c5a4be2edd Rename _ol_style_Text_ to Text 2018-01-11 13:25:48 -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
Tim Schaub 5337dc31d9 Rename _ol_layer_VectorTile_ to VectorTileLayer 2018-01-11 12:06:58 -07:00
Tim Schaub ecd1343d75 Rename _ol_source_VectorTile_ to VectorTileSource 2018-01-10 09:36:29 -07:00
Tim Schaub 312820ed4c Rename _ol_source_ImageStatic_ to Static 2018-01-10 09:36:28 -07:00
Tim Schaub 8c0a06b56a Rename _ol_source_XYZ_ to XYZ 2018-01-10 09:36:28 -07:00
Tim Schaub a66128caa9 Rename _ol_source_TileImage_ to TileImage 2018-01-10 09:36:28 -07:00
Tim Schaub 453b79dad7 Rename _ol_layer_Image_ to ImageLayer 2018-01-10 09:36:28 -07:00
Tim Schaub ca6ea355e6 Rename _ol_source_Vector_ to VectorSource 2018-01-10 09:36:28 -07:00
Tim Schaub 45c6e43b42 Rename _ol_layer_Vector_ to VectorLayer 2018-01-10 09:36:23 -07:00
Tim Schaub 1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Tim Schaub 22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Ron Young 9fa59d0735 rename map in tests 2017-12-21 23:11:42 -07:00
Marc Jansen 25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Tim Schaub cdf7b3276b Rename _ol_format_MVT_ to MVT 2017-12-17 02:00:48 -07:00
Tim Schaub 8656e794ff Rename _ol_format_GeoJSON_ to GeoJSON 2017-12-17 01:42:56 -07:00
Tim Schaub ac7985a5ad Rename _ol_geom_Circle_ to Circle 2017-12-14 08:57:52 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub 6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Andreas Hocevar 5a4887e300 Remove default export from ol/extent 2017-12-13 22:05:10 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar b66c0941f5 Merge pull request #7563 from ahocevar/declutter-box-precision
Use full precision for the declutter box
2017-12-11 10:51:31 +01:00
Andreas Hocevar a2d41da30f Use full precision for the declutter box 2017-12-11 10:18:46 +01:00
Andreas Hocevar e318b63dff Handle skipping and unskipping features with renderMode: 'image' 2017-12-10 23:54:46 +01:00
Andreas Hocevar 3bb62a2c41 Snap view center to pixel 2017-11-30 01:03:15 +01:00
Andreas Hocevar dde81d8585 Add renderMode option to ol.layer.Vector
This also deprecates ol.source.ImageVector.
2017-11-27 09:48:52 +01:00
Andreas Hocevar 006f8d49ec Reset rotation after rendering 2017-11-16 17:22:05 +01:00
Andreas Hocevar 29ebdde314 Test decluttering for vector tile layers 2017-10-31 11:33:48 +01:00