Commit Graph

246 Commits

Author SHA1 Message Date
Tim Schaub 100c42e671 Use https for services.arcgisonline.com 2016-10-16 00:25:47 -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 bd89d1f227 Remove unused context arg for tile.getImage() 2016-09-01 07:30:29 -06:00
Frederic Junod 1d2e4fed4a Rename ol.source.TileUTFGridTile_ to ol.source.TileUTFGrid.Tile_ 2016-09-01 06:58:11 -06:00
Andreas Hocevar fe16cf9702 Fix ol.source.Zoomify namespace hierarchy 2016-09-01 06:58:09 -06:00
Andreas Hocevar 208ea171c3 Add test to ensure the correct draw canvas size 2016-08-23 12:01:32 +02:00
Frederic Junod f164ad7598 Add ol.source.Cluster#setDistance function 2016-08-22 13:36:44 +02:00
Tim Schaub 9e4d80b459 Move State to ol.Tile 2016-08-12 10:53:49 -06:00
Tim Schaub 5643d3ec77 Missing requires in tests 2016-08-12 10:53:49 -06:00
Tim Schaub 789aeb1c64 Toward a fix for ol.tilegrid 2016-08-08 10:22:28 -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 e07596846d Move source files so they are named like their provides 2016-08-07 10:49:11 -06:00
Rafał Rutkowski 3157ccb2f2 Update TileWMS.coordKeyPrefix_ on setUrls
Outdated coordKeyPrefix_ causes the TileWMS layer to flicker
on the first updateParams call.
2016-07-21 10:13:13 +02:00
Andreas Hocevar 34d5cc228e Merge pull request #5429 from probins/testenums
Remove enums from tests
2016-07-15 09:12:58 +02:00
Andreas Hocevar 4d61ae9a50 Merge pull request #5558 from probins/uritests
Remove goog.Uri from tests
2016-07-10 12:20:38 +02:00
Peter Robins 250bb2f2be Remove goog.Uri from tests 2016-07-04 13:12:55 +00:00
Frederic Junod 1b662ff048 Use minZoom and maxZoom olx.source.StamenOptions 2016-06-29 13:41:49 +02:00
Frederic Junod 4bf1f56405 Add missing semicolon 2016-06-09 15:39:46 +02:00
Frederic Junod e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00
Peter Robins 06fd92353b Remove enums from tests 2016-06-03 11:10:46 +00:00
Frederic Junod bd0140f42d Fix the requestEncoding automatic selection
If the `requestEncoding` parameter was not provided, the function used `KVP`
but without checking if it was supported.
2016-05-25 09:57:49 +02:00
Tim Schaub ac4653ada5 Tests for source.setKey() 2016-05-19 09:09:52 -06:00
Tim Schaub feb6fe9dce Tests for setUrl() and setUrls() 2016-05-19 09:09:52 -06:00
Tim Schaub 9870e8c04c Allow XYZ source construction without options 2016-05-19 09:09:52 -06:00
Tim Schaub 841c8a5747 Rename source.getKeyParams() to source.getKey() 2016-05-19 09:09:52 -06:00
Andreas Hocevar ef52a757b1 Merge pull request #5344 from probins/rasterenum
Remove raster enum from test
2016-05-14 01:53:58 +02:00
Tim Schaub a810feb257 Test XHR loading 2016-05-13 12:08:58 -06:00
Attila Berényi 4c82b3403c Use XHR by default 2016-05-13 12:08:58 -06:00
Peter Robins cce7b148bb Remove raster enum from test 2016-05-13 16:26:26 +00:00
Peter Robins f57065c412 Remove unneeded goog.provides/requires for typedefs
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Anna Lambrechtsen 18a29ea6d3 Add ol.source.ImageArcGISRest (#3880)
* Add ol.source.ImageArcGISRest

ol.source.ImageArcGISRest is added so a single image can be retrieved
which is required when labelling is applied to the underlying map
service.
it's based on the approach used in ol.source.ImageWMS

* updating to remove as many good references as possible
changing so js passes lint checks

* fixing up so build and tests run

* putting back what was lost in the merge

* adding in an example
tidying up
2016-04-20 11:19:53 +02:00
Frederic Junod 05ceaab620 Add an optional feature filter to getClosestFeatureToCoordinate 2016-04-12 12:17:07 +02:00
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