Björn Harrtell
3b91e41690
Mark context property as part of API. It's very useful and is used in examples (at least strategy-cluster-threshold)
2012-04-23 12:01:55 +03:00
crschmidt
43126239ff
Merge pull request #429 from flamandro/permalink
...
Fix Trac #3381 . Applied patch from ticket #3381 to Permalink tests and updated Permalink.js to pass the tests by maintaining anchors in links.
2012-04-22 12:58:17 -07:00
John Lien
ab87c33670
Applied patch from ticket #3381 to Permalink tests and updated Permalink
...
control to pass tests by maintaining anchors.
All tests continue to pass.
2012-04-22 14:48:12 -04:00
Marc Jansen
e70ee09a4d
Merge branch 'master' of https://github.com/openlayers/openlayers into no-$
2012-04-20 23:45:37 +02:00
Marc Jansen
1691d4a71f
Minor API doc enhancement
2012-04-21 00:23:41 +03:00
Marc Jansen
e690f28517
replace tab with spaces
2012-04-21 00:14:24 +03: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
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
e998335718
Merge pull request #399 from elemoine/399
...
adding an OverviewMap to an OSM map no longer just works
2012-04-20 05:10:34 -07:00
ahocevar
a73d9e3804
Merge pull request #407 from ahocevar/alwaysInRange
...
alwaysInRange not updated when using addOptions. r=@elemoine,@bartvde
2012-04-19 09:00:26 -07:00
ahocevar
70161c5628
Merge pull request #421 from ahocevar/bing-overlay
...
Make sure tiles are loaded for Bing overlays. r=@bartvde
2012-04-19 07:03:56 -07: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
ahocevar
363f837acb
Using resolution instead of zoom level for initial center (see #418 ).
2012-04-19 13:29:56 +02:00
ahocevar
ef33f01504
Respect alwaysInRange from prototype, but allow changes in addOptions.
2012-04-19 12:02:18 +02:00
Tim Schaub
faaa2cec1f
Using compiled regexp to replace dots.
...
Though split and join appear to be more efficient in Chrome, a compiled regexp looks to be a safer bet across the board. See http://jsperf.com/dotless (and http://jsperf.com/dotless-nop for the NOP).
2012-04-18 09:46:24 -04:00
Tim Schaub
163caf0e8d
Underscore in canvas hit detection.
2012-04-18 09:40:27 -04:00
Tim Schaub
8533edd19b
Toward dotless identifiers.
2012-04-18 09:39:58 -04:00
Marc Jansen
4cd34bc851
Added tests for OpenLayers.Control.Pan.
2012-04-17 21:31:12 +02:00
Marc Jansen
d86c1b6c9c
Changed Pan control to inherit from OpenLayers.Control.Button.
2012-04-17 21:29:32 +02:00
Marc Jansen
56d7cee8cf
Protect the trigger action of pan control by checking whether
...
we were added to a map prior to calling this.map.pan().
2012-04-17 21:25:56 +02:00
Marc Jansen
53ed973eec
Added tests for OpenLayers.Control.Pan.
2012-04-17 21:24:54 +02:00
Marc Jansen
d08fb575b1
The changed controls should also check whether they have correctly
...
inherited the property 'type' of the new parent class.
2012-04-17 20:21:06 +02:00
Marc Jansen
d5bdadc18e
Removed erroneously commited alert-statements in tests.
2012-04-17 20:06:40 +02:00
Marc Jansen
292da06150
Changed ZoomIn control to inherit from OpenLayers.Control.Button.
2012-04-17 20:05:47 +02:00
Marc Jansen
4af41b41f5
Added tests for ZoomIn control.
2012-04-17 20:04:49 +02:00
Tim Schaub
bce40d9e42
Merge branch 'master' of github.com:openlayers/openlayers
2012-04-17 12:12:38 -04:00
Tim Schaub
f70b500aac
Merge branch '2.12' of github.com:openlayers/openlayers
2012-04-17 12:11:38 -04:00
Bart van den Eijnden
ce18994664
Merge pull request #413 from bartvde/extendeddate
...
allow the regex for date parsing to be specified, so that applications can potentially deal with dates before BC in ISO-8601 (r=@ahocevar)
2012-04-17 08:41:11 -07:00
Bart van den Eijnden
a96d32d284
rename to dateRegEx and provide default value in api docs
2012-04-17 17:39:37 +02:00
Bart van den Eijnden
f07660e8c5
implement @ahocevar's suggestion instead
2012-04-17 15:57:51 +02:00
Frédéric Junod
7ec0071823
Merge pull request #403 from fredj/403
...
Util.html test fail with Chrome and Chromium. r=elemoine
2012-04-17 06:53:43 -07:00
Bart van den Eijnden
90a8ac9c71
allow for negative years in dates
2012-04-17 14:23:56 +02:00
Marc Jansen
a5c5fd8d3e
Added tests for the 'type' property which is now inherited from the
...
parent class.
2012-04-17 08:20:09 +02:00
Marc Jansen
3dfa3fd157
Changed ZoomOut control to inherit from OpenLayers.Control.Button.
2012-04-17 08:11:48 +02:00
Marc Jansen
c40bdc90e9
Added tests for ZoomOut control.
2012-04-17 08:11:08 +02:00
Frederic Junod
e14d7d686e
Fix Util.html test for Chrome/Chromium browsers.
2012-04-16 10:41:07 +02:00
ahocevar
b683c9bae1
No csstidy, because it changes the css and breaks the zoom buttons.
2012-04-14 18:35:51 +02:00
Éric Lemoine
342f647135
Merge branch '2.12'
2012-04-14 15:00:14 +02:00
Éric Lemoine
c88a610f21
Merge pull request #406 from elemoine/406
...
TMS zoomOffset test sets NaN maxResolution values in the map
2012-04-14 05:25:07 -07:00
Peter Robins
b672a58c35
Fix Map so zoomChanged when zoom is constructor option
2012-04-13 10:29:34 +01:00
Marc Jansen
029bdaccde
The ZoomToMaxExtent control should extend the OpenLayers.Control.Button
...
and not OpenLayers.Control.
2012-04-13 09:59:44 +02:00
Marc Jansen
84e5c47caa
Add tests for the ZoomToMaxExtent control.
2012-04-13 09:58:59 +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
Éric Lemoine
ebfbb354ed
fix the TMS zoomOffset test
2012-04-11 17:43:17 +02:00
Frédéric Junod
6adac12fab
Merge pull request #405 from fredj/handler-options
...
Move handlerOptions to the Control prototype.
2012-04-11 05:08:54 -07:00
Éric Lemoine
6a039fd700
Merge branch '2.12'
2012-04-11 12:58:06 +02:00
Frederic Junod
1a59e47737
Move handlerOptions to the Control prototype.
2012-04-11 12:46:20 +02:00
Bart van den Eijnden
344e2124c9
Merge pull request #400 from bartvde/bing
...
fix Bing attribution issue caused by reverse axis order (r=@elemoine). Thanks Eric Blasenheim for the detailed report.
2012-04-10 06:02:30 -07:00