Andreas Hocevar
dde81d8585
Add renderMode option to ol.layer.Vector
...
This also deprecates ol.source.ImageVector.
2017-11-27 09:48:52 +01:00
Andreas Hocevar
7f865b8520
Check if fonts are available and redraw when label cache was cleared
2017-11-03 13:04:06 +01:00
Andreas Hocevar
4a73754b93
Entertain the compiler
2017-10-31 11:33:48 +01:00
Andreas Hocevar
53a2cf55f1
Fix hit detection for decluttered layers
2017-10-31 11:33:48 +01:00
Andreas Hocevar
08af207724
Add decluttering for images and text
2017-10-31 11:33:48 +01:00
Tim Schaub
2dd8fdb5b7
Reworked attribution handling
2017-10-08 20:29:02 -06:00
Andreas Hocevar
6469d3e864
Handle pixelRatio on replay creation instead of replay
2017-08-31 21:41:07 +02:00
Andreas Hocevar
35bd92b713
Prerender labels and cache them as images
2017-08-31 21:41:07 +02:00
Tim Schaub
9271df7e1d
Pluggable renderers
2017-08-15 15:37:37 -04:00
Andreas Hocevar
1b46f38696
Do not use Array.prototype.forEach for potentially large arrays
2017-07-29 23:16:23 +02:00
Guillaume Beraudo
645e359cde
Render transparent vector layers to an intermediate canvas
...
Until now, the features of transparent vector layers were rendered using
the layer opacity. This caused colors to mix together and the opacities
to stack up to an higher value than the expected layer opacity.
With this commit, the features are rendered at 100% opacity to an
intermediate canvas which ensures colors do not mix up even in the case
of features using an array of styles. The intermediate canvas is then
composed to the map canvas using the layer opacity.
Transparent layers are automatically detected, non-transparent layers
are not affected by the change.
2017-07-12 09:23:04 +02:00
Andreas Hocevar
cff9ef5e63
Remove lint
2017-07-09 16:11:36 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Tim Schaub
3852c0da83
Remove hint enum from view constructor
2016-12-27 10:17:26 -07:00
Tim Schaub
7a95947dbb
Dedicated module for render event type enum
2016-12-27 10:17:17 -07:00
simonseyock
5ce0d8aa2a
changed signature of internal methods
2016-12-08 10:13:47 +01:00
Andreas Hocevar
ee7b894350
Refactor VectorTile renderer and add lower resolution clipping
2016-12-06 08:51:55 +01:00
Frederic Junod
ed677cec4e
Rename ol.render.EventType to ol.render.Event.Type
2016-10-13 12:02:51 +02:00
Andreas Hocevar
b7c84b269c
Merge pull request #5196 from ahocevar/batch-fill-stroke
...
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar
8992ee8e73
Entertain the compiler
2016-08-23 15:33:52 +02:00
Andreas Hocevar
1c73dc9088
Enable extent clipping for vector layers
2016-08-23 15:12:19 +02:00
Andreas Hocevar
7e940e618e
Introduce new overlaps option for Vector and VectorTile sources
...
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar
f9a595ed5b
Merge pull request #5752 from ahocevar/fix-rotated-replaycontext
...
Set proper replay canvas size and offset for rotated view
2016-08-22 21:40:29 +02:00
Andreas Hocevar
02daf761f0
Set proper replay canvas size and offset for rotated view
2016-08-21 14:14:37 +02:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
3afb42828f
Add Hint and Property as ol.View properties
2016-08-12 10:53:50 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
424f3e5577
Move renderer files so they are named like their provides
2016-08-07 10:49:11 -06:00