Éric Lemoine
829381fd43
Always fill polygons for hit detection
2013-12-11 16:16:02 +01:00
Éric Lemoine
ac2a3cd1e8
Rename replayForward functions to replay
2013-12-11 16:16:02 +01:00
Éric Lemoine
8712509300
Rename replayBackward functions to replayHitDetection
2013-12-11 16:16:02 +01:00
Éric Lemoine
3019933cb6
Rename reverseInstructions_ function to reverseHitDetectionInstructions_
2013-12-11 16:16:02 +01:00
Éric Lemoine
86995a8cb4
Rename reversedInstructions array to hitDetectionInstructions
2013-12-11 16:16:02 +01:00
Éric Lemoine
fda2217166
Hit detect rotated features
2013-12-11 15:01:58 +01:00
Éric Lemoine
fafb7e487e
Add ol.render.FeaturesOverlay
2013-12-10 11:03:10 +01:00
Éric Lemoine
15db1eb416
Use reversedInstructions for hit detection
2013-12-09 14:08:55 +01:00
Éric Lemoine
30c0aa3cc2
Replay objects create a reversedInstructions array
2013-12-09 14:08:55 +01:00
Éric Lemoine
0d0b19128f
Add ol.array.reverseSubArray
2013-12-08 21:35:27 +01:00
Éric Lemoine
6b9bc9d8e8
Use hit detection in vector-layer example
...
The hit detection code doesn't correctly play well with the skiping of geometries using the renderGeometryFunction. Features/geometries that are not rendered by the replay API are not detected by the hit detection mechanism. For that reason, until we find a solution, we don't use renderGeometryFunction in the vector-layer example.
2013-12-02 15:06:19 +01:00
Éric Lemoine
24e7a81ae5
Detect when mouse is over marker in icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
53ecc8edb6
Add popup back to icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
a1e1393f44
Add hit detection to synthetic-points example
2013-12-02 15:06:19 +01:00
Éric Lemoine
374d5f99f6
Add ol.Map#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
6f423726a9
Add ol.renderer.Map#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
65c922f580
Add ol.renderer.canvas.VectorLayer#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
e9843ced57
Add ol.renderer.Layer#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
a537814169
Add hit detection support to replay API
2013-12-02 15:06:19 +01:00
Éric Lemoine
09a88569a8
Add per-geometry mode to replay API
2013-12-02 15:06:19 +01:00
Éric Lemoine
b98ff1619d
Add getRenderGeometryFunction_
2013-12-02 15:06:18 +01:00
Éric Lemoine
e358321b92
The iRender draw functions are passed a data object
2013-12-02 15:06:18 +01:00
Éric Lemoine
2211aec553
Use rBush.getAll and rBush.getAllInExtent
2013-11-27 15:54:00 +01:00
Éric Lemoine
1192162792
Merge branch 'master' into vector-api
2013-11-27 15:40:22 +01:00
Éric Lemoine
8f361e35dd
Do not draw non-loaded icons
2013-11-27 10:03:23 +01:00
Éric Lemoine
82e03ea508
Add an icon example
2013-11-26 16:32:03 +01:00
Éric Lemoine
9365c227ab
Make icon size optional
2013-11-26 16:19:57 +01:00
Éric Lemoine
519e2539cc
Export ol.icon.renderIcon
2013-11-26 15:33:27 +01:00
Éric Lemoine
83293651b7
Add ol.icon.renderIcon
2013-11-26 15:33:27 +01:00
Éric Lemoine
0a4fd29c10
Add icon support to canvas vector renderer
2013-11-26 15:25:32 +01:00
Éric Lemoine
b1a123a927
Shapes are loaded images
2013-11-26 15:23:55 +01:00
Éric Lemoine
189a859dde
Export ol.style.Image options
2013-11-26 15:21:51 +01:00
Éric Lemoine
29009d27f3
Make ol.style.Image loadable
2013-11-26 15:20:04 +01:00
Éric Lemoine
1d8fefe683
Adapt styleFunction in vector-layer example
2013-11-26 14:19:24 +01:00
Éric Lemoine
972deebbc6
Adapt styleFunction in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
9be03b2e3a
Use ol.style.Style in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
305be3c689
Adapt styleFunction in synthetic-lines example
2013-11-26 14:19:24 +01:00
Éric Lemoine
82aa5cc675
Adapt styleFunction in rtree example
2013-11-26 14:19:24 +01:00
Éric Lemoine
39af934e71
Adapt styleFunction in geojson example
2013-11-26 14:19:24 +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
Éric Lemoine
6ca2fef0a3
Always same format for color strings
2013-11-22 17:02:59 +01:00
Éric Lemoine
b78bcce8ab
Draw a temporary point in geojson example
2013-11-22 17:01:55 +01:00
Éric Lemoine
95826cd3c8
Add FIXME
2013-11-22 17:01:55 +01:00
Éric Lemoine
34ce9e478d
Store raw style values in immediate objects
...
This commit also uses default style values (e.g. ol.render.canvas.defaultStrokeFill) when no value is defined by the user.
2013-11-22 17:01:54 +01:00
Éric Lemoine
68caa8141c
Fix typo in replay code
2013-11-22 16:36:06 +01:00
Éric Lemoine
c4731ff37b
Use canvas style default values
2013-11-22 11:49:14 +01:00
Éric Lemoine
2a122f057c
Rename currentFillColor to currentFillStyle
2013-11-22 11:49:14 +01:00
Éric Lemoine
d3ad1a7506
Add canvas style default values
2013-11-22 11:49:14 +01:00
Éric Lemoine
92a34d380b
Make setting image rotation and subtractViewRotation optional
2013-11-22 11:49:13 +01:00
Éric Lemoine
66bda92597
Make setting stroke color and width optional
2013-11-22 11:49:13 +01:00
Éric Lemoine
3655d15f61
Make setting a fill color optional
2013-11-22 11:49:13 +01:00
Éric Lemoine
381eef2cfb
Simplify style setting in geojson example
2013-11-21 23:06:01 +01:00
Éric Lemoine
ff66a60e5e
Export ol.webgl.Context
...
It's used in the layer-clipping-webgl example
2013-11-21 23:04:37 +01:00
Éric Lemoine
d973c40141
Export getAllFeaturesAtCoordinate
2013-11-21 23:04:37 +01:00
Éric Lemoine
43a903d98b
Make vector-layer example work when hosted
2013-11-21 23:04:37 +01:00
Éric Lemoine
ed79da6c0c
Add vector tag to geojson example
2013-11-21 23:02:25 +01:00
Éric Lemoine
4b91065f00
Make dynamic-data example work when hosted
2013-11-21 23:02:25 +01:00
Éric Lemoine
082d126544
synthetic-data example renamed to synthetic-points
2013-11-21 23:02:24 +01:00
Éric Lemoine
c0eb7bb1f6
Store raw style values for ImageReplay
2013-11-21 12:15:38 +01:00
Éric Lemoine
5493543c1f
Store raw style values for PolygonReplay
2013-11-21 12:15:37 +01:00
Éric Lemoine
0ccd1ef217
Store raw style values for LineStringReplay
2013-11-21 12:15:37 +01:00
Éric Lemoine
93087c7661
Remove unused ol.style.Text width property
2013-11-20 15:48:11 +01:00
Éric Lemoine
38bc0a28a6
Export ol.style.Style
2013-11-20 15:35:11 +01:00
Éric Lemoine
e783703854
Export ol.style.Text
2013-11-20 15:35:11 +01:00
Éric Lemoine
dc49cc4c2f
Export ol.style.Stroke
2013-11-20 15:35:11 +01:00
Éric Lemoine
3971425677
Export ol.style.Image
2013-11-20 15:35:11 +01:00
Éric Lemoine
6e2f907e09
Export ol.style.Fill
2013-11-20 15:35:11 +01:00
Éric Lemoine
16f3d5879e
Use new ol.style in vector-layer example
2013-11-20 15:35:11 +01:00
Éric Lemoine
7d9b09b4ac
Use new ol.style in synthetic-lines example
2013-11-20 15:35:11 +01:00
Éric Lemoine
ddb2786394
Use new ol.style in synthetic-data example
2013-11-20 15:35:11 +01:00
Éric Lemoine
6db824baa4
Use new ol.style in rtree example
2013-11-20 15:35:10 +01:00
Éric Lemoine
602fd7f13a
Use new ol.style in geojson example
2013-11-20 15:35:10 +01:00
Éric Lemoine
db7ce8e657
Use new ol.style in dynamic-data example
2013-11-20 15:35:10 +01:00
Éric Lemoine
644748860b
Remove the previous ol.style types and functions
2013-11-20 15:35:10 +01:00
Éric Lemoine
efba141bf0
Do not use default style function
2013-11-20 15:35:10 +01:00
Éric Lemoine
ddacc0aabd
Use new ol.style in ol.shape.renderCircle
2013-11-20 15:35:10 +01:00
Éric Lemoine
1e7266f6b5
Use new ol.style in ol.render.canvas.Replay
2013-11-20 15:35:10 +01:00
Éric Lemoine
e535a8360f
Use new ol.style in ol.render.canvas.Immediate
2013-11-20 15:35:10 +01:00
Éric Lemoine
fd0ef8f238
Use new ol.style in ol.render.DragBox
2013-11-20 15:35:10 +01:00
Éric Lemoine
cef2cac0d3
Add ol.style.Text constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
f1d67f69c3
Add ol.style.Stroke constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
22fa0e305a
Add ol.style.Image constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
f38054d737
Add ol.style.Fill constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
1cfd185355
Add ol.style.Style constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
c217c95e6d
Add a WebGL layer clipping example
2013-11-20 11:45:25 +01:00
Éric Lemoine
215344af71
Set stencil to true in webgl context
2013-11-20 11:45:25 +01:00
Éric Lemoine
93aef958e9
Move arrayBuffer_ to layer renderer
2013-11-20 11:45:25 +01:00
Éric Lemoine
1c03886e1c
Rename arrayBuffer_ to renderArrayBuffer_
2013-11-20 11:45:25 +01:00
Éric Lemoine
eead07b0bb
Fire pre and postcompose events from webgl map
2013-11-20 11:45:25 +01:00
Éric Lemoine
8d191ca4b8
Fire pre and postcompose events from webgl layers
2013-11-20 11:45:25 +01:00
Éric Lemoine
478f8c43ca
ol.render.Event take an ol.webgl.Context object
2013-11-20 11:45:24 +01:00
Éric Lemoine
325534aa46
Fire precompose events from map
2013-11-20 11:45:24 +01:00
Éric Lemoine
4090b3f8b1
Phantomjs does not have requestAnimationFrame
2013-11-20 11:44:49 +01:00
Éric Lemoine
6493998a22
Add a synthetic-lines example
2013-11-20 11:44:49 +01:00
Éric Lemoine
b698c5bf7b
Add a layer clipping example
2013-11-20 11:44:47 +01:00
Éric Lemoine
2073d78582
Fire precompose events from layers
2013-11-20 11:44:47 +01:00
Éric Lemoine
c0e1c7051b
Add display-frame-rate.js script
2013-11-20 11:44:45 +01:00
Éric Lemoine
60ef4f214e
Rename symbol to shape
2013-11-20 11:44:45 +01:00
Éric Lemoine
0d84befe83
Add synthetic-data example
2013-11-20 11:39:18 +01:00