Andreas Hocevar
af30b88413
Allow geometryFunction to return undefined
2014-12-16 01:12:08 +01:00
Andreas Hocevar
6478454a93
Use getGeometryFunction() in immediate API
2014-12-15 23:22:26 +01:00
Éric Lemoine
fdf52c1865
Simplify hit detection code
2014-12-05 15:42:54 +01:00
Tim Schaub
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Peter Robins
e35531e7c6
Rename BrowserFeature to browserfeature
2014-08-15 13:53:20 +00:00
Éric Lemoine
d57a35ffcb
Fix stride related bug in Canvas immediate API
2014-07-10 14:21:56 +02:00
Paul Spencer
570a0c23a7
Merge pull request #2183 from pagameba/classdesc
...
Use @classdesc notation
2014-07-07 08:30:33 -04:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Paul Spencer
abe953e4e5
Use @classdesc notation (continuing #2178 )
2014-07-03 08:09:25 -04:00
Paul Spencer
a93f7b8190
Fix spelling of GEOMETRY_RENDERERS_
2014-07-02 21:54:53 -04:00
Frederic Junod
52b1ba30fa
Don't scale the text stroke width by pixel ratio
2014-06-16 15:34:54 +02:00
Tim Schaub
097909516a
Account for null or undefined geometry
...
The change in #2098 made it so a feature's geometry could be undefined. This is consistent with the return type for the getGeometry method. Where calling code needs to ensure that it has a geometry instance, it can use instanceof, goog.isDefAndNotNull(), or test for a truthy value.
2014-05-23 10:00:15 -06:00
Éric Lemoine
511e3f7810
Avoid defining default values at multiple locations
2014-05-07 09:58:56 +02:00
Éric Lemoine
6cd403945a
Set snapToPixel defaut value to true
2014-05-07 09:58:56 +02:00
Éric Lemoine
a7aab4eb47
Make Immediate API use ol.style.Image "origin"
2014-05-05 09:56:12 +02:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Frederic Junod
e0278e0e9c
Scale the text offset by the device's pixel ratio
...
Fixes #1918
2014-03-28 12:22:12 +01:00
Tom Payne
78c8d976eb
Remove empty ol.geom.flat
2014-03-12 13:26:14 +01:00
Tom Payne
ca44c6328c
Factor out ol.geom.flat.transform
2014-03-12 13:26:14 +01:00
Frédéric Junod
7f46a293d2
Merge pull request #1839 from fredj/text-offset
...
Add offsetX and offsetY properties to ol.style.Text
2014-03-11 14:35:38 +01:00
Frederic Junod
4a893f7837
Add offsetX and offsetY properties to ol.style.Text
2014-03-11 14:06:51 +01:00
Paul Spencer
10d855afd4
Add and export documentation for ol.render.canvas.Immediate
2014-03-11 07:48:37 -04:00
Tom Payne
7a34929b15
Rename rotateWithMap to rotateWithView
2014-02-21 14:32:06 +01:00
Tom Payne
a17055a419
Activate rotateWithMap option in ol.render.canvas.Immediate
2014-02-21 12:57:34 +01:00
Tom Payne
0e90cf02ad
Pass view rotation to ol.render.canvas.Immediate
2014-02-21 12:57:09 +01:00
Frederic Junod
a445e81115
Handle image opacity in ol.render.canvas.Immediate
2014-02-19 11:40:40 +01:00
Tom Payne
ea67e21116
Handle null line dashes for text stroke styles in ol.render.canvas.Immediate
2014-02-16 18:46:36 +01:00
Tom Payne
a5fd5667b6
Set text style in ol.render.canvas.Immediate
2014-02-15 14:17:10 +01:00
Tom Payne
dfc57e9db4
Fix handling of line dash state in ol.render.canvas.Immediate
2014-02-13 15:30:04 +01:00
Tom Payne
09d5d31fc7
Rename ol.render.IRender to ol.render.IVectorContext
2014-02-06 18:03:27 +01:00
BRANDLI Nicolas
447814e1a9
Fix typo in text rendering
2014-02-04 15:27:59 +01:00
Tom Payne
60f104c895
Refactor ol.render.canvas.Immediate to render text
2014-02-03 15:49:05 +01:00
Tom Payne
090e3cbdd6
Add ol.render.IRender#drawText
2014-02-03 15:49:04 +01:00
Frederic Junod
56547681c3
Uncomment ol.render.canvas.Immediate#drawCircleGeometry
2014-01-14 16:38:01 +01:00
Tom Payne
a8f5dff9cf
Add ol.render.canvas.Immediate#drawCircleGeometry
2014-01-14 12:32:31 +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
84fc86f469
Add ol.render.canvas.Immediate#drawAsync
2014-01-06 17:10:00 +01:00
Tom Payne
7ee2747948
Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType
2014-01-06 09:29:36 +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
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
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
É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