mike-000
95702648b2
simplify scale calculation
...
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
simonseyock
89e8d6d693
getGetLegendRequestUrl accepts a LAYER parameter now
2019-09-19 14:21:07 +02:00
Simon Seyock
b2885e86fb
Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl
2019-09-18 10:48:18 +02:00
simonseyock
c0000e745e
make resolution in getGetLegendGraphicUrl optional
2019-07-08 15:14:13 +02:00
Kai Volland
f493f01bd0
Introduces getGetLegendGraphic method
...
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
ahocevar
4aff3d0631
Simplify logic for fixed tile url functions
2018-10-02 17:26:22 +02:00
Tim Schaub
9ed3881f34
Named exports from ol/tilegrid
2018-02-09 09:30:16 -07:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
32ee149909
Rename _ol_source_TileWMS_ to TileWMS
2018-01-10 09:36:29 -07:00
Frederic Junod
297c9e45ab
Rename _ol_tilegrid_TileGrid_ to TileGrid
2017-12-22 10:56:20 +01:00
Frederic Junod
fd84f9378e
Rename _ol_ImageTile_ to ImageTile
2017-12-22 09:18:27 +01:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
e6534894fd
Merge pull request #7305 from oterral/teo_info
...
Fix #7304 : Re-calculate the resolution when the WMS source is reprojected
2017-10-11 17:04:33 +02:00
Tim Schaub
dbaf24ec39
Get rid of unnecessary coord key prefix
2017-10-08 09:08:20 -06:00
Kogis IWI
232f56e229
Fix #7304 : Re-calculate the resolution when the WMS source is reprojected
2017-10-03 17:25:44 +02:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Andreas Hocevar
208ea171c3
Add test to ensure the correct draw canvas size
2016-08-23 12:01:32 +02:00
Tim Schaub
789aeb1c64
Toward a fix for ol.tilegrid
2016-08-08 10:22:28 -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