Commit Graph

9390 Commits

Author SHA1 Message Date
Éric Lemoine 49bf204c13 pan interactions call requestRenderFrame on dragend 2013-04-15 10:46:55 +02:00
Éric Lemoine 61204d10d8 setHint returns new hint value 2013-04-15 10:46:30 +02:00
Éric Lemoine ca8d033fb0 Merge pull request #547 from elemoine/touch-anchor
Anchors are incorrect in touch interactions
2013-04-14 14:54:10 -07:00
Éric Lemoine b501230164 Bigger + and - zoom buttons on touch devices 2013-04-14 23:28:45 +02:00
Éric Lemoine 71fb6087fe Merge pull request #546 from elemoine/view2d
View2D - more consistency and configuration flexibility
2013-04-14 13:50:10 -07:00
Éric Lemoine 74feabb4c4 Fix rotation anchor for touch rotate interation 2013-04-14 22:47:52 +02:00
Éric Lemoine 4b395c72fa Fix zoom anchor for touch zoom interaction 2013-04-14 22:47:05 +02:00
Éric Lemoine 78b2983fdf maxZoom 18 in localized-openstreetmap example 2013-04-14 22:14:05 +02:00
Éric Lemoine 48f0e7e2ec More View2D configuration flexibility 2013-04-14 22:12:12 +02:00
Éric Lemoine 778aec45d8 View2D option "numZoomLevels" changed to "maxZoom"
This is to be consistent with ol.source.XYZ and ol.tilegrid.XYZ.
2013-04-14 22:00:09 +02:00
ahocevar aee6b8333b Merge pull request #545 from ahocevar/no-container
Docs align better with examples when not using a container
2013-04-14 00:20:39 -07:00
ahocevar f9281ac619 Docs align better with examples when not using a container 2013-04-14 09:19:40 +02:00
ahocevar 605ee491c4 Merge pull request #544 from ahocevar/no-timestamp
Removing the timestamp
2013-04-13 09:24:11 -07:00
ahocevar 6440ce5ea0 Removing the timestamp
When auto-generating the website using grunt in the
openlayers.github.io repo, we do not need to publish new docs
every time grunt is run, just because the timestamp is updated.
2013-04-13 18:23:31 +02:00
ahocevar 4a1f13ad0a Merge pull request #543 from ahocevar/jsdoc-typo
container-fluid is a class, not an id
2013-04-12 11:56:51 -07:00
ahocevar bbc20f505b container-fluid is a class, not an id 2013-04-12 20:55:57 +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
Éric Lemoine cd5d2c7144 Merge pull request #541 from elemoine/canvas-comments
Fix bug in canvas.TileLayer comments
2013-04-12 08:44:21 -07:00
Éric Lemoine 1fe3091f43 Fix bug in canvas.TileLayer comments 2013-04-12 17:40:28 +02:00
Éric Lemoine 6e3b8d2f40 Merge pull request #540 from elemoine/canvas-comments
Add comments to ol.renderer.canvas.TileLayer
2013-04-12 08:31:19 -07:00
Éric Lemoine 6cc019c031 Add comments to ol.renderer.canvas.TileLayer 2013-04-12 17:27:40 +02:00
Bart van den Eijnden aa69b4bae8 Merge pull request #539 from bartvde/wmscapstests
Use afterLoadXml in WMSCapabilities parser tests (r=@twpayne)
2013-04-12 04:03:14 -07:00
Tom Payne 7c9a1acc2a Merge pull request #535 from twpayne/renderer-clean-ups
Renderer clean-ups
2013-04-12 02:49:56 -07:00
Bart van den Eijnden 8fafe63553 Use afterLoadXml in WMSCapabilities parser tests
The WMS Capabilities parser tests were created before the afterLoadXml
utility functions were created. This is now corrected.
2013-04-12 11:25:08 +02:00
Bart van den Eijnden d1d18ad325 Merge pull request #517 from bartvde/kmlfresh3
Add a parser for reading and writing KML (r=@tschaub,@fredj,@twpayne)
2013-04-11 23:50:44 -07: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