Tom Payne
|
46396ad0f7
|
Set ol.render.canvas.defaultTextBaseline to middle
|
2014-02-03 15:49:06 +01:00 |
|
Tom Payne
|
b6a7bc1248
|
Add ol.render.canvas.TextReplay
|
2014-02-03 15:49:06 +01:00 |
|
Tom Payne
|
f24bd65f40
|
Add ol.render.canvas.Instruction.SET_TEXT_STYLE
|
2014-02-03 15:49:06 +01:00 |
|
Tom Payne
|
c29b88c0e2
|
Add ol.render.canvas.Instruction.DRAW_TEXT
|
2014-02-03 15:49:06 +01:00 |
|
Tom Payne
|
60f104c895
|
Refactor ol.render.canvas.Immediate to render text
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
745da0cfc3
|
Add ol.render.canvas.TextState
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
e2b2c7f3e0
|
Add ol.render.canvas.StrokeState
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
5645a7e603
|
Add ol.render.canvas.FillState
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
37f31c25df
|
Set ol.render.canvas.defaultTextAlign to center
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
131f22efa5
|
Don't use a color name in ol.render.canvas.defaultStrokeStyle
|
2014-02-03 15:49:05 +01:00 |
|
Tom Payne
|
090e3cbdd6
|
Add ol.render.IRender#drawText
|
2014-02-03 15:49:04 +01:00 |
|
Tom Payne
|
ffc27719ea
|
Use oriented rings where needed
|
2014-01-21 16:11:53 +01:00 |
|
Tom Payne
|
6552046aa0
|
Use oriented rings where needed
|
2014-01-21 16:11:52 +01:00 |
|
Frederic Junod
|
56547681c3
|
Uncomment ol.render.canvas.Immediate#drawCircleGeometry
|
2014-01-14 16:38:01 +01:00 |
|
Tom Payne
|
50a322208a
|
Merge pull request #1514 from twpayne/vector-api-circle
[vector-api] Add ol.geom.Circle
|
2014-01-14 03:46:48 -08:00 |
|
Tom Payne
|
825c5290f6
|
Add ol.render.canvas.PolygonReplay#drawCircleGeometry
|
2014-01-14 12:34:46 +01:00 |
|
Tom Payne
|
5052bef4a5
|
Add ol.replay.canvas.Instruction.CIRCLE
|
2014-01-14 12:34:46 +01:00 |
|
É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 |
|
Tom Payne
|
a8f5dff9cf
|
Add ol.render.canvas.Immediate#drawCircleGeometry
|
2014-01-14 12:32:31 +01:00 |
|
Tom Payne
|
b2b74a5ee6
|
Add ol.render.IRender#drawCircleGeometry
|
2014-01-14 12:31:50 +01: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 |
|
É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 |
|
Frederic Junod
|
3f751a5903
|
Scale the image size and anchor by pixelRatio
|
2014-01-08 14:25:50 +01:00 |
|
Tom Payne
|
c816d0105d
|
Replay groups in defined order
|
2014-01-07 13:58:21 +01: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
|
6db8f0c29f
|
Add ol.render.canvas.Replay#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 |
|
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
|
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
|
f0b14521a4
|
Don't attempt to render features will null geometries in ol.render.canvas.Immediate
|
2013-12-20 14:40:30 +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 |
|
Tom Payne
|
b3f77b4d68
|
Add image rotation and scaling to ol.render.canvas.Replay
|
2013-12-19 16:26:06 +01:00 |
|
Tom Payne
|
c6b961782a
|
Sort miscellaneous properties and add rotation and scale
|
2013-12-19 16:26:05 +01:00 |
|
Frederic Junod
|
06ba19896c
|
Set default canvas lineJoin and lineCap to 'round'
|
2013-12-19 15:40:31 +01:00 |
|
Éric Lemoine
|
44d310bb6d
|
Add getters to ol.style.Text
|
2013-12-19 14:37:58 +01:00 |
|
Éric Lemoine
|
d4d9cb6a3a
|
Add getters to ol.style.Stroke
|
2013-12-19 14:37:57 +01:00 |
|
Éric Lemoine
|
5cd3ab06fc
|
Add getters to ol.style.Image
|
2013-12-19 14:37:57 +01:00 |
|
Éric Lemoine
|
16047ff852
|
Add getters to ol.style.Fill
|
2013-12-19 11:41:38 +01:00 |
|
Éric Lemoine
|
1e24ec28be
|
Add getters to ol.style.Style
|
2013-12-19 11:32:57 +01:00 |
|
Éric Lemoine
|
fe7b614f22
|
Support hit detection on tainted canvas
|
2013-12-19 09:10:09 +01:00 |
|