Andreas Hocevar
68f6b61217
Address review comments
2017-07-30 00:32:51 +02:00
Andreas Hocevar
c6b942f185
Allow styles to configure a custom renderer
...
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Andreas Hocevar
e94b660b04
Merge pull request #7045 from ahocevar/immediate-image-size
...
Respect pixelRatio when scaling images
2017-07-27 16:42:21 +02:00
Andreas Hocevar
ecadb6b685
Respect pixelRatio when scaling images
2017-07-25 11:06:27 +02:00
Andreas Hocevar
fa41c0bad6
Merge pull request #7041 from openlayers/greenkeeper/eslint-4.3.0
...
Update eslint to the latest version 🚀
2017-07-25 10:55:25 +02:00
Andreas Hocevar
dd878e2a4c
Remove lint
2017-07-25 10:42:18 +02:00
gkresic
719abf7265
Support for lineDashOffset
2017-07-24 18:36:39 +02:00
GaborFarkas
619e85e737
Fix linting issues
2017-06-23 21:12:27 +02:00
GaborFarkas
b3407b0554
Add reindented texture shader
2017-06-23 20:51:46 +02:00
GaborFarkas
a4c421e699
Use glyph atlases
2017-06-23 20:44:41 +02:00
GaborFarkas
7b9833fdce
Conform TextReplay to the new structure
2017-06-23 20:44:41 +02:00
GaborFarkas
bd87ec7c83
Conform ImageReplay to the new structure
2017-06-23 20:44:41 +02:00
GaborFarkas
26bfa7a172
Refactor WebGL ImageReplay
2017-06-23 20:37:37 +02:00
GaborFarkas
f82bc15013
Minimal working text renderer
2017-06-23 20:34:52 +02:00
GaborFarkas
da60b96445
Style texts and draw them on canvas
2017-06-23 20:34:52 +02:00
GaborFarkas
2ed5abed07
Add WebGL text defaults
2017-06-23 20:34:52 +02:00
Marc Jansen
feabb6440d
Add reindented shader sources
2017-06-20 11:45:48 +02:00
Marc Jansen
7d6929c710
Manual adjustment of indentation
2017-06-20 10:41:03 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
GaborFarkas
7ea8cf5fb3
Don't introduce new self-intersections. Fixes #6823
2017-06-11 22:07:22 +02:00
GaborFarkas
bcda41b508
Do not bridge holes outside of outer ring
2017-05-29 15:55:16 +02:00
GaborFarkas
c0fac0f5ca
Prepare replays for vector tiles
2017-05-29 15:53:53 +02:00
Andreas Hocevar
ac19d4d19c
Better documentation for ol.render.Feature#getGeometry
2017-05-16 08:43:08 +02:00
Andreas Hocevar
142f16afe4
Re-add the ol.render.Feature#getGeometry() method
...
This method does have value for users that want to switch between ol.Feature
and ol.render.Feature and still be able to use #getGeometry().getType() in a
style function to determine the feature geometry's type.
2017-05-16 08:41:55 +02:00
Andreas Hocevar
df72d7b20f
Add getId() method for ol.render.Feature
2017-05-11 15:54:20 +02:00
Andreas Hocevar
1d7144564c
Remove getGeometry() from the API
2017-05-11 15:53:55 +02:00
Tim Schaub
479d98212b
Disable no-missing-requires rule in generated shader code
2017-05-02 15:04:20 -06:00
Frederic Junod
9d263629e6
Add missing goog.require
2017-02-03 12:47:13 +01:00
Frederic Junod
5763e1d145
Remove unused goog.require
2017-02-03 12:40:53 +01:00
Guillaume Beraudo
b54ea89395
Handle concrete classes with non implemented abstract methods
2017-01-30 17:16:01 +01:00
Frederic Junod
1cb2808f7f
Remove abstract from ol.render.VectorContext functions
2017-01-30 17:16:01 +01:00
Frederic Junod
d59224f5eb
Add missing override and inheritDoc jsdoc tags
2017-01-30 17:16:01 +01:00
Frederic Junod
546fc97cd4
Add abstract tag at class level
2017-01-30 17:16:01 +01:00
Tim Schaub
fcb9dafc33
Use the ol.DEBUG_WEBGL flag to debug shader sources
2017-01-16 16:57:37 -07:00
Andreas Hocevar
76cae0e63f
Make sure moveTo is called after beginPath
2017-01-13 19:32:26 +01:00
Andreas Hocevar
08ed00dfb0
Merge pull request #6358 from ahocevar/canvas-moveto
...
Ensure polygons without stroke are fully filled
2017-01-12 16:22:07 +01:00
Andreas Hocevar
7b232700d5
When applying a pending fill, also apply a pending stroke
2017-01-11 18:32:58 +01:00
Andreas Hocevar
a671687133
Allow replaying with null transform
2017-01-11 17:46:28 +01:00
Andreas Hocevar
2296ca3942
Do not skip moveTo calls after fill
2017-01-11 17:38:31 +01:00
Thomas Chandelle
7a4ae3a6ac
Line Dash offset
2017-01-04 11:19:47 +01:00
Andreas Hocevar
dcbf3a97e8
Wrap WebGL shader code in define condition
2017-01-02 22:01:58 +01:00
Andreas Hocevar
446807825e
Wrap ol.render.webgl code in define condition
2017-01-02 21:24:23 +01:00
Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00
Tim Schaub
00cef70a3a
Private enum for WebGL linestring replay instruction
2016-12-27 14:04:08 -07:00
Tim Schaub
7a95947dbb
Dedicated module for render event type enum
2016-12-27 10:17:17 -07:00
Tim Schaub
ef04f466cd
Name modules more like their provide
2016-12-18 11:24:01 -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
simonseyock
f10ae6c474
Adressed review.
...
Reusing transform
Changing either size of the canvas or clearing it
adding unit of hitTolerance to jsdoc
2016-12-08 10:14:36 +01:00
simonseyock
00a4f3b410
buffering extent by resolution*hitTolerance
2016-12-08 10:14:09 +01:00
simonseyock
f6ee11bb68
Documentation and linting
2016-12-08 10:14:09 +01:00