Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub 6288744d70 Configure Stale app
See https://github.com/organizations/openlayers/settings/installations/1008384
2019-05-20 17:56:30 -06:00
Tim Schaub c0339f167b Use mode from the loader context
See https://github.com/webpack/webpack/pull/9140.
2019-05-20 10:33:59 -06:00
Tim Schaub c860f15f91 Break the circular dependency by extending a pluggable map 2019-05-17 12:38:32 -06:00
Tim Schaub c10fd7aaab Avoid overwriting longname for getUid 2019-05-17 12:00:10 -06:00
Tim Schaub 908ecb39e3 Description below @abstract trips up JSDoc 2019-05-16 16:10:30 -06:00
Tim Schaub 6cad19e9d5 Description below @module trips up JSDoc 2019-05-16 16:09:30 -06:00
Tim Schaub 0d489f2ea9 Minify worker in examples for a production build 2019-05-16 10:41:33 -06:00
Tim Schaub d49e166506 Minify worker source 2019-05-16 10:35:18 -06:00
Tim Schaub ee9a0bcd05 Stop listening for image decoding 2019-05-16 08:06:12 -06:00
Tim Schaub b7b37f9548 Add worker loader to the tests 2019-05-15 16:49:54 -06:00
Tim Schaub 05f13bb363 Add worker loader to the examples 2019-05-15 16:49:38 -06:00
Tim Schaub e307410301 A task to inline workers 2019-05-15 16:38:06 -06:00
Tim Schaub f312706269 Remove unnecessary parts from the Mapbox layer example 2019-05-15 08:26:43 -06:00
Tim Schaub 217c6ba764 Avoid panning off the edge of the world 2019-05-14 20:15:51 -06:00
Tim Schaub 09fdd30876 Upgrade to rbush@3 2019-05-14 18:43:08 -06:00
Tim Schaub 811e5f60eb Document existing error event type 2019-05-14 14:28:00 -06:00
Tim Schaub b1ea0fec50 Name the module like the module 2019-05-14 13:58:04 -06:00
Tim Schaub 6413badada Avoid header expanding over examples 2019-05-02 18:31:56 -06:00
Tim Schaub 284c1dff83 Try downgrading Node for JSDoc 2019-05-01 10:03:17 -06:00
Tim Schaub d166c79242 Build API docs in CI job 2019-05-01 09:06:40 -06:00
Tim Schaub 0f998b4522 Link to the extent event instead of the extent event type 2019-04-28 16:36:33 -06:00
Tim Schaub 2cdfcf8b21 Latest jsdoc plugin for event longnames 2019-04-28 16:26:14 -06:00
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