ahocevar
681c3169c1
Add zDirection memeber to the baes class, for type checking
2019-03-21 18:50:03 +01:00
Lutz Helm
085c60af49
Remove tile source zDirection getter
...
The renderer now accesses the zDirection member directly if it exists.
This also has the advantage of not advertising any object methods that
hav no use for most tile sources.
2019-03-21 14:47:09 +01:00
Lutz Helm
2bf217207e
Test renderer behavior for Zoomify zDirection
...
The zDirection addition to the Zoomify tile source only takes effect through
the renderer, so these two renderer cases are added to test the behavior.
zoomify-no-zdirection expects the default behavior.
zoomify-zdirection expects the tiles for the next better resolution.
2019-03-21 11:51:42 +01:00
Lutz Helm
f5abb45de0
Add a zDirection option for Zoomify
...
Via zDirection, the renderer's selection of a tile source's resolution can be
controlled if the view's resolution does not match any tile source resolution.
Currently the zDirection option is only available for Zoomify. The comment
https://github.com/openlayers/openlayers/issues/9343#issuecomment-474341033
describes why caution is advised when using zDirection for other sources.
ol/source/Tile~TileSource#getZDirection has been added to avoid having the
getZDirection method solely in the Zoomify source - just to document the
possibility.
2019-03-21 10:06:22 +01:00
Tim Schaub
c4279ff665
Merge pull request #9333 from KaiVolland/unify-rendering-tests
...
Unify rendering tests
2019-03-20 08:34:54 -07:00
Frédéric Junod
ad5c9ac589
Merge pull request #9350 from fredj/cleanup_examples
...
Remove unnecessary css in examples
2019-03-19 16:21:51 +01:00
Andreas Hocevar
458f1d0f64
Merge pull request #9351 from ahocevar/default-styles
...
More efficient default styles
2019-03-19 15:56:49 +01:00
ahocevar
b06c84cef9
More efficient default stroke style
2019-03-19 13:58:20 +01:00
ahocevar
b33ceaa400
More efficient default fill color
2019-03-19 13:57:10 +01:00
Kai Volland
7510a19c73
Replaces vectorimage.tests.js (partially)
...
Transforms the old rendering tests for the VectorImageLayer
to the new rendering test approach.
The declutter tests are kept in the old format for know.
2019-03-19 11:30:45 +01:00
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
Frederic Junod
d5f92843a9
Remove unnecessary css in examples
2019-03-18 16:19:01 +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
Frédéric Junod
84bf801b52
Merge pull request #9346 from fredj/cleanup
...
Remove tilePixelRatio options from ol.source.VectorTile
2019-03-18 16:12:28 +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
Frederic Junod
72788187c8
Remove tilePixelRatio options from ol.source.VectorTile
...
Was removed in #7070
2019-03-18 14:35:58 +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
Frédéric Junod
e12a0ea0ff
Merge pull request #9345 from fredj/devDependencies
...
Update all dev dependencies
2019-03-18 11:53:01 +01:00
greenkeeper[bot]
508d980514
chore(package): update webpack-cli to version 3.3.0
2019-03-18 11:13:50 +01:00
greenkeeper[bot]
c52566a244
chore(package): update eslint to version 5.15.2
2019-03-18 11:13:02 +01:00
greenkeeper[bot]
5803727409
chore(package): update ol-mapbox-style to version 4.2.1
2019-03-18 11:12:50 +01:00
greenkeeper[bot]
1d88528686
chore(package): update buble to version 0.19.7
2019-03-18 11:12:39 +01:00
greenkeeper[bot]
3a4be21a25
chore(package): update copy-webpack-plugin to version 5.0.1
2019-03-18 11:12:11 +01:00
greenkeeper[bot]
16419b3281
chore(package): update pngjs to version 3.4.0
2019-03-18 11:11:58 +01:00
greenkeeper[bot]
6d50f43448
chore(package): update webpack-dev-middleware to version 3.6.1
2019-03-18 11:11:40 +01:00
greenkeeper[bot]
f1bfccbfe6
chore(package): update yargs to version 13.2.2
2019-03-18 11:10:50 +01:00
greenkeeper[bot]
a56e8719d3
chore(package): update url-polyfill to version 1.1.5
2019-03-18 11:10:15 +01:00
greenkeeper[bot]
85e2ffa63f
chore(package): update sinon to version 7.2.7
2019-03-18 11:09:57 +01:00
greenkeeper[bot]
1b91400ebc
chore(package): update karma to version 4.0.1
2019-03-18 11:08:53 +01:00
greenkeeper[bot]
48156af617
chore(package): update terser-webpack-plugin to version 1.2.3
2019-03-18 11:08:34 +01:00
greenkeeper[bot]
c510fe268b
chore(package): update webpack-dev-server to version 3.2.1
2019-03-18 11:08:19 +01:00
Kai Volland
912fb03564
Fixes RasterSource tests
...
Puppeteer/TestSuite seems to have
problems with webworker so threads is set
to 0
2019-03-18 10:33:05 +01:00
Andreas Hocevar
3f7c52c29f
Merge pull request #9342 from openlayers/greenkeeper/handlebars-4.1.1
...
Update handlebars to the latest version 🚀
2019-03-17 11:53:10 +01:00
Andreas Hocevar
9284ba47a4
Merge pull request #9341 from ahocevar/remove-unused
...
Remove unused ExecutorGroup methods
2019-03-17 11:46:08 +01:00
greenkeeper[bot]
4a405cc975
chore(package): update handlebars to version 4.1.1
2019-03-16 21:30:46 +00:00
ahocevar
5857117625
Remove unused ExecutorGroup methods
2019-03-16 21:29:49 +01:00
Frédéric Junod
75d9ade613
Merge pull request #9337 from fredj/codesandbox_div_size
...
Set map div size in example send to codesandbox
2019-03-15 15:15:59 +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
Frederic Junod
5f8450d67d
Set map div size in example send to codesandbox
2019-03-15 13:53:58 +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
Frédéric Junod
1637cffbe9
Merge pull request #9335 from openlayers/codesandbox_template
...
Create codesandbox using the 'parcel' template
2019-03-14 16:24:24 +01:00
Frederic Junod
2f28f89c59
Create codesandbox using the 'parcel' template
...
The default template is `create-react-app` and this one ignores the `head` tag defined in out `index.html`
2019-03-14 15:08:01 +01:00
Frédéric Junod
de7afee96d
Merge pull request #9329 from fredj/cluster_refresh
...
Don't refresh the layer after addFeatures call
2019-03-14 11:04:28 +01:00
Frederic Junod
92cb9f1c51
Don't refresh the layer after addFeatures call
2019-03-14 10:25:19 +01:00