Commit Graph

3963 Commits

Author SHA1 Message Date
Éric Lemoine c6c1bf1f77 fix movestart, move, moveend sequence on pan with animate:false 2012-04-23 23:57:48 +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 bd4c092943 Merge pull request #419 from ahocevar/bing-attribution
Incorrect Bing attribution when custom maxResolution is set. r=@elemoine
2012-04-20 06:11:31 -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
Éric Lemoine bfd6be634f if maxResolution is "auto" calculate maxResolution based on maxExtent and map size, else calculate maxResolution based on maxExtent and tile size 2012-04-11 17:45:34 +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 58e86a37f5 Revert "Declare zoomChanged."
This reverts commit b910a5f4d0.
2012-04-07 21:02:24 +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 685eae7c04 Merge pull request #390 from elemoine/scriptlocation
_getScriptLocation regexp not robust enough
2012-04-04 21:43:08 -07:00
Éric Lemoine b1b4736315 make _getScriptLocation RegExp more robust, p=jpfiset, t,r=me 2012-04-04 20:30:50 +02:00
Tim Schaub 2582e762b7 Avoid undefined url. 2012-04-03 16:49:23 -10: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
Peter Robins 720a815479 Improvements for projection docs 2012-03-27 14:07:58 +02:00
Éric Lemoine d680cb45a0 force a reflow after pinch 2012-03-23 22:10:16 +01:00
Éric Lemoine 863011b2b7 set VERSION_NUMBER to Release 2.12-rc1 2012-03-22 18:59:14 +01:00
ahocevar 8d42f33a28 Fixing typo which causes CacheRead to fail when CacheWrite is active 2012-03-21 23:21:24 +01:00
Tim Schaub 97582d637f Merge pull request #341 from tschaub/script
Correcting the callback for the script protocol.
2012-03-21 15:07:31 -07:00
tschaub 609e5f7f09 Taking brackets out of the callback.
The Yahoo API doesn't accept quotes in the callback (e.g. foo['bar']).  Since the callback registry is an object and all identifiers are prefixed with "c" now, we can use dot notation.
2012-03-21 09:18:23 -06: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
tschaub 127abf8782 Correcting the callback for the script protocol.
In f08119b01e, the default syntax for the script protocol's callback made it so the callbacks looked like `OpenLayers.Protocol.Script.registry[c1]`.  This essentially breaks the script protocol everywhere except where `c1` is defined and equals "c1" (the string).

Tests with this change demonstrate that default callbacks will now look like `OpenLayers.Protocol.Script.registry['c1']` (properly accessing the `c1` property of the registry object).
2012-03-20 17:07:52 -06: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
ahocevar ed45ab66e3 Merge pull request #331 from ahocevar/331
gutter and maxGetUrlLength broken. r=@elemoine
2012-03-19 03:23:44 -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
ahocevar f32bfa2240 Making backbuffer work again for tiles with frame. 2012-03-19 10:10:40 +01:00
Frédéric Junod cd8cd1e6c8 Merge pull request #328 from fredj/multimap-tests
Remove the OpenLayers.Layer.MultiMap class as the MultiMap service was discontinued.
2012-03-19 01:21:34 -07:00
Frederic Junod 5557693df1 Confusing use of '!'. 2012-03-19 09:13:01 +01:00
Frederic Junod 20e35b19ff Replace tabs with spaces. 2012-03-19 09:13:01 +01:00
Frederic Junod 2de2fe2563 Unnecessary and missing semicolon. 2012-03-19 09:13:01 +01:00
Antoine Abt 2b41c8926b Merge pull request #321 from tonio/zoomdefault
Make Zoom control be default instead of PanZoom.
2012-03-19 00:50:53 -07:00
ahocevar 99f116ee98 With tileQueue, we need a different way of handling loadstart/loadend. 2012-03-17 16:10:10 +01:00
Bart van den Eijnden b6dff22e3b Merge branch '2.12' 2012-03-16 15:02:37 +01:00
Frederic Junod 2ddca7f8cd Remove Layer.MultiMap tests and code.
The API code from http://developer.multimap.com is no longer available.
2012-03-16 14:59:10 +01:00
ahocevar 85b836de23 Merge pull request #322 from ahocevar/322
WMS loadend event does not always fire
2012-03-16 00:48:29 -07:00
ahocevar 193983b2b0 tileQueue has nothing to do with numLoadingTiles.
The tileQueue might have entries again after zooming when the previous zoom level hasn't finished loading yet. Removing the check for the tileQueue's length makes layers report loadend correctly again.
2012-03-15 17:44:30 +01:00
Bart van den Eijnden a3874b8f97 do not cast to LonLat if center is null in Map moveTo 2012-03-15 16:53:22 +01:00
Antoine Abt e50c44b63c update doc for control fallback 2012-03-15 10:12:38 +01:00
Marc Jansen 0cc81202a1 Add missing requires directive for OpenLayers.Format.WMSGetFeatureInfo. 2012-03-15 08:20:11 +01:00
Antoine Abt a96c2da6c2 add PanZoom control if Zoom isn’t in build 2012-03-14 22:31:47 +01:00