Tim Schaub
b3e770226f
Smaller scope
2019-04-28 16:03:54 -06:00
Tim Schaub
981328576f
Remove unused classes lookup
2019-04-28 16:00:43 -06:00
Tim Schaub
3b1a415d6b
Call the color callback once per feature
2019-04-28 14:09:31 -06:00
Tim Schaub
d5b868f4a6
Version without v
2019-04-22 09:22:20 -06:00
Tim Schaub
17081fac46
Bump to v6.0.0-beta.6
...
The version must point to an existing tag for published examples to work.
2019-04-22 09:15:27 -06:00
Tim Schaub
58c4c9ebb8
Remove unnecessary closure and fix uniform type
2019-04-19 14:33:43 -07:00
Tim Schaub
a16234faaa
Allow color callback without third arg
2019-04-19 13:57:40 -07:00
Tim Schaub
154265a2d9
Fewer calls to the color callback
2019-04-19 13:49:53 -07:00
Tim Schaub
22774b4821
Bump to 6.0.0-beta
2019-04-18 10:09:58 -07:00
Tim Schaub
fc0ed7b96f
Skip the header and bad data
2019-04-17 16:26:40 -07: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
Tim Schaub
36cf654f09
Full type definition for image vector layer options
2019-02-25 08:37:30 -07:00
Tim Schaub
0f5439e16e
Add upgrade notes regarding internal tile coordinates
2018-11-21 11:53:12 -07:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Tim Schaub
37c987de0a
Move quadKey function to the one place it is used
2018-11-21 10:10:51 -07:00
Tim Schaub
8b50c3c6cb
Pass along the ability to measure and cache text width
2018-11-19 15:34:48 -07:00
Tim Schaub
2131cc460c
Dash delimited lower case words describe the cases
2018-11-19 14:03:51 -07:00
Tim Schaub
7036064ffc
Add tiles to avoid 404s in rendering tests
2018-11-19 13:50:52 -07:00
Tim Schaub
9863e25f5e
Only try to run cases with main.js
2018-11-19 13:49:50 -07:00
Tim Schaub
e4b00be9d6
Add labels to issue templates
2018-11-19 11:37:49 -07:00
Tim Schaub
898c349fbf
Stacking contexts for layers, overlays, and controls
2018-11-19 11:00:33 -07:00
Tim Schaub
5d528dca3b
Target, source arg order for make* transform functions
2018-11-17 16:28:29 +01:00
Tim Schaub
c169fec4a8
Invert and set transform in one step
2018-11-17 16:28:28 +01:00
Tim Schaub
06a0a7f33b
Use the inverse pixel transform when clipping and getting pixel data
2018-11-17 16:28:28 +01:00
Tim Schaub
1cc49e0b23
Clearer function name for getting a render pixel
2018-11-17 16:28:28 +01:00
Tim Schaub
af10f6a75c
Use the inverse pixel transform in pre/post render events
2018-11-17 16:28:28 +01:00
Tim Schaub
686847f491
Make forward and inverse pixel transforms during render
2018-11-17 16:28:27 +01:00
Tim Schaub
db1f432197
Function for making a scale transform
2018-11-17 16:28:27 +01:00
Tim Schaub
63cf21b668
Dedicated function for inverting a transform without modifying the source
2018-11-17 16:28:27 +01:00
Tim Schaub
6c4845a304
Upgrade notes
2018-11-16 18:32:12 +01:00
Tim Schaub
358d86c33e
Raster source listens for layer change
2018-11-16 18:10:10 +01:00
Tim Schaub
5aa8db15f4
Lint
2018-11-16 16:25:39 +01:00
Tim Schaub
6cfb8f275b
Fix magnify example
2018-11-16 16:16:28 +01:00
Tim Schaub
d6add33df0
Use map and new method
2018-11-16 14:58:02 +01:00
Tim Schaub
a490c658fb
Overscale canvas if sources have non-zero min zoom
2018-11-16 14:57:18 +01:00
Tim Schaub
9eb5808844
Test that postrender is dispatched (again)
2018-11-16 14:57:18 +01:00
Tim Schaub
96437e3875
Test prerender and postrender events for a vector layer
2018-11-16 14:57:18 +01:00
Tim Schaub
3ecc6d60d2
The forEachLayerAtPixel method calls getDataAtPixel for each layer renderer
2018-11-16 14:57:17 +01:00
Tim Schaub
47ecd508fa
Test hybrid mode in vt constructor
2018-11-16 14:57:17 +01:00
Tim Schaub
038f122d11
Clip tile layers by extent
2018-11-16 14:57:17 +01:00
Tim Schaub
b3bcf7dac1
Add 2% tolerance to vector rendering tests
2018-11-16 14:57:17 +01:00
Tim Schaub
4a3dbb0e24
Use the main map in rendering tests
2018-11-16 14:57:17 +01:00
Tim Schaub
358f58ba3a
Doc for transform toString function
2018-11-16 14:57:14 +01:00
Tim Schaub
cc9b7b6259
Work around a TypeScript issue with inheritdoc
2018-11-16 14:57:14 +01:00
Tim Schaub
5ad73f8bbd
Implement getDataAtPixel for all layer renderers
2018-11-16 14:57:14 +01:00
Tim Schaub
832dadb3af
Dedicated transforms
2018-11-16 14:57:14 +01:00
Tim Schaub
ac3a1fb953
Dispatch layer changed event when layer needs a re-render
2018-11-16 14:57:13 +01:00
Tim Schaub
7a82904a3b
Unused intermediate canvas renderer
2018-11-16 14:57:13 +01:00
Tim Schaub
666f57bd4c
Unused transforms
2018-11-16 14:57:13 +01:00
Tim Schaub
32495388b9
Transform origin top left
2018-11-16 14:57:13 +01:00
Tim Schaub
aa4237539f
Provide a pixel transform from the tile renderer
2018-11-16 14:57:13 +01:00
Tim Schaub
bc347e3eb0
Provide a pixel transform to render events
2018-11-16 14:57:12 +01:00
Tim Schaub
f90efac131
Smaller canvas when rotating vector layers
2018-11-16 14:57:11 +01:00
Tim Schaub
26de43de0c
Unused imports
2018-11-16 14:57:11 +01:00
Tim Schaub
ed7825e13a
Render vector images
2018-11-16 14:57:11 +01:00
Tim Schaub
8b077c66d8
Rotate images
2018-11-16 14:57:11 +01:00
Tim Schaub
b5378deb45
Create context in the canvas layer base class
2018-11-16 14:57:11 +01:00
Tim Schaub
33f6d6f110
One fewer transform
2018-11-16 14:57:11 +01:00
Tim Schaub
a9f98f2b1e
Rotation for image layers
2018-11-16 14:57:10 +01:00
Tim Schaub
8822690cf4
Work with sources that have a max zoom
2018-11-16 14:57:10 +01:00
Tim Schaub
6edac64b81
Use the regular map in the rendering tests
2018-11-16 14:56:50 +01:00
Tim Schaub
f9ebb0c917
Return two canvases from the vector tile layer renderer
2018-11-16 14:56:50 +01:00
Tim Schaub
c137b68938
Dispatch pre-render before rendering
2018-11-16 14:56:50 +01:00
Tim Schaub
610fcab79e
Dispatch pre and post render events
2018-11-16 14:56:49 +01:00
Tim Schaub
489af4023d
Work with high dpi tiles
2018-11-16 14:56:49 +01:00
Tim Schaub
87e5bbac4d
Image layer renderer
2018-11-16 14:56:49 +01:00
Tim Schaub
20e5841aed
Remove vector mode for vector tile rendering
2018-11-16 14:56:48 +01:00
Tim Schaub
39a4f42e3d
Resize canvas to handle rotation
2018-11-16 14:56:48 +01:00
Tim Schaub
6234b69512
Handle opacity and rotation in canvas intermediate renderer
2018-11-16 14:56:48 +01:00
Tim Schaub
5ba8795355
Tile layer rendering with the composite renderer
2018-11-16 14:56:48 +01:00
Tim Schaub
433ab97d1c
End of composeFrame
2018-11-16 14:56:48 +01:00
Tim Schaub
f416cf742d
Workaround for raster source
2018-11-16 14:56:48 +01:00
Tim Schaub
c612cce591
Give the map some height for the box tests
2018-11-16 14:56:47 +01:00
Tim Schaub
f2cab1fcbb
Give the map some height for scale line tests
2018-11-16 14:56:47 +01:00
Tim Schaub
b3903df156
Use the composite renderer
2018-11-16 14:56:47 +01:00
Tim Schaub
edeb5d3e71
Remove unused getLayerRenderersByKey method
2018-11-15 12:36:31 +01:00
Tim Schaub
3f624ec0c0
Make map methods tolerant of layers without renderers
2018-11-15 12:35:54 +01:00
Tim Schaub
0e91365859
Make the tile debug source useful for understanding tiles
2018-11-14 15:58:08 +01:00
Tim Schaub
c74d80504e
Serve sourcemaps from webpack
2018-11-14 15:51:56 +01:00
Tim Schaub
c3c5b3b314
Use local data for rendering tests
2018-11-13 13:37:14 +01:00
Tim Schaub
432b74d64d
Apply all transforms in the layer renderer
2018-11-12 20:57:36 +01:00
Tim Schaub
55a963e0a9
Move canvas creation to intermediate canvas renderer constructor
2018-11-12 20:57:07 +01:00
Tim Schaub
edaa615333
Less typing to run the examples
2018-11-12 18:33:07 +01:00
Tim Schaub
afc64258af
Support for rotation
2018-11-12 18:33:02 +01:00
Tim Schaub
8bf252e70f
Handle layer opacity in the composite renderer
2018-11-12 15:16:06 +01:00
Tim Schaub
a9b2952be4
Add support for running a subset of rendering tests
2018-11-12 14:54:52 +01:00
Tim Schaub
dc05f48294
Use composite renderer in linestring test
2018-11-12 14:54:52 +01:00
Tim Schaub
43ed2c1764
Composite renderer
2018-11-12 14:54:52 +01:00
Tim Schaub
fc6882f146
Utility method for efficiently managing child nodes
2018-11-12 14:54:12 +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
ca5b0c63a5
Remove LayerType
2018-11-12 14:54:11 +01:00
Tim Schaub
c50b9b2c25
Fix examples that use WebGLMap
2018-11-12 14:54:11 +01:00
Tim Schaub
f6b838c635
Make webgl layer renderers dependencies of webgl layers
2018-11-12 14:54:11 +01:00
Tim Schaub
7374e32007
Canvas layer renderers are now dependencies of layers
2018-11-12 14:54:11 +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
ae1f3afd66
Base for tile layers, renderer-specific tile layer types
2018-11-12 14:54:11 +01:00
Tim Schaub
285a610c46
Base for image layers, renderer-specific image layer types
2018-11-12 14:54:10 +01:00
Tim Schaub
c9529b9acd
Create the appropriate renderer for vector tile layers
2018-11-12 14:54:10 +01:00
Tim Schaub
7ffaa134c7
Conditionally get renderer from the layer
2018-11-12 14:54:10 +01:00
Tim Schaub
6c052c0dab
Split vector layer into Canvas and WebGL implementations
2018-11-12 14:54:09 +01:00