Commit Graph

138 Commits

Author SHA1 Message Date
Frederic Junod
4cb9b1eeb3 Add setRotateWithView function to ol/style/Text 2019-02-19 14:20:58 +01:00
Frederic Junod
0ec769c234 Remove getChecksum functions 2018-12-14 13:00:35 +01:00
Frederic Junod
1bb1e3c542 Remove Atlas and AtlasManager 2018-12-14 13:00:35 +01:00
ahocevar
f382ddf230 Remove snapToPixel option and deprecate getters/setters 2018-08-09 18:16:58 +02:00
Tim Schaub
6cfa2b22a7 Explicit void 2018-07-26 10:46:39 -06:00
Tim Schaub
c860aed960 Import inherits, getUid, and VERSION from ol/util 2018-07-19 10:26:17 -06:00
Tobias Bieniek
2096a1d0db style/Icon: Add setAnchor() method
This allows users to adjust the anchor after the `Icon` is defined. This can be useful if the anchor should depend on the rotation of the icon.
2018-07-16 12:48:52 +02:00
Tim Schaub
e28305186c Export shared icon image class from IconImageCache module 2018-04-24 09:37:19 -06:00
Frederic Junod
b50a47114e Move the nullFunction to ol/functions
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
Tim Schaub
a32d05e432 Merge pull request #7880 from tschaub/named-exports
Named exports from ol/style/Style
2018-02-23 09:04:03 -08:00
Tim Schaub
580c2c6545 Named exports from ol/style/Style 2018-02-22 23:34:52 -08:00
Frederic Junod
e3deae940d Named exports from ol/style/IconImage 2018-02-22 08:19:23 +01:00
Tim Schaub
7e7631c42a Named exports from ol/events 2018-01-24 10:09:57 -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
66182f4cfb Rename _ol_style_IconImage_ to IconImage 2018-01-11 13:29:26 -07:00
Tim Schaub
14ddcf843d Rename _ol_style_Circle_ to CircleStyle 2018-01-11 13:27:54 -07:00
Tim Schaub
16c8d2c246 Rename _ol_style_RegularShape_ to RegularShape 2018-01-11 13:26:51 -07:00
Tim Schaub
c5a4be2edd Rename _ol_style_Text_ to Text 2018-01-11 13:25:48 -07:00
Tim Schaub
fb22c587f8 Rename _ol_style_Icon_ to Icon 2018-01-11 13:25:01 -07:00
Tim Schaub
f4484455aa Rename _ol_style_Stroke_ to Stroke 2018-01-11 13:24:13 -07:00
Tim Schaub
dc6ae2293d Rename _ol_style_Fill_ to Fill 2018-01-11 13:23:27 -07:00
Tim Schaub
4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub
5f40eec148 Rename _ol_style_AtlasManager_ to AtlasManager 2018-01-11 12:12:34 -07:00
Tim Schaub
12d4db5045 Rename _ol_style_Atlas_ to Atlas 2018-01-11 12:12:34 -07:00
Tim Schaub
22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Andreas Hocevar
0158738aff Clone backgroundFill and backgroundStroke 2017-12-26 19:33:47 +01:00
Frederic Junod
dc70c4376d Named export for ol/style 2017-12-18 16:18:00 +01:00
Tim Schaub
eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub
87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264 Separate example scripts for dev and prod 2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar
8a9f32fa09 Rename method and make it appear in the API docs 2017-12-01 17:03:28 +01:00
Bobo Häggström
343a4085a0 Add method to set max cache size in ol.style.IconImageCache 2017-10-24 16:04:55 +02:00
simonseyock
f73cda8ef5 reusing images in ol.style.Icon#clone 2017-09-12 11:58:38 +02:00
Tim Schaub
d23f000846 Correctly create image icons in the tests 2017-08-21 10:32:05 -04:00
Tim Schaub
93cfc063c3 Correctly create an icon image 2017-08-18 17:35:59 -04:00
Tim Schaub
a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
simonseyock
25aeb58c87 ol.style.RegularShape#getRadius2
returns undefined if no radius2 was provided in the constructor
2017-04-29 11:43:46 +02:00
Thomas Chandelle
7a4ae3a6ac Line Dash offset 2017-01-04 11:19:47 +01:00
Frederic Junod
392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00
Andreas Hocevar
886ddb160c Merge pull request #6132 from tohu12/getColor_to_Icon
Add getter for color property to ol.style.Icon
2016-11-16 13:54:24 +01:00
Tomas Hulek
e7e425c288 Added getter for Color property to ol.style.Icon and updated test 2016-11-16 11:12:49 +01:00
Daniel Koch
c60e1d0fb3 Setter methods for fill, image, stroke and text 2016-11-15 17:19:49 +01:00
jonataswalker
1372f98822 Add ol.style.Circle#setRadius 2016-09-13 17:24:31 -03:00
Simon Seyock
ef0300b828 More consistent use of be and eql in tests 2016-09-12 12:17:47 +02:00
Simon Seyock
b86a12e121 Added remaining tests 2016-09-11 21:45:00 +02:00
Simon Seyock
9f32e8d566 Added cloning of image element, color cloning 2016-09-11 21:44:59 +02:00
Simon Seyock
147f091998 Added ol.style.Icon#clone test 2016-09-11 21:44:58 +02:00
Simon Seyock
a183c66704 Added tests for ol.style.Circle, ol.style.Stroke & ol.style.Fill 2016-09-11 21:44:58 +02:00