Commit Graph

20124 Commits

Author SHA1 Message Date
Benjamin f73ee14e3c Added image data value to 'forEachLayerAtPixel' method callback
The update has been added to the docs for all 'forEachLayerAtPixel' definitions
and currently returns null for non-supporting definitions. ol.Color typeDef
was also updated to support Uint8Arrays & Uint8ClampedArrays as it is the
reference type for the addded argument #5586
2016-08-12 12:13:11 -04:00
Peter Robins de910916e6 Fix typo in tilegrid/wmts 2016-08-12 16:25:01 +01:00
Andreas Hocevar 7b2bdbc064 Create a check-example task for smarter example checking with PhantomJS 2016-08-12 12:05:47 +02:00
Tobias Sauerwein 7b62f13eb6 Merge pull request #5714 from tsauerwein/renderBuffer-docs
Add FAQ entry about renderBuffer
2016-08-12 09:22:48 +02:00
tsauerwein b906fd5348 Add faq entry about renderBuffer 2016-08-12 09:02:26 +02:00
Andreas Hocevar 18ac300ed1 Merge pull request #5713 from ahocevar/check-examples-http
Check examples with http protocol instead of file
2016-08-12 08:46:41 +02:00
Andreas Hocevar 58a8e7d352 Check examples with http protocol instead of file 2016-08-11 23:07:27 +02:00
Andreas Hocevar 30ed4a29c8 Fix winding order for raster reprojection triangles
On Firefox/Linux, calling clip() without closePath() requires this.
2016-08-11 15:56:52 +02:00
Andreas Hocevar 9d80116bf0 Remove closePath() where clip() is used
clip() does an implicit closePath(), see
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Compositing#Clipping_paths
2016-08-11 15:56:52 +02:00
Andreas Hocevar 370c0c0846 Do not close the ring when we use closePath() 2016-08-11 15:56:52 +02:00
Andreas Hocevar a4f69f32d7 Avoid expensive closePath() when it makes no visual difference 2016-08-11 15:56:52 +02:00
Andreas Hocevar 274593feef Add rendering test for closed paths 2016-08-11 15:56:52 +02:00
Pierre GIRAUD 12cc5db0a8 Merge pull request #5689 from pgiraud/translate_interaction
Fix cursor change in translate interaction
2016-08-11 14:31:21 +02:00
Andreas Hocevar 4b68df73a8 Do not expose ol.MapBrowserPointerEvent to the docs 2016-08-09 16:13:57 +02:00
Pierre GIRAUD bac39d3996 Fix cursor change in translate interaction 2016-08-09 16:01:51 +02:00
Andreas Hocevar a9c54e0c02 Fix event type and documentation of ol.events.condition.mouseOnly 2016-08-09 15:55:14 +02:00
Frédéric Junod c0efa21d7f Merge pull request #5165 from fredj/rm_goog.addSingletonGetter
Remove goog.addSingletonGetter function
2016-08-09 13:55:25 +02:00
Frederic Junod ce3346a477 Rename ol.style.IconImageCache to ol.style.IconImageCache_ 2016-08-09 13:25:07 +02:00
Frederic Junod fbb585c5d8 Remove goog.addSingletonGetter function 2016-08-09 11:28:02 +02:00
Frédéric Junod 41a0c6ed39 Merge pull request #5701 from openlayers/greenkeeper-phantomjs-prebuilt-2.1.11
Update phantomjs-prebuilt to version 2.1.11 🚀
2016-08-09 10:31:07 +02:00
Tim Schaub 6e0ff4c4c2 Merge pull request #5698 from tschaub/no-unused-requires
Custom rule to identify unused goog.require() calls
2016-08-08 18:23:49 -06:00
Tim Schaub 568f0c81bb Move wrapX to ol.tilegrid to break circular dependency 2016-08-08 13:48:54 -06:00
Tim Schaub 789aeb1c64 Toward a fix for ol.tilegrid 2016-08-08 10:22:28 -06:00
Tim Schaub 7ea7610892 Global strict mode for rules and Node tests 2016-08-08 09:58:12 -06:00
Tim Schaub 3a1bbc4248 Get rid of ol.render.IReplayGroup interface 2016-08-08 09:58:12 -06:00
Tim Schaub ddbe0516d2 Ignore unused requires in MVT examples 2016-08-08 09:58:11 -06:00
Tim Schaub 7d29b35e75 Put rendering test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub dd2e9c9ac9 Refactored rules 2016-08-08 09:58:11 -06:00
Tim Schaub c203f6a841 Remove unused requires from tests 2016-08-08 09:58:11 -06:00
Tim Schaub ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub 29990abc7e Remove unused goog.requires() from the examples (minus MVT examples) 2016-08-08 09:58:11 -06:00
Tim Schaub 123605f21b Make no-unused-requires rule fixable 2016-08-08 09:58:11 -06:00
Tim Schaub 907a65ab83 Remove unused goog.require() calls in the source 2016-08-08 09:58:10 -06:00
Tim Schaub 3c7e9f6870 Custom rule to identify unused goog.require() calls 2016-08-08 09:58:10 -06:00
greenkeeperio-bot 9db3231bc5 chore(package): update phantomjs-prebuilt to version 2.1.11
https://greenkeeper.io/
2016-08-08 08:39:47 -06:00
Frédéric Junod fe35c05860 Merge pull request #5699 from openlayers/greenkeeper-mocha-3.0.2
Update mocha to version 3.0.2 🚀
2016-08-08 11:55:57 +02:00
greenkeeperio-bot 9fe4ae2b96 chore(package): update mocha to version 3.0.2
https://greenkeeper.io/
2016-08-08 02:30:58 -06:00
Tim Schaub f222711bd8 Merge pull request #5697 from tschaub/lint
Re-enable ESLint config
2016-08-07 13:48:23 -06:00
Tim Schaub feb7713225 Remove lint 2016-08-07 13:28:19 -06:00
Tim Schaub 4373f1bd54 Run ESLint on all files (catch new linter changes) 2016-08-07 13:15:22 -06:00
Tim Schaub 9f23e96976 Avoid shadowing ESLint config in package.json 2016-08-07 13:05:36 -06:00
Tim Schaub fa80967a1e Merge pull request #5693 from tschaub/one-provide
Reorganize files so they are named like their default export
2016-08-07 11:20:32 -06:00
Tim Schaub 02ff448d33 Test that files are named like their default export 2016-08-07 10:55:50 -06:00
Tim Schaub b1593124ba Put the primary provide first 2016-08-07 10:49:13 -06:00
Tim Schaub 4460147291 Allow ol/typedefs.js to be missing a provide 2016-08-07 10:49:13 -06:00
Tim Schaub b47dc998a3 More WebGL name corrections 2016-08-07 10:49:12 -06:00
Tim Schaub f5cbfdff04 Move ol/ol.js to ol/index.js 2016-08-07 10:49:12 -06:00
Tim Schaub 295abebcec Additional upgrade notes 2016-08-07 10:49:12 -06:00
Tim Schaub 12e81e5487 Clean up WebGL provides 2016-08-07 10:49:12 -06:00
Tim Schaub 1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -06:00