Commit Graph

1027 Commits

Author SHA1 Message Date
ahocevar 75f2e1f847 Addressing @bartdve's review comments. 2012-08-21 14:00:48 +02:00
ahocevar a3ec0f77e0 Using integer pixel space to avoid whitespace between tiles. 2012-08-21 13:57:11 +02:00
ahocevar b2210d00a9 Removing no longer needed code.
Thanks @elemoine for catching the IE6 reflow in Tile/Image.js.
2012-08-21 13:57:11 +02:00
ahocevar f0ad48597f No more percentage based positioning.
Client zoom now supports both over- and undersampling.
2012-08-21 13:57:11 +02:00
ahocevar 26d4fe3ce8 Making row and column size consistent, as suggested by @bartvde. 2012-08-21 13:37:48 +02:00
ahocevar 0f58868830 When using a buffer, the grid lacks rows/columns at the top/left.
This is because the threshold used for deciding when a column or row is shifted is too far to the bottom right. A tiny fix, but effective. A new test makes sure that we don't shift columns more than necessary when the layer is dragged.
2012-08-20 18:52:17 +02:00
dregade 74f9a943cc fix serverResolutions if not provided 2012-06-29 09:22:54 +02:00
dregade 7b91c9c26f fix size initialization and resolution/zoom usage 2012-06-28 17:16:22 +02:00
Stéphane Brunner d42f5ee993 Merge pull request #271 from sbrunner/wmts-capabilities
Create Layer from WMTS capabilities in rest mode
2012-06-27 01:34:02 -07:00
Stéphane Brunner a662f82a1b improve createLayer from WMTS Capabilities 2012-06-11 13:21:35 +02:00
Andy Allan baabbc3658 fix typo 2012-06-09 11:39:00 +02:00
ahocevar a29009be91 Revert "URL switching for all REST encoded WMTS layers."
This was accidentally committed to master.

This reverts commit df44a79e1b.
2012-06-02 01:43:31 +02:00
ahocevar 1d957c7f5c Merge branch 'master' of github.com:openlayers/openlayers into upstream/master 2012-05-30 23:08:06 +02:00
Éric Lemoine 2141cb9c0a Merge branch '2.12' 2012-05-25 15:08:58 +02:00
ahocevar df44a79e1b URL switching for all REST encoded WMTS layers. 2012-05-25 14:54:06 +02:00
Éric Lemoine d289aa327e Grid.removeExcessTiles removes more tiles than it should, refs #481 2012-05-24 22:55:43 +02:00
Peter Robins 1193e17266 Google v3 docs amendment 2012-05-21 10:06:27 +01:00
Peter Robins 95164d8cc0 Document issues with Google v3 layers 2012-05-20 14:01:12 +01:00
root c673dbf9f2 Merge branch '2.12' of git://github.com/openlayers/openlayers 2012-05-17 20:39:48 +02:00
Peter Robins f435a98a2a Fix Google terms/poweredby/popup 2012-05-17 16:48:43 +01:00
Éric Lemoine 985233c2dd Merge branch '2.12' 2012-05-16 21:05:47 +02:00
Éric Lemoine 62bd06f465 use Util.indexOf in Layer.Bing, for compatibility with IE < 9 2012-05-16 08:24:55 +02:00
Tim Schaub 866fa443fe Merge branch '2.12' of github.com:openlayers/openlayers 2012-05-11 01:20:37 -06:00
ahocevar 72d1b54956 Also taking into account zoomOffset.
Now the meaning of getServerZoom is fully clarified, and we can get rid of some code again as well.
2012-05-11 00:26:09 -06:00
ahocevar 40b4cc49e0 Using OpenLayers.Util.indexOf.
Thanks @jorix for catching this.
2012-05-11 00:26:09 -06:00
ahocevar 9585341d9c Changing/fixing the meaning of getServerZoom.
If a layer is configured with serverResolutions, then getServerZoom should return the zoom level as index of the current resolution in the serverResolutions array.
2012-05-11 00:26:08 -06:00
Éric Lemoine a57738e817 Merge branch '2.12' 2012-04-20 15:29:46 +02:00
Éric Lemoine f36fd5f0d1 Merge pull request #393 from elemoine/393
grid layers may be misplaced
2012-04-20 06:27:27 -07:00
ahocevar 9ab6d08fb0 Calculate zoom level from serverResolutions.
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
ahocevar 551f509b49 Make sure tiles are loaded for Bing overlays.
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
Bart van den Eijnden 59cc18d85b fix Bing attribution issue reported by PitneyBowes 2012-04-10 14:31:20 +02:00
Éric Lemoine ae75fdacd7 Revert "Merge pull request #116 from elemoine/redraw"
This reverts commit 7a5b469192, reversing
changes made to a719de7e93.

