Commit Graph
100 Commits
Author SHA1 Message Date
Frederic Junod 4f358f018b Add named exports for sortByZIndex function 2018-02-14 11:12:56 +01:00
Frederic Junod 4657003811 Add named exports for createStyleFunction function 2018-02-14 11:12:56 +01:00
Frederic Junod ac32311894 Add named exports for visibleAtResolution function 2018-02-14 11:12:56 +01:00
Frederic Junod 57d35e188c Don't store private constants into CanvasVectorTileLayerRenderer 2018-02-14 11:12:56 +01:00
Frédéric Junod 25a7b19902 Merge pull request #7824 from fredj/indent
Fix code indentation
2018-02-14 11:09:20 +01:00
Frederic Junod 096f53e716 Fix code indentation 2018-02-14 11:01:17 +01:00
Frédéric Junod 65d898c4fe Merge pull request #7821 from fredj/memory
Add new canvas instruction array in ol/render/canvas/Instruction
2018-02-13 15:41:10 +01: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
Frédéric Junod 71426f6416 Merge pull request #7816 from openlayers/optim
Use toString instead of asString in asColorLike
2018-02-12 10:00:10 +01:00
Frederic Junod 17455c2529 Use toString instead of asString in asColorLike
To avoid the double `typeof color === 'string'` check
2018-02-12 09:10:04 +01:00
Frédéric Junod 951aa927ee Merge pull request #7811 from fredj/rm_ol.FeatureStyleFunction
Remove ol.FeatureStyleFunction support
2018-02-12 08:20:10 +01:00
Frederic Junod 276d6a5dc5 Remove ol.FeatureStyleFunction support 2018-02-11 17:52:46 +01:00
Frédéric Junod 37d06c4860 Merge pull request #7812 from openlayers/greenkeeper/sinon-4.3.0
chore(package): update sinon to version 4.3.0
2018-02-11 10:40:31 +01:00
Frédéric Junod 33b8ea4a42 Merge pull request #7805 from fredj/unstatic-private
Remove private static members from constructors
2018-02-10 10:46:15 +01:00
Frederic Junod 84c74eec71 Remove private static members from ol/renderer/Map 2018-02-10 09:13:42 +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
Frederic Junod f5a4fcd3ac Remove private static members from ol/geom/GeometryCollection 2018-02-10 08:47:16 +01:00
Frédéric Junod c8117effda Merge pull request #7799 from fredj/memory
Use tmpSize to reduce garbage generation
2018-02-09 13:56:16 +01:00
Frédéric Junod 0a0d5f67bb Merge pull request #7788 from fredj/makefile
Fix shaders generation
2018-02-09 11:36:30 +01: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 74f7bdc3a8 Use tmpSize to reduce garbage generation 2018-02-08 15:49:11 +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 106059329d Fix module path in the shader templates 2018-02-08 15:18:11 +01:00
Frederic Junod 5f44d5e8e2 Fix indentation in shaderlocations.mustache 2018-02-08 15:18:11 +01:00
Frederic Junod e8c8c32cf3 Fix WebGL shader location in Makefile 2018-02-08 15:18:11 +01:00
Frédéric Junod 3d817ff7e7 Merge pull request #7789 from fredj/gl_buffer_usage
Use STATIC_DRAW as default WebGL buffer usage
2018-02-08 15:17:57 +01:00
Frederic Junod 744cea6421 Use STATIC_DRAW as default WebGL buffer usage 2018-02-08 15:00:30 +01:00
Frédéric Junod b55657b17f Merge pull request #7787 from fredj/rename
More renaming
2018-02-08 12:24:57 +01:00
Frederic Junod 3d9b1abe17 Rename _ol_webgl_Shader_ to WebGLShader 2018-02-08 09:24:29 +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
Frédéric Junod 3266ffc58f Merge pull request #7774 from fredj/memory
Pass destination extent to avoid garbage generation
2018-02-07 16:27:30 +01:00
Frederic Junod b2d3d142f0 Pass destination extent to avoid garbage generation 2018-02-07 14:52:54 +01:00
Frederic Junod 76cd52325d Fix getIntersection return value when an opt extent is provided
The return value was not an empty extent when the extents didn't intersect.
2018-02-07 14:49:10 +01:00
Frédéric Junod 44e842f33e Merge pull request #7763 from fredj/memory
Use the temporary extent in VectorTileLayer
2018-02-06 08:38:16 +01:00
Frederic Junod f16a2ef2f4 Fix jsdoc indentation 2018-02-05 14:52:33 +01:00
Frederic Junod 59c0297f3f Use the temporary extent in VectorTileLayer
Reduce garbage generation
2018-02-05 14:38:15 +01:00
Frédéric Junod 348afc4e44 Merge pull request #7761 from fredj/rename
Rename _ol_render_canvas_Instruction_ to CanvasInstruction
2018-02-05 13:57:06 +01:00
Frederic Junod 4504c422ae Rename _ol_render_canvas_Instruction_ to CanvasInstruction 2018-02-05 12:40:44 +01:00
Frédéric Junod a13f90abaf Merge pull request #7749 from fredj/f7035
Check if the sketch feature is defined in finishDrawing
2018-01-30 12:31:41 +01:00
Frederic Junod 70b0d5d1cc Check if the sketch feature is defined in finishDrawing
Fixes #7035
2018-01-30 09:57:05 +01:00
Frédéric Junod 4de6e49207 Merge pull request #7745 from fredj/named
More named exports
2018-01-27 07:04:18 +01:00
Frederic Junod 62bc7b75d7 Named exports from ol/geom/flat/flip 2018-01-26 16:33:02 +01:00
Frederic Junod d15c4ce511 Named exports from ol/geom/flat/segments 2018-01-26 16:29:40 +01:00
Frederic Junod d64b5c52a2 Named exports from ol/geom/flat/center 2018-01-26 16:24:41 +01:00
Frederic Junod aea39782fb Named exports from ol/geom/flat/contains 2018-01-26 16:03:29 +01:00
Frederic Junod 47015eba0c Named exports from ol/geom/flat/reverse 2018-01-26 15:45:17 +01:00
Frederic Junod 297fd14507 Named exports from ol/geom/flat/topology 2018-01-26 15:35:14 +01:00
Frederic Junod 135f713236 Named exports from ol/geom/flat/area 2018-01-26 15:31:04 +01:00
Frederic Junod e6a491856d Named exports from ol/geom/flat/geodesic 2018-01-26 15:26:40 +01:00
Frederic Junod 6da3e6e2c5 Rename _ol_events_KeyCode_ to KeyCode 2018-01-26 15:15:01 +01:00
Frédéric Junod 0d35a9700b Merge pull request #7743 from fredj/enableHighAccuracy
Set enableHighAccuracy in geolocation example
2018-01-26 12:24:24 +01:00
Frederic Junod 819ddd0e19 Set enableHighAccuracy in geolocation example 2018-01-26 09:39:25 +01:00
Frédéric Junod 1786bbbe80 Merge pull request #7735 from openlayers/greenkeeper/sinon-4.2.1
Update sinon to the latest version 🚀
2018-01-24 08:32:05 +01:00
Frédéric Junod 7fd942a04c Merge pull request #7724 from fredj/up_prism
Update prism library
2018-01-23 10:02:32 +01:00
Frédéric Junod a7764dacd9 Merge pull request #7729 from openlayers/greenkeeper/jquery-3.3.1
Update jquery to the latest version 🚀
2018-01-22 08:41:28 +01:00
Frédéric Junod 862c7faf2d Merge pull request #7727 from fredj/no_transition
Deactivate transition effect for semi transparent layer example
2018-01-22 08:39:32 +01:00
Frédéric Junod ded5de2a3d Merge pull request #7726 from fredj/named_ol_string
Named exports from ol/string
2018-01-22 08:39:19 +01:00
Frédéric Junod 04756b5eec Merge pull request #7728 from openlayers/greenkeeper/eslint-4.16.0
Update eslint to the latest version 🚀
2018-01-20 08:37:23 +01:00
Frederic Junod 8fc6641750 Deactivate transition effect for semi transparent layer example 2018-01-19 15:50:48 +01:00
Frederic Junod a114f64429 Named exports from ol/string 2018-01-19 15:38:21 +01:00
Frédéric Junod 6385f615c9 Merge pull request #7725 from fredj/double_comment
Remove extra comment
2018-01-19 13:43:36 +01:00
Frederic Junod 9417e88c15 Remove extra comment 2018-01-19 13:25:54 +01:00
Frédéric Junod 38eb5dc9d8 Merge pull request #7721 from fredj/rename
More renaming
2018-01-19 13:16:21 +01:00
Frederic Junod f638234bc6 Update prism library
To have better ES6 syntax highlighting.
The `from` keyword was not correctly rendered with our version.
2018-01-19 13:14:35 +01:00
Frederic Junod aeee8e67a9 Rename _ol_pointer_MsSource_ to MsSource 2018-01-18 15:50:27 +01:00
Frederic Junod b39a6f4cae Rename _ol_pointer_NativeSource_ to NativeSource 2018-01-18 15:50:27 +01:00
Frederic Junod e7bb9e8484 Rename _ol_pointer_TouchSource_ to TouchSource 2018-01-18 15:50:27 +01:00
Frederic Junod 107362b9fb Rename _ol_pointer_MouseSource_ to MouseSource 2018-01-18 15:50:27 +01:00
Frederic Junod d97151b825 Rename _ol_pointer_EventSource_ to EventSource 2018-01-18 15:50:27 +01:00
Frédéric Junod 313c5f7dc9 Merge pull request #7716 from fredj/var_scope
Better variables scoping
2018-01-18 14:46:27 +01:00
Frédéric Junod 2ee34b825c Merge pull request #7720 from openlayers/greenkeeper/mocha-5.0.0
Update mocha to the latest version 🚀
2018-01-18 08:36:39 +01:00
Frédéric Junod 98ebc570e9 Merge pull request #7698 from fredj/test_typo
Fix for loop in color test
2018-01-18 08:35:24 +01:00
Frederic Junod 039d4dc714 Better variables scoping 2018-01-17 16:07:36 +01:00
Frédéric Junod 4a6331377f Merge pull request #7713 from fredj/var_scope
Better variables scoping
2018-01-17 15:04:59 +01:00
Frédéric Junod e7819833c1 Merge pull request #7712 from openlayers/greenkeeper/sinon-4.1.6
Update sinon to the latest version 🚀
2018-01-17 11:19:21 +01:00
Frederic Junod 4c5ca75ca6 Better variables scoping 2018-01-17 10:54:18 +01:00
Frédéric Junod b963453439 Merge pull request #7709 from fredj/named
More named export
2018-01-17 08:20:49 +01:00
Frederic Junod 1c2ce4ff1c Named exports from ol/proj/projections 2018-01-16 15:31:36 +01:00
Frederic Junod 31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +01:00
Frederic Junod 40f97eed85 Named exports from ol/uri 2018-01-16 13:35:27 +01:00
Frederic Junod 14eeaf88dc Named exports from ol/render 2018-01-16 13:35:27 +01:00
Frederic Junod 66d9ef872c Fix color regexp to not match 7 hex digit 2018-01-16 09:08:16 +01:00
Frederic Junod 974f9391f2 Normalize color in place to reduce garbage generation 2018-01-16 08:39:06 +01:00
Frederic Junod 5ade602183 Remove 'rgb(255.0,0,0)' from the invalid color list
`rgb(255.0,0,0)` is a valid color value
2018-01-16 08:38:23 +01:00
Frederic Junod bb0904f20d Fix invalid named color detection
If the named color is invalid, the value is not stored into the property.
2018-01-16 08:37:53 +01:00
Frederic Junod dc5b2a4ea0 Fix for loop in color test 2018-01-16 08:36:57 +01:00
Frédéric Junod c7570d052c Merge pull request #7705 from fredj/rename
More renaming
2018-01-15 14:49:25 +01:00
Frederic Junod 106fe3c138 Rename _ol_format_WMTSCapabilities_ to WMTSCapabilities 2018-01-15 10:26:36 +01:00
Frederic Junod 3de2085cce Rename _ol_render_webgl_TextReplay_ to WebGLTextReplay 2018-01-15 10:20:55 +01:00
Frederic Junod a7e4768d4e Rename _ol_render_webgl_PolygonReplay_ to WebGLPolygonReplay 2018-01-15 10:19:35 +01:00
Frederic Junod f1987befbd Rename _ol_render_webgl_LineStringReplay_ to WebGLLineStringReplay 2018-01-15 10:11:46 +01:00
Frederic Junod 2139db7437 Rename _ol_render_canvas_LineStringReplay_ to CanvasLineStringReplay 2018-01-15 10:09:32 +01:00
Frederic Junod 73db907e99 Rename _ol_render_canvas_PolygonReplay_ to CanvasPolygonReplay 2018-01-15 10:08:31 +01:00