Commit Graph

28 Commits

Author SHA1 Message Date
ahocevar
b3bc78daec Provide center in the correct projection 2019-02-07 12:23:45 +01:00
Tim Schaub
f2cab1fcbb Give the map some height for scale line tests 2018-11-16 14:56:47 +01:00
ahocevar
b813937991 Access the correct element 2018-07-18 12:19:33 +02:00
Zsolt Ero
50a929d562 us missing 2018-04-10 21:09:43 +02:00
Zsolt Ero
5bde9fa278 added non-degree tests for all units 2018-04-10 21:06:36 +02:00
Zsolt Ero
ab946c2ed2 non-degree test added 2018-04-10 20:54:45 +02:00
Zsolt Ero
cedf01f647 imperial unit test 2018-04-10 20:45:09 +02:00
Tim Schaub
e3f199fe37 Export render from ol/control/ScaleLine 2018-02-18 23:06:51 -07:00
Pete Schmitt
500a27bd8b Use const as of 5cb983c for happy linting 2018-01-12 14:24:08 -07:00
Pete Schmitt
acacad0515 Fix ScaleLine control for Projections in degrees 2018-01-12 14:08:55 -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
aa89746c47 Rename _ol_proj_Projection_ to Projection 2018-01-11 13:33:41 -07:00
Tim Schaub
1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Ron Young
9fa59d0735 rename map in tests 2017-12-21 23:11:42 -07:00
Tim Schaub
b79ead82d2 Rename _ol_control_ScaleLine_ to ScaleLine 2017-12-14 13:05:18 -07: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
Tim Schaub
6a1699cfd9 Remove unnecessary require 2017-12-11 13:13:20 -07:00
Andreas Hocevar
9c45f9a8d6 Respect metersPerUnit in ScaleLine control 2017-11-13 11:09:54 +01:00
Tim Schaub
83f87a1f1e Merge pull request #7151 from tschaub/useless-exports
Get rid of useless test exports
2017-08-17 18:15:51 -04:00
Tim Schaub
a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Marc Jansen
d6200ff625 Remove problematic spies from scaleline tests 2017-08-17 20:57:42 +02:00
Tim Schaub
32c26c2524 More consistent clean up 2017-08-16 13:35:31 -04:00
Andreas Hocevar
388e2a93cb Fix scale line for EPSG:4326 maps 2017-08-07 20:42:28 -06:00
Frederic Junod
57d39109e3 Add test for the metric unit displayed in the scaleline 2017-03-28 09:06:33 +02:00
Frederic Junod
392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00
Tim Schaub
ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub
386e215b47 Rename control tests for consistency 2016-08-07 10:49:10 -06:00