Éric Lemoine
0def9728bb
Merge pull request #4144 from elemoine/feature-animation
...
Set context.fillStyle to a string
2015-09-22 12:13:12 +02:00
Éric Lemoine
167480bde6
context.fillStyle should be a string
...
The value we set context.fillStyle to should always be a string. This commit fixes a bug in circlestyle.js where we did set context.fillStyle to an array instead of a string.
2015-09-21 20:49:05 +02:00
Marc Jansen
80995159b1
Use a blackish default for filling texts
2015-09-17 16:52:59 +02:00
Tim Schaub
6838fdd4c9
Merge pull request #4084 from tschaub/circle-exports
...
Fewer circle exports.
2015-09-09 09:12:42 -06:00
Tim Schaub
d3a4fd115b
Merge pull request #4083 from tschaub/missing-description
...
Add API descriptions.
2015-09-08 22:35:31 -06:00
Frédéric Junod
cb9054f7fd
Merge pull request #4060 from fredj/unnecessary_cast
...
Remove unnecessary cast
2015-09-07 09:33:03 +02:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Frederic Junod
5371d8dd34
Use a private variable to cache the default style array
...
See #1815
Fixes #4063
2015-09-07 09:12:52 +02:00
Tim Schaub
053538cc42
Anchor, origin, and size are neither settable nor gettable for circle
2015-09-06 09:57:25 -06:00
Tim Schaub
1a240ccf9d
Missing image style method descriptions
2015-09-06 08:35:38 -06:00
Bart van den Eijnden
6a0fa114da
Make setOpacity on ol.style.Image API
2015-09-03 08:58:50 +02:00
Pierre GIRAUD
de0266ded7
Add stroke to default editing style for geometry collections
2015-08-18 10:54:45 +02:00
Guillaume Beraudo
464ce13b13
Mark ol.style.Icon#load() @api
...
We currently rely on the renderer to load the styles it intents to use.
In Ol3-Cesium we want to allow different styles for 3D and for 2D.
This commit fixes the issue by allowing application code to explicitely
initiate the loading process.
2015-08-07 15:56:07 +02:00
Peter Robins
83c33a03c6
Remove further references to FeatureOverlay
2015-06-13 14:01:45 +00:00
Éric Lemoine
e45c44fa01
Add missing goog.provide's
2015-04-07 13:49:36 +02:00
Tim Schaub
50f71655e5
Style docs
2015-04-04 17:38:03 +02:00
Tobias Sauerwein
8c2700b3c8
Merge pull request #3455 from tsauerwein/webgl-loaded-icon
...
Fix pre-loaded icons images for WebGL
2015-04-02 20:29:29 +02:00
tsauerwein
ed1d9cc8fc
Add imgSize to Icon options
2015-04-02 19:18:38 +02:00
Tim Schaub
5bb7535207
Remove @api annotation from abstract method
2015-04-02 16:23:54 +02:00
Frédéric Junod
afa2238ccd
Merge pull request #3414 from fredj/require-atlas-manager
...
Add missing ol.style.AtlasManager goog.require
2015-03-31 10:14:58 +02:00
Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
Frederic Junod
632205d902
Add missing ol.style.AtlasManager goog.require
2015-03-30 09:27:13 +02:00
Éric Lemoine
80fa7e5ba1
Merge pull request #3237 from Morgul/ccase-circle-drawing
...
Add circles to Draw interaction.
2015-03-11 17:08:10 +01:00
Christopher S. Case
1fb932f7bb
Removed lurking console.log
2015-03-11 10:09:58 -05:00
Frederic Junod
e2f8c01c42
Fix jsdoc type for arrays of listening keys
2015-02-26 11:45:15 +01:00
Frederic Junod
c3d9946924
Use lineCap, lineJoin and miterLimit stroke properties
2015-02-19 12:33:16 +01:00
Frederic Junod
5e712ac88c
Use correct renderOptions type
2015-02-19 12:12:00 +01:00
Christopher S. Case
ae8321ab30
Added circle drawing to draw interaction.
2015-02-18 09:50:02 -06:00
Frederic Junod
078d3fb007
Add missing goog.require
2015-02-05 10:56:44 +01:00
Frederic Junod
f9723aa310
Add missing goog.require
2015-02-03 15:52:19 +01:00
tsauerwein
da7f38635b
Remove hitDetectionOrigin
2015-01-08 15:38:00 +01:00
tsauerwein
461ec1d3bc
Make sure hit-detection atlas is in sync
...
... with the atlas for the original images, so that
the offsets are the same.
2015-01-08 15:38:00 +01:00
Andreas Hocevar
fe0e17fdaf
Merge pull request #3010 from ahocevar/style-geometry
...
Allow styles to override feature geometries
2014-12-18 10:45:50 +01:00
Andreas Hocevar
784701641d
Add a getGeometry method
2014-12-18 10:28:21 +01:00
Andreas Hocevar
2bf191b5e3
Assert that feature.get('foo') returns a geometry
2014-12-18 10:08:35 +01:00
Andreas Hocevar
19015d2ca9
Create typedef
2014-12-18 10:07:57 +01:00
Bart van den Eijnden
13ce41a1d5
Merge pull request #3044 from gberaudo/api_image_style_constructor_properties
...
Mark Image style constructor properties `@api`
2014-12-17 10:25:20 +01:00
Andreas Hocevar
af30b88413
Allow geometryFunction to return undefined
2014-12-16 01:12:08 +01:00
Andreas Hocevar
2d12531105
Allow styles to override feature geometries
...
With this change, application developers are able to define styles that
render a different geometry than the feature geometry. This can e.g. be
used to render an interior point of a polygon instead of the polygon, or
to render symbols like arrows along lines.
2014-12-15 23:20:53 +01:00
Bart van den Eijnden
babc33fcb0
Add getter functions for points and angle in ol.style.RegularShape
2014-12-15 17:04:43 +01:00
Guillaume Beraudo
ae998a7585
Mark Image style constructor properties @api
2014-12-15 14:41:35 +01:00
Bart van den Eijnden
38dca7792c
Implement rotation for ol.style.RegularShape
2014-12-12 15:19:31 +01:00
Éric Lemoine
61f0c55975
Passing options to RegularShape is mandatory
2014-12-04 13:33:30 +01:00
Éric Lemoine
87bb1b956b
Merge remote-tracking branch 'upstream/master' into webgl-point
...
Conflicts:
src/ol/style/circlestyle.js
src/ol/style/regularshapestyle.js
test/spec/ol/style/regularshapestyle.test.js
2014-12-04 12:57:46 +01:00
Éric Lemoine
b2e419654b
Add ol.INITIAL_ATLAS_SIZE and ol.MAX_ATLAS_SIZE
2014-12-04 12:13:47 +01:00
tsauerwein
e109be4b57
Rename size to initialSize
2014-12-04 11:49:50 +01:00
tsauerwein
0fd1a575a9
Use string instead of ol.structs.Checksum
2014-12-04 11:48:43 +01:00
tsauerwein
b5d80679d8
Add and fix documentation for atlas manager
2014-12-04 10:21:32 +01:00
Bart van den Eijnden
6cd1f3f262
Correct olx.style.RegularShapeOptions definition
2014-11-29 13:52:36 +01:00
Bart van den Eijnden
275f5bc796
Merge pull request #2981 from bartvde/circle-linedash
...
Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine)
2014-11-29 12:19:14 +01:00