Tom Payne
76bddcf042
Pass tolerance to ol.render.canvas.ReplayGroup constructor
2013-12-17 17:46:01 +01:00
Tom Payne
81c0c37eb9
Simplify geometries to a tolerance of half a device pixel
2013-12-16 12:16:02 +01:00
Tom Payne
20e51a5e34
Pass pixel ratio to ol.renderer.canvas.VectorLayer#renderFeature
2013-12-16 12:15:32 +01:00
Tom Payne
2d0e6fd6bc
Pass pixel ratio to ol.render.canvas.ReplayGroup constructor
2013-12-16 12:15:30 +01:00
Tom Payne
ec7d193543
Don't attempt to render features whose style is undefined or null
2013-12-13 22:59:34 +01:00
Tom Payne
afdfb92198
Use ol.layer.Vector.defaultStyleFunction by default
2013-12-13 22:59:34 +01:00
Éric Lemoine
fda2217166
Hit detect rotated features
2013-12-11 15:01:58 +01:00
Tom Payne
c6181ea9d1
Render simplified geometries in replay mode
2013-12-09 16:37:33 +01:00
Tom Payne
e9267e401c
Pass layer to forEachFeatureAtPixel callback
2013-12-04 00:05:45 +01:00
Tom Payne
d7591594ca
Allow forEachFeatureAtPixel callback to break out of loop
2013-12-04 00:05:44 +01:00
Éric Lemoine
65c922f580
Add ol.renderer.canvas.VectorLayer#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
b98ff1619d
Add getRenderGeometryFunction_
2013-12-02 15:06:18 +01:00
Éric Lemoine
8f361e35dd
Do not draw non-loaded icons
2013-11-27 10:03:23 +01:00
Éric Lemoine
0a4fd29c10
Add icon support to canvas vector renderer
2013-11-26 15:25:32 +01:00
Éric Lemoine
317294756a
Style function takes a resolution arg
2013-11-26 14:19:24 +01:00
Éric Lemoine
3820caade1
Style function returns an array of styles
2013-11-26 14:19:24 +01:00
Tom Payne
b0d5f96b65
Rename ol.render.canvas.Replay#draw to replay
2013-11-25 20:03:21 +01:00
Tom Payne
9396df54c3
Always use a defined renderGeometryFunction, thanks @elemoine
2013-11-22 11:34:42 +01:00
Tom Payne
a570261886
Pass renderGeometryFunction to ol.render.canvas.ReplayGroup
2013-11-22 11:34:41 +01:00
Éric Lemoine
efba141bf0
Do not use default style function
2013-11-20 15:35:10 +01:00
Tom Payne
479ec441ab
Improve type checking in ol.renderer.canvas.VectorLayer
2013-11-20 11:45:25 +01:00
Frederic Junod
b39496f380
Dispatch 'precompose' event for ol.renderer.canvas.VectorLayer
2013-11-20 11:45:23 +01:00
Tom Payne
ea0f8d1f8e
Add frameState to postcompose event and minimise calls to getTransform
2013-11-20 11:42:06 +01:00
Tom Payne
36f85f9afd
Factor out getTransform
2013-11-20 11:42:06 +01:00
Tom Payne
a83b0768b2
Always dispatch postcompose event, even if no replay group
2013-11-20 11:42:06 +01:00
Tom Payne
7035096fca
Move dispatchPostComposeEvent into base class
2013-11-20 11:42:06 +01:00
Tom Payne
1670b67bd8
Rename postrender to postcompose
2013-11-20 11:42:05 +01:00
Tom Payne
a990f0921e
Rename ol.layer.VectorEvent to ol.render.RenderEvent
2013-11-20 11:42:05 +01:00
Tom Payne
2839aea6b1
Clear correct member variable, thanks @elemoine
2013-11-20 11:42:05 +01:00
Tom Payne
a17560ade3
Only draw features and geometries that are visible
2013-11-20 11:42:05 +01:00
Tom Payne
c5de1db9e6
Rename render to immediate
2013-11-20 11:42:05 +01:00
Tom Payne
a0aad87adf
Rename batch to replay
2013-11-20 11:42:04 +01:00
Tom Payne
df70731e0c
Fire per-layer postrender events
2013-11-20 11:42:04 +01:00
Tom Payne
4183d9cdb8
Move ol.replay into ol.render namespace
2013-11-20 11:42:01 +01:00
Tom Payne
61e221c504
Only draw batches in visible extent
2013-11-20 11:41:56 +01:00
Tom Payne
15583865b6
Re-use batches when animating or interacting
2013-11-20 11:41:52 +01:00
Tom Payne
8ccd733e08
Implement ol.replay.canvas.BatchGroup#isEmpty
2013-11-20 11:41:51 +01:00
Tom Payne
9a11cb87aa
Handle vector layer opacity
2013-11-20 11:41:51 +01:00
Tom Payne
633920d0f7
Buffer batch group extent
2013-11-20 11:41:51 +01:00
Tom Payne
fb7ccc9d16
Add initial canvas vector layer renderer
2013-11-20 11:41:09 +01:00
Tom Payne
4e65fefc00
Move vector code out of the way
2013-11-20 11:39:21 +01:00
Tom Payne
e0ef5fc7ee
Pass context instead of canvas when creating ol.renderer.canvas.Vector
2013-11-20 11:39:18 +01:00
Tom Payne
2b2e7bf786
Rename ol.renderer.Layer#renderFrame to prepareFrame
2013-11-20 11:31:20 +01:00
ahocevar
0ed208b710
Make renderIntent private and add a getter
2013-11-11 22:07:18 +01:00
Tim Schaub
dbc3109ddb
Only call expireTiles_ if already rendered
2013-11-07 10:30:58 -07:00
Tim Schaub
b355c1f412
When expiring tiles, consider max symbol size
...
When an extent is invalidated, we have to expire tiles outside of that extent to account for symbolizer size.
2013-11-04 13:21:23 -07:00
Tim Schaub
64dd5cfc1f
Extend goog.events.Event for custom vector layer events
...
Vector events include features and extents. In the case of feature change events, the extents array will include old and new extents for features with modified geometries.w
2013-10-03 11:25:30 -06:00
ahocevar
dbb9525515
No longer group features by geometry type
...
With symbolizer literals now being geometry type specific, we no
longer need the overhead to query the RTree separately for each
geometry type and render symbolizer groups by geometry type.
The geometry type index of the FeatureCache is no longer needed.
The filtering functionality of the FeatureCache's
getFeaturesObject method can be removed because it is no longer
used.
2013-10-03 08:35:11 -06:00
ahocevar
adc1d130c8
Rename ol.renderer.canvas.VectorRenderer
...
To be consistent with our naming convention, this one should be
renamed to ol.renderer.canvas.Vector.
2013-10-02 15:58:27 -06:00
ahocevar
3349bded1c
Merge pull request #1065 from ahocevar/skip-hidden
...
Select interaction does not work with shape symbolizers and canvas renderer
2013-09-27 05:45:50 -07:00