Frederic Junod
2fb5e544c2
Take the pixelRatio into account when computing the gutter
2016-08-17 13:33:03 +02:00
Tim Schaub
f25fd07a5e
Merge pull request #5702 from tschaub/no-missing-requires
...
Add rule to identify missing requires
2016-08-13 10:32:41 -06:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
3afb42828f
Add Hint and Property as ol.View properties
2016-08-12 10:53:50 -06:00
Tim Schaub
0b3c320540
Rename ol.webgl.WebGLContextEventType to ol.webgl.ContextEventType
2016-08-12 10:53:50 -06:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Benjamin
f73ee14e3c
Added image data value to 'forEachLayerAtPixel' method callback
...
The update has been added to the docs for all 'forEachLayerAtPixel' definitions
and currently returns null for non-supporting definitions. ol.Color typeDef
was also updated to support Uint8Arrays & Uint8ClampedArrays as it is the
reference type for the addded argument #5586
2016-08-12 12:13:11 -04:00
Frederic Junod
fbb585c5d8
Remove goog.addSingletonGetter function
2016-08-09 11:28:02 +02:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
12e81e5487
Clean up WebGL provides
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
Peter Robins
52afa50eec
Remove unneeded requires in renderers
2016-08-07 09:01:07 +00: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
Andreas Hocevar
ccf15b8be3
Remove useless target argument from ol.Event and subclass constructors
2016-07-05 09:40:00 +02:00
Peter Robins
294a129083
Replace goog.webgl
2016-07-02 10:40:55 +00: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
nicholas
6b465902cd
Remove goog.dom
2016-06-23 22:06:35 +12:00
Nicholas L
0fef14137c
Remove unneeded comments and use ol.global
2016-06-20 21:41:20 +12:00
nicholas
04c4b4efc1
Remove goog.style.setElementShown
2016-06-19 19:22:11 +12:00
Guillaume Beraudo
bb32b6ac55
Fix typo
2016-06-14 09:10:07 +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
Peter Robins
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Frederic Junod
7c15280e81
Remove use of goog.partial
...
Use Function.prototype.bind instead, see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Partially_applied_functions_(currying)
2016-05-02 14:52:09 +02:00
Frederic Junod
80e984a9c3
Use Array.isArray instead of goog.isArray
2016-04-04 09:06:29 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Tim Schaub
0eb7e8220d
Immediate rendering for all vector contexts
2016-03-18 17:31:14 -06:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Frederic Junod
8373814243
Remove unused goog.log logger from ol.renderer.webgl.Map
2016-02-22 10:02:15 +01:00
Frederic Junod
d7c0aa4887
Add missing ol.render.Feature type annotation
...
Leftover from #4219
2016-02-22 10:02:15 +01:00
Frederic Junod
17b667d6e0
Add missing type casts for goog.partial
2016-02-22 10:02:15 +01:00
Andreas Hocevar
6c7d6817bd
Merge pull request #4854 from ahocevar/fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully
...
Always report skipped feature hits for the original layer
2016-02-22 09:23:28 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Andreas Hocevar
9f0fefd42d
Hit-detect skipped features, but not on unmanaged layer
2016-02-17 00:54:31 +01:00
Tim Schaub
554887ae14
Remove use of goog.object.forEach()
2016-02-04 06:54:44 -07:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +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
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00