Commit Graph

259 Commits

Author SHA1 Message Date
SanderH ebde179ab2 Adding crossOrigin to optionsFromCapabilities
This pull request should resolve: https://github.com/openlayers/openlayers/issues/6521

Now with var and single quotes
2017-03-09 14:49:48 +01:00
Frederic Junod 2e22fce718 Return null if the layer was not found in the WMTS capabilities 2017-03-08 15:29:26 +01:00
Andreas Hocevar da4ddccad9 Allow Zoomify url without TileGroup, z, x and y placeholder 2017-02-10 12:01:56 +01:00
Frederic Junod a4a8d01bac Use an url template for ol.source.Zoomify 2017-02-09 17:06:23 +01:00
Frederic Junod c260e927a0 Round the DPI value in ol.source.ImageArcGISRest 2017-02-08 13:32:57 +01:00
Andreas Hocevar ca7540fa3c Merge pull request #6427 from ahocevar/wms-image-size
Ensure WMS width and height are always integers
2017-02-02 09:26:47 +01:00
Andreas Hocevar 47e1354610 Ensure WMS width and height are always integers 2017-02-01 14:00:20 +01:00
Frederic Junod cff3447675 Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests 2017-02-01 11:53:24 +01:00
greenkeeper[bot] 7a9c799c8f chore(package): update dependencies
https://greenkeeper.io/
2017-01-31 17:05:37 +01:00
Tim Schaub 895a506025 Remove state enum from tile constructor 2016-12-27 10:17:26 -07:00
Frederic Junod 1478cadb18 Consistent spacing between keys and values in object literal
Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
2016-12-14 12:10:47 +01:00
Bart van den Eijnden c990cab0c3 Match equivalent projections from WMTS caps 2016-11-16 16:17:55 +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
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