Éric Lemoine
|
e76ec3b292
|
Merge pull request #1504 from elemoine/vector-api-image-vector-hit-detection
[vector-api] Vector image hit detection
|
2014-01-14 03:33:47 -08:00 |
|
Éric Lemoine
|
f7be1c155e
|
Hit detection refactoring
Get the frame state from the map instead of storing values in the layer renderers.
|
2014-01-14 12:26:49 +01:00 |
|
Tom Payne
|
474b4a444b
|
Use a switch statement, rather than ifs, in ol.render.canvas.Replay
|
2014-01-13 18:17:38 +01:00 |
|
Tom Payne
|
54e1fd3a41
|
Use @inheritDoc in ol.render.webgl.Immediate
|
2014-01-13 18:11:06 +01:00 |
|
Tom Payne
|
3835c299b5
|
Remove unnecessary typecasts
goog.asserts.assertInstanceof is sufficient for the compiler to deduce
the type.
|
2014-01-13 18:10:32 +01:00 |
|
Éric Lemoine
|
ffcd4e8cc2
|
Fix hit detection on retina displays
|
2014-01-13 14:10:51 +01:00 |
|
Frederic Junod
|
b53ddf5b42
|
Create 'type' annotation for 'const' variables
|
2014-01-13 08:53:36 +01:00 |
|
Éric Lemoine
|
2cc4dd8985
|
Merge pull request #1413 from oterral/vector-api-draw
[vector-api] drawing interaction
|
2014-01-08 07:54:18 -08:00 |
|
oterral
|
b508469d22
|
Minor fix in FeatureOverlay
|
2014-01-08 16:39:52 +01:00 |
|
Frederic Junod
|
3f751a5903
|
Scale the image size and anchor by pixelRatio
|
2014-01-08 14:25:50 +01:00 |
|
Éric Lemoine
|
a1ffa170a9
|
Merge pull request #1480 from elemoine/vector-api-features-overlay
[vector-api] Add ol.FeaturesOverlay#addFeature and #removeFeature
|
2014-01-07 07:24:05 -08:00 |
|
Éric Lemoine
|
6556726541
|
ol.FeaturesOverlay creates a features collection
ol.FeaturesOverlay creates an empty collection of features if the features option is not specified.
|
2014-01-07 14:13:57 +01:00 |
|
Éric Lemoine
|
8c0406b390
|
Add ol.FeaturesOverlay#removeFeature
|
2014-01-07 14:13:57 +01:00 |
|
Éric Lemoine
|
0b4970ae46
|
Add ol.FeaturesOverlay#addFeature
|
2014-01-07 14:13:57 +01:00 |
|
Tom Payne
|
c816d0105d
|
Replay groups in defined order
|
2014-01-07 13:58:21 +01:00 |
|
Tom Payne
|
f2dbf4c145
|
Add ol.render.REPLAY_ORDER
|
2014-01-07 13:58:21 +01:00 |
|
Éric Lemoine
|
fdb154f5d7
|
Merge pull request #1433 from twpayne/vector-api-export-featuresoverlay
[vector-api] Export ol.render.FeaturesOverlay
|
2014-01-07 04:46:04 -08:00 |
|
Éric Lemoine
|
40fdd8a637
|
Merge pull request #1473 from elemoine/vector-api-zindex
[vector-api] Make canvas immediate API support zIndex
|
2014-01-06 12:17:33 -08:00 |
|
Éric Lemoine
|
12f1d97f82
|
Use drawAsync in canvas Immediate#drawFeature
|
2014-01-06 17:14:56 +01:00 |
|
Éric Lemoine
|
051c0a8b46
|
Use drawAsync in render box
|
2014-01-06 17:14:56 +01:00 |
|
Éric Lemoine
|
6db8f0c29f
|
Add ol.render.canvas.Replay#drawAsync
|
2014-01-06 17:10:00 +01:00 |
|
Éric Lemoine
|
3f1d74a0f5
|
Add ol.render.webgl.Immediate#drawAsync
|
2014-01-06 17:10:00 +01:00 |
|
Éric Lemoine
|
84fc86f469
|
Add ol.render.canvas.Immediate#drawAsync
|
2014-01-06 17:10:00 +01:00 |
|
Éric Lemoine
|
e9110923a4
|
Add ol.render.IRender#drawAsync
|
2014-01-06 17:05:05 +01:00 |
|
Tom Payne
|
72dc5f297d
|
Merge pull request #1462 from twpayne/vector-api-clean-ups
[vector-api] Minor clean-ups
|
2014-01-06 02:09:38 -08:00 |
|
Tom Payne
|
7ee2747948
|
Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType
|
2014-01-06 09:29:36 +01:00 |
|
Tom Payne
|
b049094391
|
Merge pull request #1456 from twpayne/vector-api-style-function
[vector-api] Add StyleFunction types
|
2014-01-03 08:30:24 -08:00 |
|
Tom Payne
|
061fed50b7
|
Move all styleFunction types into ol.feature
|
2014-01-03 17:23:11 +01:00 |
|
Antoine Abt
|
3461b026b6
|
Do not draw a rotated box, in dragbox/dragzoom
Use pixels to draw a straight box, perserving rotation while zooming
|
2014-01-03 11:55:28 +01:00 |
|
Antoine Abt
|
1142d55565
|
Add skeleton for webgl immediate renderer
|
2014-01-03 11:55:27 +01:00 |
|
Tom Payne
|
310d0dc792
|
Rename replayes to replays
|
2014-01-02 22:13:37 +01:00 |
|
Tim Schaub
|
86374d1fde
|
Merge pull request #1428 from tschaub/image-scale
Properly scale and rotate images with anchor offsets.
|
2013-12-20 13:44:10 -08:00 |
|
Éric Lemoine
|
4a96eaff60
|
Fix linestring hit detection bug
|
2013-12-20 22:24:52 +01:00 |
|
Tim Schaub
|
f5b9687479
|
Translate to image center before scale and rotation
Same treatment here as with the canvas replay.
|
2013-12-20 13:29:30 -07:00 |
|
Tim Schaub
|
c599c649ab
|
Translate to image anchor point, scale, rotate, translate back
|
2013-12-20 13:27:08 -07:00 |
|
Tom Payne
|
8d1f56a7cb
|
Export ol.render.FeaturesOverlay
|
2013-12-20 19:27:40 +01:00 |
|
Tom Payne
|
2407ee1db9
|
Add options object to ol.render.FeaturesOverlay constructor
|
2013-12-20 19:27:27 +01:00 |
|
Antoine Abt
|
f93a404adf
|
Merge pull request #1422 from tonio/vector-api-dragbox
[vector-api] Refactor DragZoom
|
2013-12-20 06:32:34 -08:00 |
|
Antoine Abt
|
adfe20dd12
|
Make DragBox interaction dispatch events
- boxstart/boxend events are dispatched,
- behavior is removed,
- geometry drawn by box render is a simple polygon instead of one with hole.
|
2013-12-20 15:24:53 +01:00 |
|
Tom Payne
|
bc36c2a366
|
Don't attempt to render features will null geometries in ol.renderer.vector.renderFeature
|
2013-12-20 14:41:37 +01:00 |
|
Tom Payne
|
f0b14521a4
|
Don't attempt to render features will null geometries in ol.render.canvas.Immediate
|
2013-12-20 14:40:30 +01:00 |
|
Antoine Abt
|
0eb00ba86b
|
Remove dragbox.exports
|
2013-12-20 11:11:53 +01:00 |
|
Éric Lemoine
|
18f9eeab12
|
No default style in ol.render.Box
|
2013-12-20 10:21:18 +01:00 |
|
Éric Lemoine
|
91a61f3152
|
ol.render.Box refactoring
|
2013-12-20 10:21:17 +01:00 |
|
Éric Lemoine
|
0724300685
|
Rename a property
|
2013-12-20 10:15:54 +01:00 |
|
Éric Lemoine
|
712f451179
|
Use better type
|
2013-12-20 10:15:54 +01:00 |
|
Éric Lemoine
|
0b6e1e91c0
|
ol.render.DragBox renamed to ol.render.Box
|
2013-12-20 10:15:54 +01:00 |
|
Tom Payne
|
af7b410d14
|
Merge pull request #1417 from twpayne/vector-api-image-rotate-and-scale
[vector-api] Image rotate and scale
|
2013-12-19 07:41:54 -08:00 |
|
Tom Payne
|
bfba52aef4
|
Add image rotation and scaling to ol.render.canvas.Immediate
|
2013-12-19 16:26:06 +01:00 |
|
Tom Payne
|
fe2f028777
|
Sort miscellaneous properties and add rotation and scale
|
2013-12-19 16:26:06 +01:00 |
|