Commit Graph

213 Commits

Author SHA1 Message Date
Frédéric Junod 19fd3d6987 Merge pull request #5152 from fredj/cartodb_cleanup
Cartodb cleanup
2016-04-04 09:38:41 +02:00
Frederic Junod c9aff61110 Fix ol.source.Zoomify tests on firefox 2016-04-01 13:36:43 +02:00
Frederic Junod fb6353a816 Fix olx.source.CartoDBOptions definition 2016-04-01 10:44:31 +02:00
Frederic Junod 548e4abd35 Support minZoom in ol.source.Stamen 2016-04-01 09:46:36 +02:00
Alessandro Isaacs 8389c16315 Add CartoDB tile source. 2016-03-30 11:45:20 -07:00
Marc Jansen f4b4e26f19 Add some tests for ol.source.TileUTFGrid 2016-03-30 16:46:35 +02:00
Marc Jansen 399d8ce326 Add tests for ol.source.Zoomify 2016-03-23 09:22:17 +01:00
Marc Jansen df4f1c1389 Accept simpler attributions in sources 2016-03-11 09:04:06 +01:00
Frederic Junod 4157882f2e Add new ol.source.TileJSON#getTileJSON function 2016-03-09 10:55:19 +01:00
Tim Schaub 34d8d77344 Merge pull request #4963 from tschaub/xhr-failures
Handle more XHR errors in the TileJSON source
2016-03-02 15:40:43 -07:00
Tim Schaub 1877910b7e Handle more XHR errors in the TileJSON source 2016-03-02 14:42:28 -07:00
Tim Schaub 1925e39b69 Allow tests to be ignored by feature 2016-03-02 13:20:37 -07:00
Tim Schaub efdc892219 Run ol.source.Raster tests in Phantom 2016-03-01 13:50:31 -07:00
Tim Schaub 5aa175241a No need to check for ImageData constructor in the tests 2016-03-01 13:43:55 -07:00
Andreas Hocevar 9b8ab88e41 Merge pull request #4917 from ahocevar/flexible-cluster
Make ol.source.Cluster more flexible by adding a geometryFunction option
2016-02-29 10:40:12 +01:00
Andreas Hocevar 0407e779f9 Make ol.source.Cluster more flexible by adding a geometryFunction option 2016-02-25 15:02:41 +01:00
Sebastian Baumhekel 7fcf2650ee Allow to refresh a source and reload its data.
Provide an API to refresh a source and reload its data in an associated
layer, as for example already loaded tiles in a ol.source.Tile source
are not refreshed. Additionally a test for the new
ol.source.Source.refresh() function is provided.

Currently internal state is not cleaned up, e.g. already loaded tiles
in a `ol.source.Tile` source are still cached and not reloaded at all.

github issue #4867 (https://github.com/openlayers/ol3/issues/4867)
2016-02-25 08:05:56 +01:00
Tim Schaub 02904cda8e Guard against handlers handling events after done 2016-02-23 13:13:15 -07:00
Tim Schaub 24b7b27836 Listen once when calling done 2016-02-23 13:10:47 -07:00
Tim Schaub 9da8cd890e Simpler alias 2016-02-23 13:06:38 -07:00
Tim Schaub eaab8e47ce More cleanup 2016-02-23 12:57:39 -07:00
Tim Schaub b440872e60 Less crazy indentation 2016-02-23 12:50:33 -07:00
Tim Schaub 247eb62e3b Avoid shadowing 2016-02-23 12:48:27 -07:00
Andreas Hocevar 8e489304c1 Stricter check for ImageData constructor 2016-02-23 19:43:06 +01:00
Andreas Hocevar c2d4bf113d Fix tests so they all pass in IE9 2016-02-23 18:21:22 +01:00
Tim Schaub 72ea0ecfd8 Remove remaining goog.object use from tests 2016-02-04 06:54:45 -07:00
Andreas Hocevar 00116b7c74 Merge pull request #4711 from ahocevar/no-goog-events
Removal of goog.events.*
2016-02-03 14:05:32 +01:00
Guillaume Beraudo 42df157a04 Add test for URL template expansion 2016-02-03 12:49:12 +01:00
Andreas Hocevar 136c8af878 Add tests and documentation for ol.net.jsonp
ol.net.Jsonp was renamed to ol.net.jsonp, because it is not a constructor.
2016-02-03 11:19:38 +01:00
Andreas Hocevar f35d0106b8 Remove goog.net.* and goog.async.AnimationDelay 2016-02-03 11:19:38 +01:00
Andreas Hocevar 3f2d79b7fe Replace goog.events.Event/EventTarget system with our own
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Andreas Hocevar 86c7f950d6 Add setUrl tests 2016-01-19 13:40:47 +01:00
Tim Schaub 13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub 534124ec2f Lint free rendering tests 2016-01-11 18:56:09 -08:00
Tim Schaub cca86886f1 Define variables before use 2016-01-11 18:56:07 -08:00
Tim Schaub 3602a37c96 Remove this commit with ESLint 2.0 2016-01-11 18:56:07 -08:00
Tim Schaub 3f23dfb87b Indentation 2016-01-11 18:56:07 -08:00
Tim Schaub 179b241aec Declare variables before assignment 2016-01-11 18:56:07 -08:00
Tim Schaub f0fc4d4e73 Curly brace spacing 2016-01-11 18:56:06 -08:00
Petr Sloup bc0d783f50 Use XHR by default to load TileJSON in ol.source.TileJSON 2016-01-07 09:19:23 +01:00
Bart van den Eijnden 992870e2d2 Allow specifying non default DPI on ol.source.TileArcGISRest 2015-12-09 15:27:20 +01:00
Bart van den Eijnden 46b7f80fef Skip tests for ol.format.MVT in IE9 2015-11-24 14:43:40 +01:00
Andreas Hocevar 890b515e44 Conditionally skip ol.source.Raster tests 2015-11-24 14:43:40 +01:00
Bart van den Eijnden a2d7f56933 Fix up ol.source.TileWMS tests in IE 2015-11-23 10:38:19 +01:00
Bart van den Eijnden b338c77726 Fix up ol.source.TileArcGISRest tests in IE 2015-11-23 10:23:54 +01:00
Frederic Junod aef097e348 Check ol.source.UrlTile#urls property for null value
Fixes #4446
2015-11-18 11:30:14 +01:00
Andreas Hocevar eee205c688 Merge pull request #4428 from ahocevar/imagewms-imagesize-regression-test
Add imageSize regression test for ol.source.ImageWMS
2015-11-16 23:08:47 +01:00
Andreas Hocevar f0dbedd39d Add imageSize regression test for ol.source.ImageWMS 2015-11-16 22:20:35 +01:00
Andreas Hocevar fabda7c4b2 Improve ol.source.StaticImage
Brings back the imgSize property, and puts all image load handler
code in a single listener.
2015-11-16 11:55:10 +01:00
Andreas Hocevar 6280b35035 Scale StaticImage image to imageExtent
The imageSize property was only used to determine the scale. It's usage was
never documented nor tested nor shown in an example, so I removed it because I
considered its presence a bug.
2015-11-13 12:23:31 +01:00