Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub cd27a13a42 Show the main.js right below the map 2020-05-03 16:27:51 -06:00
Tim Schaub 4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06:00
Tim Schaub 1ae286e628 Update shelljs 2020-05-03 15:47:42 -06:00
Tim Schaub f10717b1fb Use a new cache key in hopes of fixing test failures
The next step in debugging our periodic rendering test failures is to use a new cache key.  This change also removes the less specific key, so we will no longer get partial cache restores.  If we don't see test failures after this change, we may try adding the v2-dependencies- as a key.
2020-04-14 15:32:38 -06:00
Tim Schaub 5e12fe9dc1 Store additional artifacts to debug test failures 2020-04-11 12:41:30 -06:00
Tim Schaub 054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Tim Schaub 0a6468d7ae Remove plugin for @inheritDoc 2020-04-04 13:57:48 +02:00
Tim Schaub dca694ccc9 Add sponsors section to the readme 2020-03-16 17:10:49 -06:00
Tim Schaub 341e482f30 Add rendering test for image style opacity 2020-02-18 18:31:57 -07:00
Tim Schaub 0f87df0ade Add the default to the type column 2019-10-26 17:27:04 -06:00
Tim Schaub 1c21853269 Avoid scrolling over navigation 2019-10-26 16:56:14 -06:00
Tim Schaub ffab886964 Keep issues assigned to a milestone from going stale 2019-10-26 13:10:16 -06:00
Tim Schaub 27cbbaf97b Less jumpy 2019-10-26 12:30:38 -06:00
Tim Schaub c0831cc64b Carbon add on API docs 2019-10-26 11:11:04 -06:00
Tim Schaub 6b4e00e6ac Remove description from type tag 2019-10-23 10:27:56 -06:00
Tim Schaub 10379920d2 Avoid toggling when clicking the title 2019-10-23 10:26:21 -06:00
Tim Schaub d7acbc40d5 Changes for 6.0.1 2019-09-30 12:35:08 -06:00
Tim Schaub b64ab8a6b2 Rendering test for immediate API with geographic coordinates 2019-09-30 08:52:07 -06:00
Tim Schaub 6c6c4ab1df Mark example as experimental 2019-09-30 08:45:44 -06:00
Tim Schaub d3b47c794e Make the immediate API work with a user projection 2019-09-30 08:28:50 -06:00
Tim Schaub 7c8b2215d4 Remove unused code 2019-09-29 07:05:48 -06:00
Tim Schaub d2b25533c2 Use the same spelling used elsewhere 2019-09-29 07:37:45 -05:00
Tim Schaub c984b28752 Remove unused test extensions 2019-09-28 12:02:48 -05:00
Tim Schaub 3b02f5597e Remove called assert extension 2019-09-28 18:55:38 +02:00
Tim Schaub c8456868bd Simplify the assertion 2019-09-27 23:49:57 +02:00
Tim Schaub 239f5745c1 Correct fail 2019-09-27 23:23:24 +02:00
Tim Schaub a996d62d46 Test snap with geographic coordinates 2019-09-27 14:12:10 +02:00
Tim Schaub 07678d960a User coordinates during snapping 2019-09-27 11:55:48 +02:00
Tim Schaub 55adb4ee33 6.0 notes and version bump 2019-09-26 23:14:56 +02:00
Tim Schaub 3f21bc5265 Replace without the newline 2019-09-26 21:25:58 +02:00
Tim Schaub 9efb6b07eb Collide less 2019-09-26 20:08:50 +02:00
Tim Schaub 443213e175 Show notice when using experimental features 2019-09-26 20:06:28 +02:00
Tim Schaub 3c7b129106 User coordinates during drawing 2019-09-26 19:29:19 +02:00
Tim Schaub e0d24d3af0 User coordinates during modification 2019-09-26 18:46:55 +02:00
Tim Schaub 8253c646b3 Add a rule to disallow describe.only() and it.only() in tests 2019-09-26 18:41:50 +02:00
Tim Schaub 53e2f432e7 Confirm zoomByDelta calls view.animate() 2019-09-26 18:30:16 +02:00
Tim Schaub 5d4e77151c Handle event coordinate in the user projection 2019-09-26 17:24:58 +02:00
Tim Schaub 1e27846d6d Use user projection for event coordinate 2019-09-26 17:23:39 +02:00
Tim Schaub 6ec69abdf6 Fewer type casts, minor changes 2019-09-26 16:15:08 +02:00
Tim Schaub 680372ac3f Return a new simplified geometry after modification 2019-09-25 17:26:22 +02:00
Tim Schaub 8f7f76188a Avoid error from tsc 2019-09-25 12:16:16 +02:00
Tim Schaub f4ba9dd9dc Add geographic tests for hasFeatureAtPixel and getFeaturesAtPixel 2019-09-25 10:18:46 +02:00
Tim Schaub 4a37483294 Rendering test instructions 2019-09-25 09:26:03 +02:00
Tim Schaub b1f0b6997b Additional changes to work with user projection 2019-09-24 19:58:53 +02:00
Tim Schaub 30cbbfea9d Get simplified transformed geometry and load features in user projection 2019-09-24 17:45:04 +02:00
Tim Schaub 5290486e23 Dev version based on time 2019-09-23 19:48:30 +02:00
Tim Schaub 54d3af40dd Transform the layer extent when a user projection is set 2019-09-23 17:23:20 +02:00
Tim Schaub 773ae437e4 Small tolerance by default 2019-09-23 16:48:22 +02:00
Tim Schaub 295c720645 Update to work with globby@10
With the globby v10 release, the shape of the file info object changed when requesting stats.

