Commit Graph

4103 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
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
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
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
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
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
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
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
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
Frederic Junod
99f6e65e7b coding style: declare new arrays using [] 2012-05-30 09:56:06 +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
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
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
Frederic Junod
c696b34a84 Add new maximizeTitle and minimizeTitle options to Control.OverviewMap 2012-05-29 09:04:00 +02:00
Peter Robins
082a1f38f4 KML createPlacemark should use attributes.name 2012-05-27 14:26:15 +01:00
Éric Lemoine
0accbb77a7 Merge pull request #489 from probins/kmlstyle
Format/KML: correct parseStyles docs
2012-05-26 11:46:43 -07:00
Éric Lemoine
12b8166743 Merge pull request #410 from probins/fixzoom
Fix Map so zoomChanged when zoom is constructor option
2012-05-26 09:32:26 -07:00
Peter Robins
9a7b4bd06e Format/KML: correct parseStyles docs 2012-05-26 16:34:01 +01:00
ahocevar
ff1f99a03f Don't reuse tile images unless we have a new url to load.
Without this change, some browsers don't cache the images. See #454 for a discussion about this issue.
2012-05-25 18:47:57 +02:00
Éric Lemoine
2141cb9c0a Merge branch '2.12' 2012-05-25 15:08:58 +02:00
Éric Lemoine
f5c43d6506 set VERSION_NUMBER to Release 2.12-rc5 2012-05-25 14:55:14 +02:00
ahocevar
df44a79e1b URL switching for all REST encoded WMTS layers. 2012-05-25 14:54:06 +02:00
Éric Lemoine
d289aa327e Grid.removeExcessTiles removes more tiles than it should, refs #481 2012-05-24 22:55:43 +02:00
Tim Schaub
97983db785 Adding dependencies where they are used. 2012-05-22 22:28:51 -06:00
Gregers Gram Rygg
12931612ea Don't affect digital mouse wheels (a.k.a. step-scroll) 2012-05-22 17:43:52 +02:00
Gregers Gram Rygg
2b8b8807ff Merge branch 'master' of https://github.com/openlayers/openlayers 2012-05-22 17:11:40 +02:00
Nacho Uve
57f4d42de0 Small spelling corrections in the documentation. 2012-05-22 13:36:08 +02:00
Gregers Gram Rygg
95bc51ce3d Make analog mouse wheel adjustments configurable and reduce sensitivity 2012-05-21 15:11:05 +02:00
Gregers Gram Rygg
7bc54e1517 Don't round wheel change zoom for maps with fractional zoom 2012-05-21 15:08:31 +02:00
Pierre GIRAUD
a997334816 Adding support support for metaKey (Mac Cmd key) 2012-05-21 11:13:48 +02:00
Peter Robins
1193e17266 Google v3 docs amendment 2012-05-21 10:06:27 +01:00
Peter Robins
95164d8cc0 Document issues with Google v3 layers 2012-05-20 14:01:12 +01:00