Commit Graph

1136 Commits

Author SHA1 Message Date
Frederic Junod 8c58bb4332 Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState' 2018-03-13 16:06:46 +01:00
Tim Schaub cf80733e41 Module type for ol/Feature 2018-03-12 08:32:09 -06:00
Tim Schaub ef70d71636 Module types for ol/geom 2018-03-12 08:32:09 -06:00
Andreas Hocevar 95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +01:00
Frederic Junod 3435ac575e Better type definition
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Frederic Junod 500a017faf Better code indentation 2018-03-05 15:36:40 +01:00
Tim Schaub b3d915629e Merge pull request #7914 from gberaudo/some_easy_window_cleanups
Some easy window cleanups
2018-03-03 13:04:30 -07:00
Frederic Junod b50a47114e Move the nullFunction to ol/functions
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
Guillaume Beraudo cfa9718df9 Remove window prefix
The prefix is unnecessary and prevent usage in web workers.
2018-02-28 23:22:18 +01:00
Kevin Schmidt 791f8b9917 Don't assume fill for canvas polygon hit detection.
This brings canvas polygon hit detection in parity with WebGL, where an
unfilled polygon will not be hit detected hovering inside the polygon.

Fixes #4846
2018-02-27 13:12:46 -07:00
Andreas Hocevar 445c49c1eb Add a unicode symbol for symbol font detection 2018-02-27 13:22:35 +01:00
Frédéric Junod 190449e816 Merge pull request #7871 from fredj/optim
Memory optimization
2018-02-21 16:35:27 +01:00
Frederic Junod 17a799059c Move the temporary array to the module level
No need to create a new variable for each instance.
2018-02-21 15:25:47 +01:00
Frederic Junod 2132229d68 Named exports from ol/render/canvas/ReplayGroup 2018-02-21 09:15:53 +01:00
Frederic Junod 16b732472f Named exports from ol/render/canvas/TextReplay 2018-02-21 09:13:33 +01:00
Tim Schaub fba4d82bdb Named exports from ol/geom/SimpleGeometry 2018-02-19 10:05:30 -07:00
Tim Schaub 4e0eaae9da Merge pull request #7840 from raiyni/render_webgl
More export renaming
2018-02-18 21:46:54 -07:00
raiyni 52e4222c4d assign object properties in brackets 2018-02-18 16:50:09 -06:00
Frederic Junod 4cad77089a Better code indentation 2018-02-16 14:34:00 +01:00
Andreas Hocevar fff957a199 Allow setting the label cache size 2018-02-16 11:36:58 +01:00
raiyni b5b3e256f8 ol/render/replay export 2018-02-15 22:54:02 -06:00
raiyni c715570f87 ol/render/webgl export 2018-02-15 22:35:59 -06:00
raiyni 1674eba2cd ol/webgl exports 2018-02-15 21:39:53 -06:00
Marc Jansen 183b8e29c4 Named exports from ol/transform 2018-02-15 17:55:54 +01:00
Tim Schaub 0948d4002f Named exports from ol/render/canvas 2018-02-14 09:43:20 -07:00
Tim Schaub d2c18a505a Merge pull request #7820 from raiyni/geom
ol/geom/flat/* exports
2018-02-14 04:07:09 -07:00
raiyni b2d920bbf1 ol/geom/flat/transform export 2018-02-13 09:22:00 -06:00
raiyni abf191289c ol/geom/flat/interpolate export 2018-02-13 09:05:12 -06:00
raiyni 6573b308b6 ol/geom/flat/orient export 2018-02-13 08:57:35 -06:00
raiyni 4575569238 ol/geom/flat/interiorpoint export 2018-02-13 08:11:05 -06:00
Frederic Junod 95dff19070 Add new canvas instruction array in ol/render/canvas/Instruction
Don't re-create the arrays on every replay group
2018-02-13 08:31:44 +01:00
raiyni 837490b4a4 ol/geom/flat/simplify export 2018-02-13 00:08:20 -06:00
raiyni 78b418ba9d ol/geom/flat/straightchunk export 2018-02-12 23:42:11 -06:00
raiyni 2550ab1691 ol/geom/flat/textpath export 2018-02-12 23:34:21 -06:00
raiyni 05a648d4f3 ol/geom/flat/length export 2018-02-12 23:27:38 -06:00
raiyni fd78aa9798 ol/geom/flate/inflate exports 2018-02-12 23:06:02 -06:00
Björn Harrtell 4b08987e53 Remove private statics from webgl related modules 2018-02-11 18:23:15 +01:00
Frederic Junod 6838d59e64 Remove private static members from ol/render/webgl/ReplayGroup 2018-02-10 09:08:47 +01:00
Frederic Junod 2e6bc97fd4 Remove private static members from ol/render/webgl/LineStringReplay 2018-02-10 09:08:47 +01:00
Frederic Junod 11f464f7ff Remove private static members from ol/render/canvas/ReplayGroup 2018-02-10 09:08:47 +01:00
Tim Schaub df93b15e2f Rename _ol_render_webgl_Immediate_ to WebGLImmediateRenderer 2018-02-09 06:58:46 -07:00
Frederic Junod 985fc3af47 Rename _ol_webgl_Vertex_ to WebGLVertex 2018-02-09 09:25:56 +01:00
Frederic Junod 96eba2bddf Rename _ol_webgl_Fragment_ to WebGLFragment 2018-02-09 09:23:28 +01:00
Frederic Junod 2b6a3aacef Don't create useless temporary variables 2018-02-09 09:17:40 +01:00
Frederic Junod e25e61c3b7 Rename location shader classes
And remove the now unneeded NAMESPACE variable
2018-02-08 15:18:11 +01:00
Frederic Junod 83d530e181 Named exports from WebGL shaders 2018-02-08 15:18:11 +01:00
Frederic Junod 2bf252ab0d Add MODULE variable in the glsl file 2018-02-08 15:18:11 +01:00
Frederic Junod 62b2900348 Rename _ol_webgl_Buffer_ to WebGLBuffer 2018-02-08 09:24:29 +01:00
Frederic Junod d1c11d50eb Rename _ol_webgl_Context_ to WebGLContext 2018-02-08 08:42:19 +01:00
Marc Jansen 3fee998108 Rename _ol_render_Box_ to RenderBox 2018-02-06 06:39:15 +01:00