Andreas Hocevar
457de34485
Merge pull request #5708 from ahocevar/no-closepath
...
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Andreas Hocevar
65d03bfbfb
Bail out when there is no fill and stroke
2016-08-25 16:40:31 +02:00
Andreas Hocevar
b7c84b269c
Merge pull request #5196 from ahocevar/batch-fill-stroke
...
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar
395793b921
Additional tests and code comments
2016-08-24 11:44:15 +02:00
Frederic Junod
8e95d94f3e
Add rotateWithView option to ol.style.Text
2016-08-23 13:26:02 +02:00
Andreas Hocevar
7e940e618e
Introduce new overlaps option for Vector and VectorTile sources
...
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar
eed52552a9
Batch polygon and circle fills and strokes
2016-08-23 12:05:03 +02:00
Frederic Junod
d4ad9ad616
Add missing goog.require('ol')
2016-08-17 09:57:21 +02:00
Tim Schaub
a27d0da8a5
Add transform2D to ol.geom.SimpleGeometry
2016-08-12 10:54:06 -06:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Andreas Hocevar
9d80116bf0
Remove closePath() where clip() is used
...
clip() does an implicit closePath(), see
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Compositing#Clipping_paths
2016-08-11 15:56:52 +02:00
Andreas Hocevar
370c0c0846
Do not close the ring when we use closePath()
2016-08-11 15:56:52 +02:00
Andreas Hocevar
a4f69f32d7
Avoid expensive closePath() when it makes no visual difference
2016-08-11 15:56:52 +02:00
Frederic Junod
fbb585c5d8
Remove goog.addSingletonGetter function
2016-08-09 11:28:02 +02:00
Tim Schaub
3a1bbc4248
Get rid of ol.render.IReplayGroup interface
2016-08-08 09:58:12 -06:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
b47dc998a3
More WebGL name corrections
2016-08-07 10:49:12 -06:00
Tim Schaub
12e81e5487
Clean up WebGL provides
2016-08-07 10:49:12 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Tim Schaub
424f3e5577
Move renderer files so they are named like their provides
2016-08-07 10:49:11 -06:00
Tim Schaub
6b883afa35
Move render files so they are named like their provides
2016-08-07 10:49:11 -06:00
Andreas Hocevar
e18d41b5e0
Remove gratuitous debug assertions
2016-08-04 11:29:54 +02:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins
f8f2cd11d5
Replace goog.getUid with ol.getUid
2016-07-20 11:01:00 +00:00
Peter Robins
0713e680e1
Replace goog.abstractMethod
2016-07-19 09:08:23 +00:00
Kevin Schmidt
1d585f8924
Avoid unnecessary getImageData calls in hit detection
...
If a feature is outside the hit extent, don't execute the end
geometry instruction that calls getImageData.
2016-07-14 18:21:49 -06:00
Andreas Hocevar
ccf15b8be3
Remove useless target argument from ol.Event and subclass constructors
2016-07-05 09:40:00 +02:00
Tim Schaub
a30d4843cf
Merge pull request #5541 from probins/isnumber
...
Replace goog.isNumber
2016-07-02 09:20:53 -06:00
Peter Robins
294a129083
Replace goog.webgl
2016-07-02 10:40:55 +00:00
Andreas Hocevar
9624357bc3
Merge pull request #5507 from ahocevar/remove-goog-vec
...
Remove use of goog.vec.*
2016-07-01 22:46:42 +02:00
Peter Robins
3eea9d4558
Replace goog.isNumber
2016-07-01 09:35:54 +00:00
Peter Robins
f196ed8102
Replace remaining goog.inherits
2016-07-01 08:45:15 +00:00
Tim Schaub
618cb389e5
Use ol.transform.compose() for common transform compositions
2016-06-24 19:33:53 +02:00
Andreas Hocevar
3e928718f4
ol.vec.Mat4 improvements
...
* Rename ol.vec.Mat4.fromMatrix to ol.vec.Mat4.fromTransform
* Make result from ol.vec.Mat4.fromTransform immutable by adding result
matrix as argument.
2016-06-23 15:52:25 +02:00
Andreas Hocevar
6b4ee42c90
Refactor to a more convenient internal API
2016-06-23 13:10:41 +02:00
Andreas Hocevar
cf7ff841a7
Remove use of goog.vec.*
2016-06-23 13:10:41 +02:00
Andreas Hocevar
35129af7f0
Do not optimize lines away entirely
2016-06-23 10:38:10 +02:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Peter Robins
2117f2e3b1
Convert all typedefs to CamelCase
2016-05-18 19:44:45 +00:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
Peter Robins
c7aeebed8c
Rename sub-sub-namespace typedefs to sub-namespace
...
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace.
Fortunately they are all non-api, so the rename should not affect anything.
2016-05-11 19:46:56 +00:00
Peter Robins
4f0b4dacbd
Move sub-namespace typedefs to typedefs.js
...
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Andreas Hocevar
f7147960a9
Add render options for vector tile layers
2016-04-19 13:04:38 +02:00
Andreas Hocevar
fe33910ec2
Revert "Batch polygon fill and stroke instructions"
2016-04-07 16:30:04 +02:00
Andreas Hocevar
c535cf04e2
Merge pull request #5149 from ahocevar/batch-polygon-fill-stroke
...
Batch polygon fill and stroke instructions
2016-04-04 09:17:52 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Andreas Hocevar
ee53fd772d
Remove unnecessary duplicated polygon close points
2016-03-31 14:47:07 +02:00
Andreas Hocevar
18f3d7243d
Batch polygon fill and stroke instructions
2016-03-31 13:26:42 +02:00
Tim Schaub
22d03cb2ee
Avoid duplicate lineTo and correctly close rings
2016-03-19 16:12:38 -06:00