Commit Graph

5986 Commits

Author SHA1 Message Date
ahocevar
032df4b90a Adding a getMinZoom API method.
This can be used by zoom slider controls, e.g. the GeoExt.ZoomSlider. Note that adjustZoom now also respects the map's fractionalZoom setting.
2012-06-13 21:37:59 +02:00
ahocevar
7141d237d9 Create a new reliable updatesize event.
The resize event is not fired in all browsers. What we actually need is an event that is called every time the updateSize method is called.
2012-06-13 21:36:17 +02:00
ahocevar
1d680df6d0 Respect zoom level restriction. 2012-06-12 23:39:29 +02:00
ahocevar
3a5abf552a Merge pull request #519 from ahocevar/zoom-click
New zoomOnClick option for ZoomBox control. r=@bartvde
2012-06-11 10:24:06 -07:00
ahocevar
8ad7ad326a Review comments from @bartvde. 2012-06-11 19:22:05 +02:00
ahocevar
958544f2a7 New zoomOnClick option for ZoomBox control.
This change also finally adds tests for the ZoomBox control.
2012-06-11 19:07:17 +02:00
ahocevar
96359fbc99 Fixing test that broke in FF with ff1f99a03f. 2012-06-11 13:38:42 +02:00
Marc Jansen
4c07332c8a Merge pull request #515 from gravitystorm/patch-4
fix typo
2012-06-09 03:07:24 -07:00
Andy Allan
baabbc3658 fix typo 2012-06-09 11:39:00 +02:00
Antoine Abt
052be82288 Doc fixes for Event.triggerEvent - no functional change. 2012-06-06 12:17:24 +03:00
ahocevar
8b2bab9d51 Improvements for Android: no buggy tile transitions, no flicker when tapping. 2012-06-02 22:18:49 +02:00
ahocevar
df64798bbb Updating tests after #487. 2012-06-02 14:41:44 +02:00
ahocevar
d455d3a62f Merge pull request #487 from ahocevar/better-cache
Don't reuse tile images unless we have a new url to load
2012-06-02 05:23:39 -07: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
Éric Lemoine
066859b806 Merge pull request #486 from elemoine/486
OpenLayers.Control.SelectFeature - unselectAll is unsafe
2012-05-31 23:59:19 -07:00
Éric Lemoine
e3d1d3ea62 more tests for SelectControl.unselectAll 2012-05-31 18:27:55 +02:00
Éric Lemoine
976554fc82 make SelectControl.unselectAll safer, use @ahocevar's implementation 2012-05-31 18:27:55 +02:00
Éric Lemoine
e603b06715 make SelectControl.unselectAll safer 2012-05-31 18:27:54 +02:00
Frederic Junod
bd27f6a2ae Remove deprecated reproject property in Tile.Image tests 2012-05-31 11:47:40 +02:00
Frédéric Junod
1c4253f465 Merge pull request #500 from fredj/scrollable
Handler.MouseWheel: don't always block the handler
2012-05-31 02:08:23 -07:00
Frédéric Junod
4c788c156b Merge pull request #474 from fredj/2685
Remove Handler.MouseWheel mozilla workaround.
2012-05-31 01:05:17 -07:00
Frederic Junod
0e24164da3 Remove mouse wheel work-around in tests for Opera < 9.2 (see #498) 2012-05-31 09:39:28 +02:00
Frederic Junod
b0377b54b0 Call the callbacks if the cursor is over a div with an 'olScrollable' css class 2012-05-31 09:36:28 +02:00
ahocevar
2ff5a7b599 Merge pull request #498 from gregersrygg/remove-old-opera-mouse-wheel-fix 2012-05-30 23:12:14 +02:00
ahocevar
1d957c7f5c Merge branch 'master' of github.com:openlayers/openlayers into upstream/master 2012-05-30 23:08:06 +02:00
ahocevar
c1690b26c4 Merge pull request #483 from gregersrygg/master
Improve analog mouse wheel zooming
2012-05-30 14:03:51 -07:00
Frédéric Junod
2bb9385b53 Merge pull request #499 from fredj/global-var
Remove global variable 'overflow', no functional change.
2012-05-30 07:55:45 -07:00
Frederic Junod
792e6d6a2c Remove global variable 'overflow', no functional change. 2012-05-30 16:42:30 +02:00
Gregers Gram Rygg
845e612b68 Merge branch 'master' of https://github.com/openlayers/openlayers into remove-old-opera-mouse-wheel-fix 2012-05-30 15:37:16 +02:00
Gregers Gram Rygg
5c7b99373e Merged with upstream master 2012-05-30 15:31:37 +02:00
Gregers Gram Rygg
aa0ec38b20 Removed fix for Opera < 9.2 2012-05-30 15:17:54 +02:00
Gregers Gram Rygg
dc69749e3b Reverted Safari hack for MouseWheel test 2012-05-30 15:05:27 +02:00
Gregers Gram Rygg
09058e2457 Reverted deletion of fix for Opera < 9.2 2012-05-30 15:02:29 +02:00
Gregers Gram Rygg
2725cd93f6 Reverted chrome added to BROWSER_NAME 2012-05-30 15:01:25 +02:00
Gregers Gram Rygg
f7f763d1d3 Removed analog wheel detection and simplified code 2012-05-30 14:37:43 +02:00
Frédéric Junod
debbba6454 Merge pull request #497 from fredj/coding-style
coding style: declare new arrays using []
2012-05-30 02:59:37 -07:00
Frederic Junod
99f6e65e7b coding style: declare new arrays using [] 2012-05-30 09:56:06 +02:00
Marc Jansen
5794502f98 Replace tabs in example with spaces. No functional change. 2012-05-29 22:03:25 +02:00
Marc Jansen
366faf6871 Merge pull request #423 from marcjansen/no-$
Remove the aliasing of OpenLayers.Util.getElement to window.$
2012-05-29 12:52:27 -07:00
Marc Jansen
acb9f950df Use document.getElementById in examples.
Previously examples would either use the now deprecated `window.$` or the
non-API-method `OpenLayers.Util.getElement`. This was well caught by @probins
and @elemoine.
2012-05-29 21:47:22 +02:00
Gregers Gram Rygg
51c7f12486 Avoid logic change from existing code 2012-05-29 18:18:24 +02:00
Gregers Gram Rygg
2da16a0b69 Removed caching of the analog wheel detection for users switching between mouse/touchpad 2012-05-29 17:54:02 +02:00
Gregers Gram Rygg
dd410dcd7e Fixed indentation 2012-05-29 17:08:01 +02:00
Gregers Gram Rygg
dc082c3442 Added note that chrome was added to the BROWSER_NAME test 2012-05-29 17:03:33 +02:00
Gregers Gram Rygg
f5a9b4446a Added analog scroll wheel improvements to 2.13 changelog 2012-05-29 16:11:30 +02:00
Gregers Gram Rygg
8f38ba5bd0 Chagned APIProperty to Property for isAnalogScrollWheel 2012-05-29 16:08:15 +02:00
Gregers Gram Rygg
1a25a0704f Changed to test for WebKit instead of safari because chrome was added to the OpenLayers.BROWSER_NAME test 2012-05-29 14:21:49 +02:00
Gregers Gram Rygg
50d24d7756 Improve analog mouse wheel detection and normalize event.wheelDelta for Safari 2012-05-29 13:26:27 +02:00
Gregers Gram Rygg
a1dff8ad9b Changed OpenLayers.BROWSER_NAME to be 'chrome' for Google Chrome instead of 'safari'. Added OpenLayers.IS_WEBKIT and changed tests where necessary. 2012-05-29 13:23:40 +02:00
Frédéric Junod
989259c87f Merge pull request #477 from fredj/overviewmap-title
Add new maximizeDivTitle and minimizeDivTitle options to Control.OverviewMap
2012-05-29 00:16:02 -07:00