Commit Graph

6088 Commits

Author SHA1 Message Date
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
Matt Priour 2ba9c5ffda Remove 'light' tag from some examples it doesn't work for 2012-03-20 23:18:41 -05:00
Matt Priour 6eee5025f2 Add light tag to examples that could use the light build 2012-03-20 22:29:58 -05:00
Matt Priour 386dacffb3 Add a specific example which uses the OpenLayers.light.debug.js library, instead of the normal full multi-file debug version used for most examples 2012-03-20 20:16:03 -05: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
tschaub 0feefaa4bc Moving attribution from the middle of the map.
I believe this should be the default.  In rare cases where people want it somewhere in the middle of the map, they should provide custom css.
2012-03-20 16:43:33 -06:00
tschaub c02d5a4dbf Correct URL for sencha css and js. 2012-03-20 16:42:56 -06:00
Éric Lemoine 86de06517f Merge pull request #337 from ahocevar/337
controls.html example broken
2012-03-20 02:22:23 -07:00
ahocevar 90c9b525ed Nullifying more properties - previous change did not fix the issue. 2012-03-20 10:13:14 +01:00
ahocevar 8bd6de0fae Merge pull request #337 from ahocevar/337
controls.html example broken. r=@elemoine
2012-03-19 16:06:24 -07: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
Antoine Abt f90c3503e2 Merge pull request #336 from tonio/examples
fixes mobile examples which were using ZoomPanel
2012-03-19 06:51:54 -07:00
Antoine Abt ffa71c0d1a update doc in mobile navigation 2012-03-19 14:47:02 +01:00
Antoine Abt d81f0796d4 fixes mobile examples which were using ZoomPanel 2012-03-19 14:42:34 +01: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 4c02529d00 Merge pull request #332 from bartvde/backbuffer
backBuffer style left and top need to be rounded (original patch by @ahocevar, r=me,elemoine)
2012-03-19 02:43:04 -07:00
Éric Lemoine a0e53931e4 Merge branch '2.12' 2012-03-19 10:32:28 +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 1a5d491dae CSS: remove unit when value is 0 2012-03-19 09:49:13 +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 5e0c064359 Extra comma. 2012-03-19 09:13:01 +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
Frédéric Junod d2a09cbfb1 Merge pull request #4 from elemoine/multimap-tests
add a MultiMap Layer Removal section in the 2.12 release notes
2012-03-18 23:47:53 -07:00
Antoine Abt b10e6707e6 fixes button stay «active» on mobile, in default theme, and mobile example stylesheet 2012-03-18 20:43:33 +01:00
Antoine Abt 457f0285b5 better readability of button with text-shadow 2012-03-18 20:42:25 +01:00
Éric Lemoine 926283fa69 Merge branch '2.12' 2012-03-18 14:09:25 +01:00
ahocevar 472e400078 Adding "mobile" tag to offline storage exmaples. 2012-03-18 13:18:58 +01:00
ahocevar 46c5ac8e55 Merge pull request #322 from ahocevar/loadend
WMS loadend event does not always fire. r=@elemoine
2012-03-18 03:00:47 -07:00
ahocevar 99f116ee98 With tileQueue, we need a different way of handling loadstart/loadend. 2012-03-17 16:10:10 +01:00
Éric Lemoine de9716564f Merge pull request #330 from elemoine/osmarander
remove the osmarander layer in spherical-mercator.html
2012-03-17 07:44:29 -07:00
Éric Lemoine 5834eeed40 add a MultiMap Layer Removal section in the 2.12 release notes 2012-03-17 15:35:16 +01:00
Éric Lemoine 853ad096bb remove the osmarander layer from spherical-mercator.html, as the osmarander tiles (tah.openstreetmap.org) are no longer available 2012-03-17 15:20:31 +01:00
Bart van den Eijnden 1935d6da6d Merge pull request #329 from bartvde/master
merge 2.12 into master
2012-03-16 07:06:53 -07: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