Commit Graph

2258 Commits

Author SHA1 Message Date
Tim Schaub 1ae6921e53 Make view.setHint() trigger change 2016-11-14 10:18:39 -07:00
Tim Schaub 15c4dadbaf Merge pull request #6120 from tschaub/hint-changed
Set interacting hint during trackpad scroll
2016-11-14 10:17:12 -07:00
Marc Jansen 9af73a1588 Allow max 16 decimals for alpha when parsing rgba 2016-11-14 08:40:39 +01:00
Tim Schaub 5b85f8ecc9 Render on view changes 2016-11-13 10:25:20 -07:00
Tim Schaub 51cab63032 Merge pull request #6113 from tschaub/scroll-zoom
Smooth trackpad zooming
2016-11-12 15:00:05 -07:00
Tim Schaub 455b28d2fa Merge pull request #6105 from tschaub/feature-loader
Move vector tile loader functions into vector tile module
2016-11-12 14:55:53 -07:00
Tim Schaub 489d37d384 Use representative wheel delta values in the tests 2016-11-12 12:07:57 -07:00
Tim Schaub 7f01de9261 Reset hint first and notify of change when cancelling animations 2016-11-11 06:31:26 -07:00
Tim Schaub a20bd72aa9 Move loader functions and response handlers to tile module 2016-11-11 05:35:20 -07:00
Tim Schaub 97d942c8e2 Correctly prune completed animation series 2016-11-10 10:18:42 -07:00
Andreas Hocevar 2d711a59b5 Merge pull request #6099 from tchandelle/modify-test
Modify interaction tests : check for change events
2016-11-10 15:53:58 +01:00
Andreas Hocevar 61df657cfb Merge pull request #6069 from tchandelle/translate-no-features
If there is no features option, all features will be translated.
2016-11-10 13:32:52 +01:00
Thomas Chandelle 5d214567ab Add test for Translate interaction, without features option 2016-11-09 14:36:25 +01:00
Thomas Chandelle af82f972da Check for middle events
Most of the times, there is only 3 events. This loop is supposed to
check the middle one, but never does;
2016-11-09 14:25:33 +01:00
Tim Schaub 7fde4a48f4 Test that zoom is preferred over resolution 2016-11-06 16:48:04 -07:00
Tim Schaub 6f08498684 Run animations in series 2016-11-06 10:06:58 -07:00
Tim Schaub da8eb97f54 Use the animating hint 2016-11-06 09:13:59 -07:00
Tim Schaub 5fb9a2ebf8 Test animation callback 2016-11-06 07:53:19 -07:00
Tim Schaub c452164b8a Ensure that all animations complete 2016-11-05 17:31:49 -06:00
Andreas Hocevar 0f58fa32eb Merge pull request #6068 from ahocevar/geojson-write-transform
Fix GeoJSON writeGeometry tests
2016-11-03 14:54:36 +01:00
Andreas Hocevar 3656529252 Fix GeoJSON writeGeometry tests 2016-11-03 14:44:04 +01:00
Andreas Hocevar fb1a8335ac Do not draw circle when pointer not moved 2016-11-03 12:59:36 +01:00
greenkeeperio-bot 71ebed07bf chore(package): update eslint to version 3.9.1
https://greenkeeper.io/
2016-11-01 11:51:06 +01:00
oterral f369ea2e29 Set constants of KML format even if a default style is provided 2016-10-28 14:53:44 +02:00
Frederic Junod e0a9910d4e Add new timeout option to ol.interaction.MouseWheelZoom
And remove the `ol.MOUSEWHEELZOOM_TIMEOUT_DURATION` define.
2016-10-28 09:07:42 +02:00
Björn Harrtell 9d5453a927 Test to validate sketch polygon 2016-10-27 18:56:11 +02:00
Marc Jansen f973eaa24d Test that ol.obj.assign throws on undefined/null 2016-10-24 10:39:48 +02:00
Frederic Junod 0a2b145fd5 Remove unused ol.extent.empty function 2016-10-21 14:25:46 +02:00
Frederic Junod 0f8d26d829 Remove unused ol.extent.touches function 2016-10-21 14:23:31 +02:00
Frederic Junod 2a1a9ec337 Remove unused ol.extent.isInfinite function 2016-10-21 14:22:37 +02:00
Frederic Junod 5627a467cd Remove unused ol.extent.normalize function 2016-10-21 14:20:33 +02:00
Frederic Junod 88cebbf6c1 Remove projection param in ol.VectorTile constructor 2016-10-20 12:36:12 +02:00
Frederic Junod e8bc38b6a9 Use a mock format instead of ol.format.MVT in tests 2016-10-20 12:36:12 +02:00
Frederic Junod 61fcc4a326 Only test ol.format.MVT if ArrayBuffer.isView is supported 2016-10-20 12:18:23 +02:00
Andreas Hocevar 8fb6b6b6e6 Fix mockup of tile layer to keep drawImage arguments in range 2016-10-19 19:48:48 +02:00
Marc Jansen 3ce93a51ed Always load a gated URL polyfill when testing
Otherwise the tests fail to run in MS Edge, whose user agent doesn't
trigger the inclusion of the polyfill without `always`.
2016-10-19 15:12:24 +02:00
Frederic Junod e853f1ed2a Remove the vertex on ol.interaction.Modify deactivation 2016-10-19 11:06:29 +02:00
Marc Jansen 2c200dcf5f Setup a loaded image with src for TileLayer test 2016-10-19 09:56:16 +02:00
Tim Schaub 9b12cac5c6 Convenience function for drawing box-shaped polygons 2016-10-16 15:54:15 -06:00
Tim Schaub 92583542eb Merge pull request #5975 from tschaub/freehand-finish
Finish drawing on pointerup when in freehand mode
2016-10-16 01:30:17 -06:00
Tim Schaub 100c42e671 Use https for services.arcgisonline.com 2016-10-16 00:25:47 -06:00
Tim Schaub 9875df39bf Use https for openlayers.org 2016-10-16 00:16:15 -06:00
Tim Schaub 8f57ebd2c6 Finish drawing on pointerup when in freehand mode 2016-10-15 13:47:34 -06:00
Tim Schaub 1c8ed12b68 Assert that the freehand option properly sets the condition 2016-10-15 05:45:23 -06:00
Bart van den Eijnden df4f2ff28d Add getters to BingMaps source for api key and imagerySet 2016-10-12 16:04:10 +02:00
Tim Schaub 0d686fe88b Corrected test description 2016-10-11 13:55:37 -06:00
Tim Schaub 309b2145cf Allow readFeature and readFeatures to be called with geometries 2016-10-10 13:31:19 -06:00
Andreas Hocevar f23921367b Use a common origin and resolution factors for tile alignment 2016-10-10 10:25:29 +02:00
Tim Schaub 321c65b023 Keep transformed coordinates within valid y range 2016-10-05 07:26:41 -06:00
Tim Schaub 4b6e907f69 Accept feature projection in GeoJSON constructor 2016-09-26 22:56:07 -06:00