Conflicts:

	tests/Tile/Image.html
2012-04-07 21:07:03 +02:00
Éric Lemoine 4df1104b7a Revert "Merge pull request #312 from elemoine/redraw"
This reverts commit 7f94945244, reversing
changes made to dfa70fafac.

Conflicts:

	lib/OpenLayers/Layer/Vector.js
2012-04-07 21:01:52 +02:00
Éric Lemoine f870417a30 class name olLayerGridTile renamed olLayerGrid 2012-04-03 06:28:06 +02:00
Éric Lemoine d650ba20d9 Layer.Grid - better docs for transitionEffect, removeBackBufferDelay, and className 2012-04-02 20:59:16 +02:00
Éric Lemoine d8473f9249 make Layer.Grid.prototype.className an API property 2012-04-02 17:57:37 +02:00
Éric Lemoine 8c6466bf2a move transitionEffect to Layer.Grid.prototype, and discourage the use of transitionEffect:"resize" on non-opaque layers 2012-03-31 21:32:49 +02:00
Éric Lemoine 1e5f83593c removeBackBufferDelay defaults to 0 for singleTile layers 2012-03-31 21:23:21 +02:00
Éric Lemoine 86cd9c7bf7 add class to Layer.Grid layer div 2012-03-31 21:22:36 +02:00
Éric Lemoine e0b93c2e45 The OpenLayers code is published under the 2-clause BSD license 2012-03-30 08:33:55 +02:00
Éric Lemoine 650df2a8f1 change copyright header in every OpenLayers js file 2012-03-29 22:14:56 +02:00
ahocevar 5e9104a2a2 Revert "Merge pull request #304 from mpriour/singleTile"
This reverts commit 84fb15e1d2, reversing
changes made to d0d116efdf.
2012-03-21 10:05:22 +01:00
ahocevar 90c9b525ed Nullifying more properties - previous change did not fix the issue. 2012-03-20 10:13:14 +01:00
ahocevar d31a8da839 Clone needs a fresh backBuffer and tileQueue. 2012-03-19 21:09:43 +01:00
Éric Lemoine acd11005b6 Merge pull request #333 from elemoine/patch-1
Tiles@Home has been discontinued so it should be removed from the doc as well
2012-03-19 09:21:58 -07:00
Frédéric Junod c6374606bc Merge pull request #327 from fredj/jshint
jshint. r=tschaub
2012-03-19 03:07:09 -07:00
Mark Prins 87540d4ef1 Tiles@Home has been discontinued so it should be removed from the example as well. My choice for OpenCycleMap is arbitrary, but since it is currently up on the main OSM slippy map, imo a valid choice.
See also: #330
2012-03-19 10:52:16 +01:00
Bart van den Eijnden c1944eb6da backBuffer style left and top need to be rounded 2012-03-19 10:15:13 +01:00
Frederic Junod 5557693df1 Confusing use of '!'. 2012-03-19 09:13:01 +01:00
Frederic Junod 2de2fe2563 Unnecessary and missing semicolon. 2012-03-19 09:13:01 +01:00