ahocevar
95795ea301
Test canvas size with an untainted canvas
2014-04-06 11:38:51 +02:00
Tim Schaub
aa3a20e911
Provide layer states array in frame state
2014-04-04 07:36:42 -06:00
Tom Payne
ed586bad39
Use forEachFeatureInExtentAtResolution in ol.renderer.canvas.VectorLayer
2014-04-03 15:23:24 +02:00
Tom Payne
b24e122d4f
Add projection argument when loading features
2014-04-03 15:12:22 +02:00
Tom Payne
8c984cc8f7
Load features before rendering
2014-04-03 15:08:03 +02:00
ahocevar
ea58f38275
Make testCanvasSize a static function
2014-04-03 11:18:26 +02:00
ahocevar
54ba06ae3b
Initialize canvasTooBig_ member
2014-04-03 11:18:12 +02:00
ahocevar
58b5fef3da
Allow to make canvas smaller when it is too big
...
For performance reason, we only make the canvas bigger, but not
smaller. With this change, we also make it smaller, but only
when we know that its current size exceeds the maximum
dimensions.
2014-04-02 16:44:57 +02:00
ahocevar
4dce59fe95
Add method for testing whether the canvas size is valid
...
This is a way to detect whether a canvas exceeds the maximum
dimensions if these are limited on the target device. See
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html
for limitations on iOS devices.
2014-04-02 16:44:39 +02:00
Frederic Junod
55de0a54b9
Add ol.dom.createCanvasContext2D function
2014-04-02 09:37:41 +02:00
Frédéric Junod
e5d59fd7f1
Merge pull request #1933 from fredj/null-renderOrder
...
Don't sort the features when renderOrder is null
2014-04-01 14:47:44 +02:00
Frederic Junod
ea28b3716c
Don't sort the features when renderOrder is null
2014-04-01 14:11:51 +02:00
Tom Payne
ba0d35668f
Stop draw order from preventing batch reuse
2014-04-01 13:45:15 +02:00
Tom Payne
192c97d52b
Respect renderOrder in ol.renderer.canvas.Vector
2014-03-27 19:03:42 +01:00
Éric Lemoine
c4b654b26c
Rename skippedFeaturesHash to skippedFeatureUids
2014-03-20 13:29:30 +01:00
Antoine Abt
78039aceb8
Use a hash to store features uids
2014-03-20 13:03:31 +01:00
Antoine Abt
e1e4969599
Name frameState skippedFeaturesIds as private
2014-03-20 10:24:39 +01:00
Antoine Abt
0d87516135
Map stores skippedFeatures instead of layers
2014-03-19 17:24:58 +01:00
Antoine Abt
9f7cba0ac0
Skipped features replaces RenderGeometryFunction
2014-03-19 12:31:45 +01:00
Tim Schaub
88efda1a1f
Track resolution and buffer max extent to capture strokes
2014-03-13 20:40:18 -04:00
Tom Payne
022a7a03e0
Use oli.FrameState instead of ol.FrameState
2014-03-10 14:48:23 +01:00
Tim Schaub
36204faf2f
Merge pull request #1754 from tschaub/clip
...
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Frederic Junod
c32d8a2e53
Add ol.layer.Heatmap class and example
2014-03-06 09:14:03 +01:00
Frederic Junod
9d05e08b49
Dispatch 'render' event in renderer.canvas.VectorLayer
...
The context property of the event only contains the vector rendering.
2014-03-06 09:14:03 +01:00
Tim Schaub
f4746687e8
Keep track of max extent for replay
2014-02-25 21:47:57 -07:00
Tom Payne
0c7a19a307
Activate useInterimTilesOnError in ol.renderer.canvas.TileLayer
2014-02-25 12:59:09 +01:00
Tom Payne
0e90cf02ad
Pass view rotation to ol.render.canvas.Immediate
2014-02-21 12:57:09 +01:00
Tom Payne
fe420ce1eb
Pass view rotation to replay
2014-02-21 11:56:34 +01:00
Tom Payne
a178712f6b
Only replay replay group if it is not empty
2014-02-13 14:47:47 +01:00
Tom Payne
5b8e85afbd
Save replay group, even if it is empty
2014-02-13 14:36:59 +01:00
Éric Lemoine
d13d2fdc6a
Remove a FIXME
2014-02-06 12:59:39 +01:00
Éric Lemoine
63aadc5c0f
Factor out icon image loading code
2014-02-06 12:59:39 +01:00
Éric Lemoine
f9e04ad7d5
Use ol.renderer.Map#scheduleExpireIconCache
2014-02-06 12:59:39 +01:00
Éric Lemoine
78aef2f58c
Vector renderer uses new image style interface
2014-02-06 12:59:38 +01:00
Tom Payne
df9369e663
Merge pull request #1621 from twpayne/clean-ups
...
Miscellaneous clean-ups
2014-01-30 04:16:27 -08:00
Tom Payne
b6af02a762
Add ol.ENABLE_VECTOR to control inclusion of vector layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
7e020e4d26
Add ol.ENABLE_TILE to control inclusion of tile layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
8b128ece81
Add ol.ENABLE_IMAGE to control inclusion of image layer renderers
2014-01-30 11:20:59 +01:00
Éric Lemoine
1dfe571b76
Vector renderer uses the layer revision
2014-01-27 14:08:19 +01:00
Éric Lemoine
8284043bf9
Render other features when dirty
2014-01-21 16:44:46 +01:00
Éric Lemoine
2a531136fc
Pass layer to forEachFeatureAtPixel callback
...
This fixes a bug where the layer renderer instead of the layer is passed to the forEachFeatureAtPixel callback.
2014-01-17 11:38:06 +01:00
Éric Lemoine
e83ec2976f
Change forEachFeatureAtPixel arguments names
2014-01-17 11:38:06 +01:00
Tom Payne
91b0831c68
Allow multiple renderGeometryFunctions on ol.layer.Vector
2014-01-16 20:09:42 +01:00
Tom Payne
0c42d04295
Add HiDPI support to ol.renderer.canvas.TileLayer
2014-01-15 15:55:19 +01:00
Tom Payne
091888aaca
Use ol.source.Tile#getTileGridForProjection
2014-01-15 15:55:19 +01:00
Tom Payne
58fef69fac
Add pixelRatio to ol.source.Tile#getTile
2014-01-15 15:55:19 +01:00
Tom Payne
1df516e14d
Use opt_this instead of opt_obj in ol.renderer.Layer
2014-01-15 15:00:34 +01:00
Tom Payne
086bb47b8c
Merge pull request #1535 from twpayne/vector-api-square-tiles
...
[vector-api] Only support square tiles
2014-01-15 01:46:34 -08:00
Tom Payne
4667dec7c3
Rename devicePixelRatio to pixelRatio in ol.FrameState
2014-01-15 09:46:27 +01:00
Tom Payne
d5c1e53e48
Only support square tiles
2014-01-15 09:45:49 +01:00