Tom Payne
bc10446b0e
Track changes to layers in the map
2013-04-16 18:31:59 +02:00
Tom Payne
07fe17924b
Remove layer renderers in post render function
2013-04-16 18:16:08 +02:00
Tom Payne
4e69b2bb8b
Create and remove layer renderers in renderFrame
...
Previously, the map renderer would listen for layers being added and
removed from the layers collection, and would create and remove layer
renderers in response to these events.
With this change, layer renderers are only created or removed when
renderFrame is called, which leads to somewhat simpler code.
We still need to listen to changes to the layers collection, but now
these only trigger a new render.
This new approach also has an advantage when layers change order.
Swapping the order of two layers involves removing one and re-inserting
it elsewhere. With the old approach, this would cause the deletion and
re-creation of the layer renderer. With this new approach, the layer
renderer is preserved.
2013-04-12 17:50:38 +02:00
Tom Payne
be629a7ed8
Sort jsdoc comments alphabetically
2013-04-12 00:48:55 +02:00
Tom Payne
0371b891a6
Tighten up permission on layer renderers
2013-04-12 00:48:35 +02:00
Tom Payne
d855a35446
Make renderer layer management private
2013-04-12 00:33:37 +02:00
Tom Payne
f0106f391a
Make ol.renderer.Map.map property private
2013-04-12 00:33:37 +02:00
Tom Payne
ee817ba4a2
Clean up ol.renderer.webgl.Map.createLayerRenderer
2013-04-12 00:33:37 +02:00
Tom Payne
df6e13bdc0
Clean up ol.renderer.dom.Map.createLayerRenderer
2013-04-12 00:33:33 +02:00
Tom Payne
db15c53f95
Merge pull request #521 from openlayers/full-screen-control
...
Full screen control
2013-04-11 10:12:12 -07:00
Frederic Junod
7b0e036b83
Hide the control if the Fullscreen API is not supported
2013-04-11 18:25:31 +02:00
Frederic Junod
8206cf111f
Fix full screen button state
2013-04-11 18:25:31 +02:00
Tim Schaub
93041becbe
Toggle css class and use css content for anchor
2013-04-11 18:25:31 +02:00
Tom Payne
0bd11d0a70
Use full screen control in full screen example
2013-04-11 18:25:31 +02:00
Tom Payne
cef6fe4930
Add full screen control
2013-04-11 18:25:31 +02:00
Éric Lemoine
055a4da761
Merge pull request #518 from elemoine/canvas
...
Canvas tile layer renderer occasionally glitches when panning fast
2013-04-11 08:14:04 -07:00
Tom Payne
ac40769155
Clear tiles that are not fully covered
2013-04-11 15:50:32 +02:00
Éric Lemoine
d1021b6ee0
Refactor and fix canvas tile layer renderer
2013-04-11 09:26:57 +02:00
Éric Lemoine
a344e4af8c
Merge pull request #528 from elemoine/touch
...
Touch interactions should use requestRenderFrame
2013-04-10 22:44:27 -07:00
ahocevar
37ca407e50
Merge pull request #529 from ahocevar/global
...
Don't use window and document
2013-04-10 13:56:05 -07:00
Tim Schaub
d71da50fb9
Merge pull request #532 from tschaub/update-size
...
Add an updateSize method. Application code should call this when the map viewport size changes by some method other than a window resize.
2013-04-10 13:40:58 -07:00
Tim Schaub
b499f71d97
Add an updateSize method
...
We need a non-private/protected method to call when the map viewport size changes.
2013-04-10 12:47:06 -06:00
ahocevar
a437bea61f
Use no browser globals at all
2013-04-10 16:53:45 +02:00
Éric Lemoine
b6a6ba95cc
Touch zoom interaction requests render frames
2013-04-10 16:15:58 +02:00
Éric Lemoine
703842a021
Touch rotate interaction requests render frames
2013-04-10 16:15:58 +02:00
Éric Lemoine
1e3e7fb0c1
Touch pan interaction request render frames
2013-04-10 16:15:58 +02:00
Éric Lemoine
ce985ba272
Remove extra /**
2013-04-10 16:15:58 +02:00
Éric Lemoine
38914bc95b
addPreRenderFunction calls requestRenderFrame
...
So there's no need to call requestRenderFrame prior to calling addPreRenderFunction.
2013-04-10 16:15:58 +02:00
ahocevar
dc1d7a1aba
Don't use window and document
...
With this change, our JavaScript can also be executed by
non-brower engines.
2013-04-10 15:48:17 +02:00
ahocevar
ae5d1cee1e
Merge pull request #527 from ahocevar/jsdoc-filtered
...
Only document the exported API, not every symbol. r=@elemoint
2013-04-10 06:28:25 -07:00
Éric Lemoine
3bb476e752
Merge pull request #526 from elemoine/OSM
...
OpenStreetMap to OSM renaming
2013-04-10 06:27:04 -07:00
ahocevar
12cd3672bc
Remove "Inherited from" for non-API parents
2013-04-10 15:06:12 +02:00
Éric Lemoine
091cc10f08
Merge pull request #520 from elemoine/view2d
...
The view does not know about the map
2013-04-10 05:12:36 -07:00
Éric Lemoine
7a488be89e
Merge pull request #524 from elemoine/check
...
Compile entire code base on build check
2013-04-10 05:08:46 -07:00
ahocevar
71c32d3554
Don't use the undocumented property before it is set
...
This actually avoids addition of params of symbols that are not
part of the API.
2013-04-10 13:59:32 +02:00
ahocevar
7a50295c49
Making @elemoine and GitHub happy
...
Reminder to self: everyone wants a new line at the end of a
file.
2013-04-10 13:18:22 +02:00
ahocevar
1e0e30a9ed
Use a public return type for a public function
2013-04-10 11:34:03 +02:00
ahocevar
8acfa08766
Making the linter happy
...
Although *.jsdoc files are none of the linter's business...
2013-04-10 11:24:27 +02:00
ahocevar
9cb85ea9a9
Adding the projection namespace
2013-04-10 11:18:23 +02:00
ahocevar
423ba5c0e4
A few lines explaining what the exports.js plugin does
2013-04-10 11:04:39 +02:00
ahocevar
6f94ec6fe7
Adding params of API symbols to the API
...
This makes the API docs complete. What still needs to be
documented is API events, but this deserves a separate pull
request.
2013-04-10 10:57:36 +02:00
Éric Lemoine
a694661793
OpenStreetMap to OSM renaming
...
OSM is a well-known name, and is shorter than OpenStreetMap.
2013-04-10 10:07:49 +02:00
Éric Lemoine
4e4d22b4e2
Target "check" depends on ol-all.js
2013-04-10 09:15:15 +02:00
Éric Lemoine
14e066ac78
Add exports.js as an input to ol-all
2013-04-10 09:14:51 +02:00
Éric Lemoine
2d5381ae41
Move zoom from View2D to Interaction
2013-04-10 08:52:07 +02:00
Éric Lemoine
dbca68650c
Move rotate from View2D to Interaction
2013-04-10 08:52:06 +02:00
Éric Lemoine
51094139a8
Move pan function from View2D to Interaction
2013-04-10 08:27:47 +02:00
ahocevar
551a5f06ff
Nicer way to fix @inheritDoc
2013-04-10 01:45:21 +02:00
ahocevar
2fd185c966
Only document the exported API, not every symbol
...
There is more work to be done, because this filters out more
than desired, and we don't have events documented yet.
2013-04-10 01:44:40 +02:00
Tom Payne
ee987bc951
Merge pull request #438 from twpayne/boost-tile-limits
...
Tile limits are too low
2013-04-09 13:16:09 -07:00