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
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Frederic Junod
593132c902
Remove unused private variables in ol.renderer.canvas.Map
2016-04-13 10:54:11 +02:00
Tim Schaub
f0814628b7
Synchronous rendering only
2016-03-18 17:26:10 -06:00
Andreas Hocevar
577e45cd97
Do not rotate map canvas after composition
...
This requires to draw tile layers to an intermediate canvas again, but
only when the view is rotated.
2016-03-18 21:53:19 +01:00
Andreas Hocevar
600c139a61
Resize the map canvas less aggressively
2016-03-12 14:13:28 +01:00
Andreas Hocevar
a109062b1f
Rotate map canvas after composition
2016-02-15 17:00:06 +01:00
Nicholas L
d820b54443
Remove goog.array.equals and goog.array.stableSort
2016-02-03 11:41:39 +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
Andreas Hocevar
4b942bc4f6
Add VectorTile renderer
2015-10-28 10:29:01 +01:00
Marc Jansen
138adf0509
Remove goog.isNull in renderer classes
2015-10-01 09:17:14 +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
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
23ed120361
Clarify when we make feature overlays wrap the x-axis
2015-04-21 09:56:03 +02:00
Andreas Hocevar
40feabc3c8
Do not require an extent for global projections
2015-04-21 09:11:06 +02:00
Andreas Hocevar
4f8dca92ba
Ensure functions are always called with the same number of args
2015-04-21 08:21:31 +02:00
Andreas Hocevar
8fd4e2c7c5
Improve docs, comments and code readability
2015-04-19 08:52:37 +02:00
Andreas Hocevar
b51aaa5055
Wrap the x-axis for the map's replay group
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
33c197cf16
Layer renderers should not require a map renderer
2015-02-08 07:25:10 -07:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Guillaume Beraudo
f715e3186a
Readability rearangement in canvasmaprenderer.js
2014-11-07 11:15:02 +01:00
Éric Lemoine
def1af4492
No composeFrame if prepareFrame returns false
2014-08-24 14:55:13 +02:00
Tim Schaub
b9f444a008
Rename olx.View2DState to olx.ViewState and use viewState property
2014-06-27 09:58:25 -04:00
Andreas Hocevar
f67767aaf0
Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE
2014-06-27 12:10:46 +02:00
Éric Lemoine
6cf4c95762
Flush the vector context after replaying the batch
2014-06-26 14:06:56 +02:00
Andreas Hocevar
ba2d49d715
Finish the replay group after dispatching the compose event
2014-06-26 13:16:34 +02:00
Éric Lemoine
18d117dff6
Hit detection for features drawn at pre/postcompose
2014-06-25 18:32:02 +02:00
Éric Lemoine
49a1215f75
Pass a replay group to ol.render.Event
2014-06-14 14:21:34 +02:00
Hadrien Tulipe
7aab28afcc
Provide ol.RendererType structure through ol.renderer.Map
...
It was previously in ol.Map, but it could not be provided because
of circular dependencies.
2014-05-27 22:47:02 +02:00
Hadrien Tulipe
1d6f9ca80b
Expose the map renderer type to the public API
...
In the case where the map decides itself which renderer to use. It can
be convenient for the developer to have knowledge of the choice made.
2014-05-27 22:47:02 +02:00
Éric Lemoine
8cd5f6d642
Merge pull request #2109 from elemoine/visibleandinrange
...
Hit detection respects min and maxResolution
2014-05-25 14:43:44 +02:00
Éric Lemoine
fd8a46dcae
Hit detection respects min and maxResolution
2014-05-25 14:35:07 +02:00
Andreas Hocevar
eb6a938062
Do not document object literals as interfaces
...
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Tim Schaub
cec41c4b0a
Add missing requires
...
Without explicit requires, it is possible that a build would exclude ol.js.
2014-04-30 08:37:52 -06:00
Tim Schaub
aa3a20e911
Provide layer states array in frame state
2014-04-04 07:36:42 -06:00
Frederic Junod
55de0a54b9
Add ol.dom.createCanvasContext2D function
2014-04-02 09:37:41 +02:00
Tom Payne
022a7a03e0
Use oli.FrameState instead of ol.FrameState
2014-03-10 14:48:23 +01:00
Tom Payne
0e90cf02ad
Pass view rotation to ol.render.canvas.Immediate
2014-02-21 12:57:09 +01:00
Éric Lemoine
f9e04ad7d5
Use ol.renderer.Map#scheduleExpireIconCache
2014-02-06 12:59:39 +01:00
Tom Payne
b6af02a762
Add ol.ENABLE_VECTOR to control inclusion of vector layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
7e020e4d26
Add ol.ENABLE_TILE to control inclusion of tile layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
8b128ece81
Add ol.ENABLE_IMAGE to control inclusion of image layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
4667dec7c3
Rename devicePixelRatio to pixelRatio in ol.FrameState
2014-01-15 09:46:27 +01:00
Éric Lemoine
84fc86f469
Add ol.render.canvas.Immediate#drawAsync
2014-01-06 17:10:00 +01:00