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
Tim Schaub
0eb7e8220d
Immediate rendering for all vector contexts
2016-03-18 17:31:14 -06:00
Tim Schaub
f0814628b7
Synchronous rendering only
2016-03-18 17:26:10 -06:00
Tim Schaub
ec2daf2118
Make drawFeature() immediate
2016-03-18 17:26:10 -06:00
Tim Schaub
42c2dd8702
More geometry
2016-03-18 17:04:50 -06:00
Tim Schaub
42f41e1cf4
Variable named geometry
2016-03-18 17:04:50 -06:00
Tim Schaub
05cf57dcfc
Remove unused arg
2016-03-18 17:04:50 -06:00
Tim Schaub
51dfe89425
Add assert message
2016-03-18 17:04:49 -06:00
Tim Schaub
d0b2016bb6
Add setStyle() to WebGL immediate API
2016-03-18 17:04:49 -06:00
Tim Schaub
f77c7dded2
Add drawGeometry() to WebGL immediate API
2016-03-18 17:04:49 -06:00
Tim Schaub
88f8515fb6
Shorter names for drawing methods
2016-03-18 17:04:44 -06:00
Tim Schaub
2133d6d081
Document the immediate rendering API
2016-03-18 17:03:18 -06:00
Tim Schaub
cf0c4dcf3f
Add methods to base class
2016-03-18 17:03:17 -06:00
Tim Schaub
873e4176c6
Add vectorContext.drawGeometry() method
2016-03-18 17:03:17 -06:00
Tim Schaub
8f0f278832
Add vectorContext.setStyle() method
2016-03-18 17:03:17 -06:00
Frederic Junod
3793bb18ae
Add missing goog.inherits for ol.render.canvas.Immediate
2016-03-03 17:12:19 +01:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Frederic Junod
d7c0aa4887
Add missing ol.render.Feature type annotation
...
Leftover from #4219
2016-02-22 10:02:15 +01:00
Andreas Hocevar
7cc43d36ef
Merge pull request #4597 from ahocevar/direct-render
...
Render tiles directly to the map canvas
2016-02-18 11:06:34 +01:00
Marc Jansen
068960e4b2
Don't use goog.isBoolean()
2016-02-16 23:52:20 +01:00
Brett Johnson
7f02b63ccc
Overloading fill color (polygon or text) with CanvasPattern and CanvasGradient.
2016-02-15 08:30:56 -08:00
Andreas Hocevar
952b99742e
Add tests, remove unused code, encapsulate repeated code in functions
2016-02-15 17:00:06 +01:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07:00
Guillaume Beraudo
289e571fb0
Remove all remaining unnecessary casts
...
There is still such a cast in the goog library itself.
See https://github.com/google/closure-library/pull/637
2016-02-03 16:26:43 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Nicholas L
d820b54443
Remove goog.array.equals and goog.array.stableSort
2016-02-03 11:41:39 +13:00
Bart van den Eijnden
4ef1f5e63f
Make sure icons show up in Safari
...
Make sure that drawImage calls don't exceed source image dimensions.
2016-01-12 15:57:11 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00