See https://github.com/mrmlnc/fast-glob#stats for details.
2019-09-23 15:34:24 +02:00
Tim Schaub 2f498c9f58 Set frame state extent when creating frame state 2019-09-23 13:57:48 +02:00
Tim Schaub c03c359a20 Separate internal and API methods for the view 2019-09-21 11:30:14 -06:00
Tim Schaub f73d0b16ec Support for a user projection 2019-09-21 11:21:05 -06:00
Tim Schaub 5dfa96d552 Workflow to publish a dev release 2019-09-12 12:40:28 -06:00
Tim Schaub eb294c78d1 Failing test 2019-08-18 08:58:59 +02:00
Tim Schaub 99462d3b53 Only get squared tolerance once per render 2019-08-17 07:10:10 -06:00
Tim Schaub c0e5c4b7fe 6.0.0-beta.14 2019-08-16 07:03:28 -06:00
Tim Schaub e94c7b6c39 Only set frameState.animate true if in transition and alpha < 1 2019-08-15 12:55:27 -06:00
Tim Schaub 2c69ad2bb4 Throw on non-numeric opacity values 2019-08-15 12:55:13 -06:00
Tim Schaub abda7f4f1d Separate lookups for source tiles by tile coord and tile key 2019-08-13 16:40:01 -06:00
Tim Schaub e8500c395c Run npm audit fix 2019-08-13 16:28:18 -06:00
Tim Schaub a9ad24cce2 6.0.0-beta.13 2019-08-12 21:22:15 -06:00
Tim Schaub d59eed5d3b Accept additional args when publishing 2019-08-07 00:01:57 -04:00
Tim Schaub dec44a7202 6.0.0-beta.12 2019-08-06 23:49:25 -04:00
Tim Schaub 65ad4932f4 Support zoom limits for layers 2019-08-06 21:19:09 -04:00
Tim Schaub 7464cedff7 6.0.0-beta.11 2019-06-24 17:06:04 -06:00
Tim Schaub 08c494dd11 Allow an arbitrary tag to be used as feature id 2019-06-24 12:01:12 -06:00
Tim Schaub deb00f20fe Include full filename in import specifier 2019-05-29 08:51:10 -06:00
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