Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod 831c7621c7 Merge pull request #9102 from openlayers/f_9100
Use dom-to-image library in export-pdf example
2019-01-07 13:08:31 +01:00
Frederic Junod d426e80c6b Use dom-to-image library in export-pdf example
fixes #9100
2019-01-07 10:35:56 +01:00
Frédéric Junod cf6b1ca1cc Merge pull request #9072 from fredj/rm_layerStates
Remove 'layerStates' property from the FrameState
2019-01-07 10:11:52 +01:00
Frederic Junod a0f15e1eb6 Only schedule the unused layers renderer removal when it's needed 2018-12-21 10:37:03 +01:00
Frederic Junod 3193de0906 Only schedule the icon cache expire when it's needed 2018-12-19 14:34:22 +01:00
Frederic Junod a4fe067aad Create a layer state map instead of an array of uids 2018-12-19 12:45:39 +01:00
Frederic Junod 016d738269 Move frameState test on top in removeUnusedLayerRenderers_ 2018-12-18 13:34:19 +01:00
Frederic Junod 5d1c27d05d Don't create an array of managed layers 2018-12-18 13:17:00 +01:00
Frederic Junod 1750ff43e0 Always schedule unused layers removal function 2018-12-18 09:49:47 +01:00
Frederic Junod 5195adea85 Remove 'layerStates' property from the FrameState 2018-12-18 09:49:38 +01:00
Frédéric Junod 348186e2f8 Merge pull request #9068 from fredj/mvt_types
Use 'PBF' type instead of 'Object' in ol/format/MVT
2018-12-17 17:02:11 +01:00
Frederic Junod 3b57f6693c Use 'PBF' type instead of 'Object' 2018-12-17 10:30:48 +01:00
Frederic Junod 483c442621 Remove suppress jsdoc tags 2018-12-17 09:55:28 +01:00
Frédéric Junod b4bd447d34 Merge pull request #9066 from fredj/transformGeometryWithOptions
Rework transformWithOptions
2018-12-17 08:29:58 +01:00
Frederic Junod d838de32b7 Rework transformWithOptions
Create one function per input/output type: `transformGeometryWithOptions` and `transformExtentWithOptions`.
2018-12-16 08:28:26 +01:00
Frédéric Junod b546eafeae Merge pull request #9064 from fredj/rm_atlas
Remove Atlas, AtlasManager and getChecksum functions
2018-12-14 14:56:23 +01:00
Frederic Junod 2e1ab8234e Add note in upgrade-notes about the AtlasManager removal 2018-12-14 13:00:35 +01:00
Frederic Junod 0ec769c234 Remove getChecksum functions 2018-12-14 13:00:35 +01:00
Frederic Junod 1bb1e3c542 Remove Atlas and AtlasManager 2018-12-14 13:00:35 +01:00
Frédéric Junod 193749f4fd Merge pull request #9063 from oterral/master
Fix module name
2018-12-14 09:15:11 +01:00
Frédéric Junod e426af29c2 Merge pull request #9056 from fredj/rm_typecast
Remove typecast for object literals
2018-12-12 16:25:41 +01:00
Frédéric Junod 68d4d244f3 Merge pull request #9057 from fredj/feature_like
Use FeatureLike typedef
2018-12-12 16:24:52 +01:00
Frederic Junod 39a21f177d Use FeatureLike typedef 2018-12-12 15:03:54 +01:00
Frederic Junod 29702e3750 Remove type cast in ol/structs/LRUCache 2018-12-12 14:48:24 +01:00
Frederic Junod 056568c936 Remove type cast in ol/render/canvas/TextBuilder 2018-12-12 14:47:46 +01:00
Frederic Junod d2cae9d3b7 Remove type cast in ol/style/AtlasManager 2018-12-12 14:45:51 +01:00
Frederic Junod 701e19c1c9 Remove type cast in ol/interaction/Snap 2018-12-12 14:43:51 +01:00
Frederic Junod 4010a644c0 Remove type cast in ol/format/EsriJSON 2018-12-12 14:41:12 +01:00
Frederic Junod 480b064f5d Remove type cast in ol/events 2018-12-12 14:29:18 +01:00
Frédéric Junod daa92c105d Merge pull request #9055 from fredj/less_typecast
Remove type cast in ol.View
2018-12-12 14:10:59 +01:00
Frederic Junod b1602877d9 Remove type cast in ol.View 2018-12-12 12:54:41 +01:00
Frédéric Junod 89af80241e Merge pull request #9045 from openlayers/rm_CANVAS_LINE_DASH
Remove CANVAS_LINE_DASH from ol/has
2018-12-07 13:54:19 +01:00
Frederic Junod b3520f8217 Remove CANVAS_LINE_DASH from ol/has
Test if `context.setLineDash` is defined instead.
2018-12-07 13:15:23 +01:00
Frédéric Junod bbbed30848 Merge pull request #9044 from openlayers/indent
Fix comments indentation
2018-12-07 13:06:27 +01:00
Frederic Junod 1be17e44a2 Fix comments indentation 2018-12-07 11:57:58 +01:00
Frédéric Junod d0f03f1257 Merge pull request #9043 from openlayers/examples_types
Fix type notation in examples
2018-12-07 11:15:17 +01:00
Frederic Junod 457e7b96dd Remove extra param to function 2018-12-07 11:00:05 +01:00
Frederic Junod 759b317707 Fix type notation in examples 2018-12-07 10:55:26 +01:00
Frederic Junod cd3e65e3df Remove unneeded type cast in examples 2018-12-07 09:55:09 +01:00
Frédéric Junod 76bd75ebb1 Merge pull request #9042 from openlayers/opt_onBoxEnd
Change onBoxEnd property in DragBox options to optional
2018-12-07 09:36:27 +01:00
Frederic Junod bade38ecc8 Change onBoxEnd property in DragBox options to optional 2018-12-07 09:17:34 +01:00
Frédéric Junod aad836dfb2 Merge pull request #9012 from fredj/misc
Change projection and urls properties in sources options to optional
2018-11-29 07:08:21 +01:00
Frederic Junod 769d7dd732 Change urls property in TileArcGISRest to optional
The `urls`property is optional if `url` is defined.
2018-11-28 16:00:56 +01:00
Frederic Junod 28bdbeb869 Change projection property in sources options to optional
The `projection` property is not mandatory, the view's projection is used if not provided.
2018-11-28 15:59:47 +01:00
Frederic Junod 4caabee792 Fix ExecutorGroup.js file location in comments
`src/ol/render/ExecutorGroup.js` was removed in #9003
2018-11-27 17:13:54 +01:00
Frederic Junod 63de0aefbe Remove '.js' from the imports 2018-11-27 17:00:18 +01:00
Frederic Junod 4a3f70c09b Revert "Simplify import path in examples"
This reverts commit 79c8afdba8.
2018-11-27 16:49:55 +01:00
Frédéric Junod eaa29b2e63 Merge pull request #9005 from fredj/examples_import
Simplify import path in examples
2018-11-27 13:50:38 +01:00
Frederic Junod 79c8afdba8 Simplify import path in examples
To have the same path (starting with `ol/`, without `.js`) as in the documentation.
The support was added in the webpack config in #8928
2018-11-26 17:18:52 +01:00
Frédéric Junod 4910933a9b Merge pull request #8996 from fredj/image-vector-ratio
Add imageRatio option for VectorImage layers
2018-11-23 14:29:51 +01:00
Frederic Junod e66a84c897 Add imageRatio option for VectorImage layers 2018-11-22 09:38:08 +01:00
Frédéric Junod 5951e147c0 Merge pull request #8995 from fredj/vec_render_mode
Remove leftover comments and code for 'vector' render mode
2018-11-22 08:44:37 +01:00
Frederic Junod cb44775306 Remove leftover comments and code for 'vector' render mode 2018-11-21 16:58:27 +01:00
Frédéric Junod 60b3370bba Merge pull request #8994 from fredj/misc
Set projection property in sources options to optional
2018-11-21 16:52:34 +01:00
Frederic Junod a8799e1d60 Fix typo 2018-11-21 16:23:54 +01:00
Frederic Junod 087b024a24 Change projection property in sources options to optional
The `projection` property is not mandatory, the view's projection is used if not provided.
2018-11-21 16:23:29 +01:00
Frédéric Junod 5d14666376 Merge pull request #8980 from fredj/cleanup
Change travis references to circleci in doc
2018-11-19 15:53:36 +01:00
Frederic Junod da8ee157b8 Remove Makefile entry in editorconfig 2018-11-19 13:11:19 +01:00
Frederic Junod 18eef152c4 Change travis references to circleci in doc 2018-11-19 13:09:55 +01:00
Frédéric Junod 066e5b7ed3 Merge pull request #8978 from openlayers/greenkeeper/webpack-4.26.0
Update webpack to the latest version 🚀
2018-11-19 11:40:33 +01:00
Frédéric Junod 140e8b59bb Merge pull request #8968 from fredj/Object.values
Use Object.values if available
2018-11-18 00:16:01 +01:00
Frédéric Junod d030f092a2 Merge pull request #8967 from fredj/ts_checks_fix_webgl
Fix webgl types in ol/webgl/PostProcessingPass
2018-11-17 16:54:20 +01:00
Frederic Junod 4a3a53c725 Use Object.values if available
As `Object.values`, the arguments now can't be `null` or `undefined`.
2018-11-17 14:59:36 +01:00
Frederic Junod 42a8c7983f Fix webgl types in ol/webgl/PostProcessingPass 2018-11-17 11:20:11 +01:00
Frédéric Junod 06ae175cef Merge pull request #8964 from fredj/col_evt_index
Add index to the Collection events
2018-11-17 11:00:19 +01:00
Frédéric Junod 93140d9495 Merge pull request #8915 from fredj/layer_zIndex
Use CSS z-index to order layers
2018-11-17 10:59:54 +01:00
Frédéric Junod c39471aa93 Merge pull request #8966 from openlayers/greenkeeper/rollup-0.67.3
Update rollup to the latest version 🚀
2018-11-17 10:27:13 +01:00
Frederic Junod a64ca2b4bf Use CSS z-index to order layers 2018-11-17 09:03:59 +01:00
Frédéric Junod 97ed71f683 Merge pull request #8963 from openlayers/greenkeeper/rollup-0.67.2
Update rollup to the latest version 🚀
2018-11-17 08:46:15 +01:00
Frederic Junod 6219e31e40 Add index to the Collection events 2018-11-17 08:43:35 +01:00
Frederic Junod 98a780e5f9 Add missing '.js' in import 2018-11-16 14:57:17 +01:00
Frederic Junod 0189e8345d Remove WebGL references in comments 2018-11-16 14:05:06 +01:00
Frédéric Junod 9937fd5963 Merge pull request #8952 from fredj/polygon-style_tests
Port polygon-style rendering test
2018-11-16 13:52:52 +01:00
Frédéric Junod 2e32ac7254 Merge pull request #8939 from fredj/rework_d3_example
Use ol/layer/Layer instead of ol/source/ImageCanvas in d3 example
2018-11-16 13:45:30 +01:00
Frederic Junod 0ed7f76ad0 Port polygon-style rendering test 2018-11-16 13:40:11 +01:00
Frédéric Junod 2cb9d47547 Merge pull request #8957 from fredj/misc
Fix JSdoc type cast format
2018-11-16 11:25:16 +01:00
Frederic Junod e991dcc38c Fix JSdoc type cast format 2018-11-16 11:12:17 +01:00
Frederic Junod bf9171a689 Add examples/d3.css 2018-11-16 10:47:07 +01:00
Frederic Junod 178061ab9d Use ol/layer/Layer instead of ol/source/ImageCanvas in d3 example 2018-11-15 18:30:39 +01:00
Frédéric Junod 5bbfeef12b Merge pull request #8953 from fredj/ci_order
Store rendering artifacts immediately after run tests
2018-11-15 17:42:33 +01:00
Frederic Junod 00d9740a58 Store rendering artifacts immediately after run tests 2018-11-15 17:36:34 +01:00
Frederic Junod 05bf1d8f4a Remove the resolutions list in sphere-mollweide example 2018-11-15 17:12:40 +01:00
Frédéric Junod d7a6c4dbe3 Merge pull request #8950 from fredj/shx
Use shx to run unix commands in package.json
2018-11-15 17:12:01 +01:00
Frederic Junod 52f4f61a6c Use shx to run unix commands in package.json 2018-11-15 15:52:35 +01:00
Frédéric Junod d0f66b7cec Merge pull request #8943 from fredj/text-style-tests
Port text style rendering tests
2018-11-15 15:20:11 +01:00
Frederic Junod 63b04210ab Allow tolerance to be passed to the render function 2018-11-15 12:51:15 +01:00
Frederic Junod 87c721b071 Port text style rendering tests 2018-11-15 12:51:15 +01:00
Frédéric Junod 0d94b1a566 Merge pull request #8940 from jahow/fix-overview
Make layers mandatory in the OverviewMap control
2018-11-15 12:18:29 +01:00
Frédéric Junod 96dd5417e3 Merge pull request #8938 from fredj/render-toContext-tests
Port render-toContext rendering test
2018-11-15 11:31:13 +01:00
Frederic Junod 68b4ef5ec8 Store rendering artifacts 2018-11-15 11:27:48 +01:00
Frederic Junod 6e964c7934 Port render-toContext rendering test 2018-11-15 11:27:48 +01:00
Frédéric Junod 50ae34fcc6 Merge pull request #8941 from fredj/render_message
Rendering tests render message
2018-11-15 10:36:16 +01:00
Frederic Junod f295a97894 Rendering tests render message 2018-11-14 21:37:45 +01:00
Frédéric Junod aa841c7de2 Merge pull request #8933 from fredj/icon-symbol-svg
Port icon-symbol-svg rendering test
2018-11-14 20:42:33 +01:00
Frederic Junod bed9c6b09a Don't add mapbox-gl into dependencies 2018-11-14 16:34:36 +01:00
Frederic Junod 488a104a92 Port icon-symbol-svg rendering tests 2018-11-14 16:26:10 +01:00
Frédéric Junod 7a472321c4 Merge pull request #8930 from fredj/better_export_example
Give the layers container a CSS class name
2018-11-14 16:24:12 +01:00
Frédéric Junod 4adcb5ae6c Merge pull request #8914 from fredj/layer_className
Add new className property to ol/layer/Base
2018-11-14 16:23:56 +01:00
Frédéric Junod 19541699c3 Merge pull request #8910 from fredj/containsXY
Implements containsXY for all geometries
2018-11-14 16:23:26 +01:00
Frédéric Junod f9a7cf2251 Merge pull request #8932 from fredj/dt_pbf
Add pbf TypeScript type definitions
2018-11-14 14:02:38 +01:00