Bart van den Eijnden
965e269cfd
minor change to Protocol.CSW to deal with the situation where the GeoExt ProtocolProxy is configured with setParamsAsOptions true
2012-03-22 11:09:38 +01:00
ahocevar
f84a2d0bc9
Merge branch '2.12'
2012-03-21 23:35:51 +01:00
ahocevar
8d42f33a28
Fixing typo which causes CacheRead to fail when CacheWrite is active
2012-03-21 23:21:24 +01:00
tschaub
a28a9d2121
Merge branch '2.12' of github.com:openlayers/openlayers
2012-03-21 16:11:30 -06: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
Bart van den Eijnden
6b8c7a8ca5
Merge pull request #334 from bartvde/sldwhitespace
...
ignore whitespace in filter values (r=@marcjansen,@ahocevar)
2012-03-21 05:16:45 -07:00
Bart van den Eijnden
221292436a
add expectWithTrim to all test cases and protect numericIf against failure
2012-03-21 13:15:16 +01:00
Bart van den Eijnden
430d09eb55
incorporate review by @marcjansen
2012-03-21 12:17:44 +01: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
Bart van den Eijnden
94bd37031d
instead, add a trimWhitespace option to OpenLayers.String.numericIf as discussed with @ahocevar
2012-03-19 13:07:49 +01:00
ahocevar
ed45ab66e3
Merge pull request #331 from ahocevar/331
...
gutter and maxGetUrlLength broken. r=@elemoine
2012-03-19 03:23:44 -07:00
Bart van den Eijnden
7a769830fe
ignore whitespace in filter values
2012-03-19 11:13:27 +01: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
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
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
Antoine Abt
b2727c88f2
make Zoom default instead of PanZoom
2012-03-14 20:25:07 +01:00
Frederic Junod
61f01f20e0
Remove Renderer.NG related code
2012-03-14 09:17:42 +01:00
fredj
23380e5d4a
Move NG renderer to deprecated.js
2012-03-14 09:17:42 +01:00
fredj
420a6f4dd2
Move SVG2 renderer to deprecated.js
2012-03-14 09:17:42 +01:00
Tim Schaub
a462be52a8
Removing unused bind var.
...
Thanks @jorix for catching this.
2012-03-13 23:08:28 -06:00
Antoine Abt
bed3edeb46
Merge pull request #281 from ejn/master
...
Improve iconOn/iconOff class name matching in Panel.js; add unit tests
2012-03-13 00:37:54 -07:00
ahocevar
6b5dba3f93
Merge pull request #301 from ahocevar/offline
...
Adding CacheRead and CacheWrite controls. r=@elemoine,@fredj
2012-03-12 08:29:00 -07:00
Éric Lemoine
c66371ebf8
Merge pull request #288 from mpriour/multiple-builds
...
Make the getScriptLocation function work with mobile & light builds
2012-03-12 07:19:42 -07:00
ahocevar
7693c2480d
Merge pull request #296 from ajkopinga/canvas-edge-hit2
...
added hit detection for symbol edges to canvas renderer with unit tests
2012-03-12 06:12:57 -07:00
Éric Lemoine
56e25fc9fe
Merge pull request #309 from bartvde/ie8doubleclick
...
prevent double click from firing click callback in IE
2012-03-12 02:37:38 -07:00
Bart van den Eijnden
1dba227db4
add comment as to why clearTimer is needed here, and change control flow back to what it was before breakage, i.e. do not call clearTimer if it does not pass the tolerance
2012-03-12 09:59:25 +01:00
Éric Lemoine
1ea71fd030
use two slashes in RegExp strings for escapement (see http://stackoverflow.com/questions/7735749/fix-jslint-bad-escapement-warning-in-regex )
2012-03-12 09:05:54 +01:00
Matt Priour
ef0da77e06
Merge branch 'master' into multiple-builds
2012-03-11 20:49:47 -05:00
ahocevar
bd262fce41
Addressing @elemoine's review comments.
...
Now the application no longer needs to care about the tile origin, because the CacheWrite control modifies the url if the CORS image loading is disabled and it is from a different origin. This only requires OpenLayers.ProxyHost to be properly configured. Also local storage keys use the original url instead of the proxied url, to make the CacheRead control work without proxy settings.
No deferred exceptions are thrown any more. Instead, OpenLayers.Console is used to show an error message for security exceptions.
We now check for OpenLayers.Tile.Image, because other tile types (e.g. UTFGrid) are not supported (yet).
To make the same origin handling in the CacheWrite control easier, OpenLayers.Request now exposes the same origin logic from request.issue as a separate function, so it can also be used by other components.
2012-03-11 22:15:34 +01:00
Volker Mische
c02f295836
The loadcancel event doesn't really exist
2012-03-11 17:26:06 +01:00
Éric Lemoine
7f94945244
Merge pull request #312 from elemoine/redraw
...
Vector.Redraw should set zoomChanged to true in moveTo
2012-03-10 00:55:31 -08:00
ahocevar
e52c97f741
Don't check based on layer.maxExtent.
...
layer.maxExtent is always set as soon as the layer is added to a map. Instead, making behavior consistent with tiled layers: don't display outside maxExtent except when displayOutsideMaxExtent is set to true or the layer's extent equals the world bounds for maps with a baseLayer that has wrapDateLine set to true.
2012-03-09 23:50:09 +01:00