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
Tim Schaub
618cb389e5
Use ol.transform.compose() for common transform compositions
2016-06-24 19:33:53 +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
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Andreas Hocevar
2ec4969ac7
Remove api annotations from enums
2016-06-03 09:29:14 +02:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Frederic Junod
17b667d6e0
Add missing type casts for goog.partial
2016-02-22 10:02:15 +01:00
Andreas Hocevar
5bc00d8535
Continue passing null instead of unmanaged layer to forEachFeatureAtCoordinate
2016-02-17 08:59:45 +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
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
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Éric Lemoine
279eae1dba
Do not ignore layer filter for unmanaged layers
...
PR #3883 made `forEachFeatureAtPixel` ignore unmanaged layers. This commit reverts that change.
2015-11-30 17:53:19 +01:00
Andreas Hocevar
1aea2c2b0c
Pass null as forEachFeatureAtPixel layer arg for unmanaged layers
2015-11-09 09:45:21 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
Marc Jansen
138adf0509
Remove goog.isNull in renderer classes
2015-10-01 09:17:14 +02:00
Marc Jansen
bc58c383ba
Replace goog.nullFunction with ol.nullFunction
2015-09-29 16:39:35 +02:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Marc Jansen
7352ddeb89
Use ol.isDef in assertion
...
This addresses comment e558b5db63 (commitcomment-13406867)
by @elemoine.
2015-09-25 11:35:13 -06:00
Marc Jansen
8eea827343
Remove goog.isDef from maprenderer
2015-09-25 11:35:13 -06:00
Pierre GIRAUD
badf14e0f1
forEachFeatureAtPixel shouldn't fail if layer has no source
2015-09-16 13:27:01 +02:00
Guillaume Beraudo
3811228ac7
Add Z-index to layers
...
This commit allows setting a z-index property on the layers and uses
it in the canvas, WEBGL and DOM map renderers for ordering the layers
before rendering.
Default z-index is 0 for managed layers and 1000 for unmanaged ones.
It allows always on bottom, always on top and more complex layer layouts.
2015-09-03 11:31:57 +02:00
Frederic Junod
2d92791b17
Remove deprecated checkStructDictInheritance
...
Deprecated since the 20150505 Closure Compiler release.
See https://github.com/google/closure-compiler/wiki/Releases#may-5-2015-v20150505
2015-08-20 11:40:22 +02:00
Andreas Hocevar
26e146b1d8
Ignore layer filter for unmanaged layers
...
To make unmanaged vector layers work like the removed ol.FeatureOverlay,
the layer filter for ol.Map#forEachFeatureAtPixel needs to ignore unmanaged
layers.
2015-07-07 22:24:57 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Andreas Hocevar
513677fecd
Render map replay group on the correct world instead of wrapping it
...
By using the frameState's focus, we can adjust extent and transform and
render it for the world of interest instead of wrapping it and rendering
for every visible world.
2015-04-22 09:11:19 +02:00
Andreas Hocevar
40feabc3c8
Do not require an extent for global projections
2015-04-21 09:11:06 +02:00
Andreas Hocevar
45cc660c48
Use x of the real world in forEachFeatureAtCoordinate
2015-04-18 19:10:53 +02:00
Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
Tim Schaub
7f18033171
Make layer renderers observable and re-render on change
2015-02-07 16:42:36 -07:00
Tim Schaub
693ec7706e
createLayerRenderer must be implemented by subclass
2015-02-07 16:30:28 -07:00
Frederic Junod
078d3fb007
Add missing goog.require
2015-02-05 10:56:44 +01:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
4d4bed454a
Avoid pixel->coord->pixel conversion
2015-01-30 10:00:37 +01:00
tsauerwein
054227fd26
Make signature for *AtPixel methods more consistent
...
pixel/coordinate is the first argument.
2015-01-30 10:00:36 +01:00
tsauerwein
225f0739ec
Add forEachLayerAtPixel
2015-01-30 10:00:36 +01:00