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
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
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
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
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
Frédéric Junod
7896fa894d
Merge pull request #9328 from fredj/cleanup
...
Mark layerFilter in AtPixelOptions as optional
2019-03-14 09:17:28 +01:00
Andreas Hocevar
d6f7533c76
Merge pull request #9325 from ahocevar/no-round
...
Create a more accurate origin for tile positioning
2019-03-14 09:12:19 +01:00
ahocevar
4a9d2e689e
Create a more accurate origin for tile positioning
2019-03-13 18:34:23 +01:00
Andreas Hocevar
df3d771c53
Merge pull request #9320 from RobertOrthofer/master
...
enhance tile-debug readability
2019-03-13 12:16:23 +01:00
Robert Orthofer
0aa14db88b
move stroke behind text to achieve halo
2019-03-13 09:31:01 +01:00
Andreas Hocevar
d75caaa3df
Merge pull request #9318 from ahocevar/smart-cache-size
...
Smart cache size
2019-03-13 08:17:24 +01:00
Andreas Hocevar
cfc79254d0
Merge pull request #9322 from ahocevar/render-to-source-resolution
...
Use closest lower source resolution for render tiles
2019-03-13 08:15:25 +01:00
ahocevar
ac0d67b273
Use closest lower source resolution for render tiles
2019-03-12 16:51:20 +01:00
Andreas Hocevar
17b37a90da
Merge pull request #9321 from KaiVolland/inheritdoc
...
Fixes #9294 (missing documention for methods with `@inheritDoc`)
2019-03-12 15:26:26 +01:00
Kai Volland
72d38fa929
Fixes missing methods with @inheritdoc
...
- This sets ignore to false if a method tagged with
inheritdoc has a matching ancestor. It also stops iterating
when a match is found.
- Outdated TODO is removed, too.
2019-03-12 15:07:03 +01:00
Robert Orthofer
a051892b92
enhance tile-debug readability
...
this commit enhances the readability of
tile debug coordinates by adding a stroke
for better readability on aerial imagery
and a maxWidth for high zoom levels
2019-03-12 12:48:26 +01:00
Tim Schaub
c573d53297
Merge pull request #9319 from tschaub/licensed
...
Add title to license to clarify that it is BSD 2-Clause
2019-03-12 04:21:54 -06:00
ahocevar
b4fc249991
Faster calculation of target size
...
Since usedTiles and wantedTiles will never have an overlap, we can use their
key count directly.
2019-03-12 08:53:52 +01:00
Frédéric Junod
c321c90497
Merge pull request #9300 from fredj/f9299
...
Fix documentation about zoomDelta for ol.interaction.default function
2019-03-12 08:31:30 +01:00
ahocevar
cb2b57232c
Add tests
2019-03-12 08:11:17 +01:00
Tim Schaub
90c3c1db81
Add title to license to clarify that it is BSD 2-Clause
...
The BSD 2-Clause License is a simplified version of the BSD 3-Clause License. This license was popularized by the FreeBSD project and is sometimes referred to as the "FreeBSD License" (see https://opensource.org/licenses/BSD-2-Clause and https://en.wikipedia.org/wiki/BSD_licenses#2-clause ). To clarify that the OpenLayers License uses the BSD 2-Clause License template, this change adds "The 2-Clause BSD License" to the top of our license file. In addition, this change makes our license a verbatim copy of the template at https://opensource.org/licenses/BSD-2-Clause with only the copyright holders added. This change is not intended to change the project's license, only to clarify the template used for that license. See https://lists.osgeo.org/pipermail/openlayers-dev/2011-May/007555.html for the original motion to switch to the BSD 2-Clause License (also known as the FreeBSD License).
2019-03-11 22:27:35 -06:00
ahocevar
11f5a4c5b8
Move tile specific methods to the tile layer renderer
2019-03-12 00:19:51 +01:00
ahocevar
0f217392d7
Adjust tile cache size when too small
2019-03-12 00:19:13 +01:00
Andreas Hocevar
b54b7c5989
Merge pull request #9305 from KaiVolland/fix-scaleline-test
...
Fixes failing tests for Chrome v74
2019-03-11 15:30:01 +01:00
Kai Volland
1348d76a33
Updates test renders
...
Rendering has changed due to change of browser test version.
2019-03-11 15:13:13 +01:00
Frederic Junod
4a13bf2fa9
Mark layerFilter in AtPixelOptions as optional
2019-03-11 15:11:16 +01:00
Frederic Junod
d71fa78ee2
Remove unused template tag
2019-03-11 15:10:32 +01:00
Frédéric Junod
c0d4cdbabf
Merge pull request #9315 from fredj/f9290
...
Change CSS class for tooltips in measure example
2019-03-11 14:37:43 +01:00
Frederic Junod
76aa26e3e9
Change CSS class for tooltips in measure example
2019-03-11 14:24:57 +01:00
Kai Volland
fcf6e81430
Fixes issue with ScaleLine
...
Math.pow with negative exponents is inaccurate in chrome v74. `toFixed`
is called on the result to fix this.
2019-03-11 13:31:49 +01:00
Andreas Hocevar
dfabcc0c66
Merge pull request #9137 from jahow/add-view-constrain-extent-2
...
Refactor the way view constraints are handled & add a view extent constraint
2019-03-11 10:38:31 +01:00
Andreas Hocevar
3282c74de6
Merge pull request #9311 from openlayers/greenkeeper/pbf-3.2.0
...
Update pbf to the latest version 🚀
2019-03-11 10:29:17 +01:00
Andreas Hocevar
dee36639bd
Merge pull request #9313 from ahocevar/interpolate-tests
...
Re-enable and fix disabled tests
2019-03-11 10:18:00 +01:00
Andreas Hocevar
5a578c00a7
Merge pull request #9314 from ahocevar/fix-transpile
...
Fix transpilation
2019-03-11 10:17:32 +01:00
ahocevar
e8243b73b5
Fix transpilation
2019-03-11 10:11:05 +01:00
ahocevar
404b04ae59
Re-enable and fix disabled tests
2019-03-11 09:30:04 +01:00
Andreas Hocevar
8a02a6f9f1
Merge pull request #9308 from ahocevar/vectortile-loader-projection
...
Simplify vector tile projection handling
2019-03-11 09:28:48 +01:00