Commit Graph

789 Commits

Author SHA1 Message Date
ahocevar 4b2e80fa36 Merge pull request #805 from mosesonline/unselectAllFix
unselectAll on removing layer fix
2012-12-24 06:17:04 -08:00
mosesonline ef028b1e91 Update lib/OpenLayers/Control/SelectFeature.js
indentation fixed and added comment to explain null case
2012-12-20 08:55:21 +01:00
mosesonline 0cdb3aeb52 [BugFix] Fix selectFeatures is null exception when layer is destroyed. Since you can listen only to preremovelayer to handle removing layer with SelectFeature. But preremovelayer is triggered after selectFeatures is set to null. 2012-12-18 09:34:48 +01:00
Pierre GIRAUD d0c85850f5 More detailed documentation 2012-12-17 13:43:16 +01:00
Pierre GIRAUD 0a131f380a Adding preserveCenter config option 2012-12-17 11:56:18 +01:00
Stéphane Brunner 788d49a3bb Merge pull request #666 from sbrunner/Prevent.KeyboardDefaults-ie
Prevent KeyboardDefaults.js from triggering keyboard events when user is...
2012-10-17 03:01:58 -07:00
ahocevar e5feda7ad7 Camel casing method name 2012-10-12 15:03:38 +02:00
ahocevar 6607bcc0bb Do not cache data from aborted tile loads
This also results in a simplified cache method that can more easily be
overridden for use with other storage providers.
2012-10-12 14:06:08 +02:00
Stéphane Brunner f1e7425821 use OpenLayers.Event.element 2012-10-10 11:28:18 +02:00
Stéphane Brunner 2e44aff5f0 Prevent KeyboardDefaults.js from triggering keyboard events when user is typing into the form elements for IE 2012-10-10 11:28:18 +02:00
Marc Jansen 1348f97546 Replace tabs with spaces where appropriate. 2012-09-11 21:51:18 +02:00
Marc Jansen 1063a4cd19 Make it possible to change the filter in handlers
Trigger the 'select'-event earlier, this way any handlers for the event can
change both the filter and the resulting SLD inside the callback.
2012-09-06 13:29:59 +02:00
Marc Jansen 97b75578ba Update lib/OpenLayers/Control/SLDSelect.js
Correct API docs. Non-functional change.
2012-09-06 10:40:13 +03:00
Marc Jansen a4bc3f33e6 Fix API-docs spelling error.
This fixes #654. Thanks to @dandv for catching this.
2012-08-30 00:40:43 +03:00
fastr e8716847f8 Adding DocumentDrag to ModifyFeature 2012-08-25 23:37:39 +02:00
fastr 053dba59a1 Inserted documentDrag in ModifyFeature so that you can drag vertices over the viewport of the map in analogy to the DragFeature-Control. documentDrag is internaly passed to the DragFreature that's used by ModifyFeature. 2012-08-25 23:30:27 +02:00
ahocevar f0ad48597f No more percentage based positioning.
Client zoom now supports both over- and undersampling.
2012-08-21 13:57:11 +02:00
Marc Jansen 470dde0e38 Documentation enhancements. No functional change. 2012-08-17 23:41:19 +02:00
Marc Jansen df19317c95 Merge branch 'master' of https://github.com/openlayers/openlayers
Conflicts:
	tests/list-tests.html
2012-08-17 22:46:06 +02:00
tschaub 5cf260f38a Add missing requires (closes #633). 2012-08-14 11:01:58 -06:00
Stéphane Brunner 584749b524 Merge pull request #601 from temporaryaccount/temporaryopenlayers
Prevent KeyboardDefaults.js from triggering keyboard events when user is...
2012-07-20 04:37:25 -07:00
ahocevar 7249510553 Using the safe unicode representation of the minus sign.
No functional change; see #588.
2012-07-20 09:41:42 +02:00
temporaryaccount 950904f59a Prevent KeyboardDefaults.js from triggering keyboard events when user is typing into the form elements 2012-07-19 18:08:30 +04:00
Pierre GIRAUD 99553d0ae5 Fixing doc. No functional change. 2012-07-17 16:15:03 +03:00
Stéphane Brunner a45cbfdb07 use minus sign 2012-07-12 18:32:30 +02:00
Gregers Gram Rygg 1ba6aa75d7 Removed Prefix from method names, since now it's part of the module name 2012-06-27 13:33:47 +02:00
Gregers Gram Rygg 7f32342ec3 Moved OpenLayers.Vendor to OpenLayers.Util.vendorPrefix 2012-06-27 13:28:43 +02:00
Gregers Gram Rygg 58a83b0d17 Refactored vendor methods to it's own module 2012-06-25 13:44:35 +02:00
Gregers Gram Rygg da3495beac Merge branch 'master' of https://github.com/openlayers/openlayers into vendor-prefixes 2012-06-24 02:38:05 +02:00
Gregers Gram Rygg b9670a292b Added support to detect vendor-prefixes for non-style objects 2012-06-23 21:48:44 +02:00
ahocevar 78d07c8d8a Merge pull request #524 from ahocevar/panzoombar
Zoom level restriction improvements. r=@bartvde
2012-06-22 16:59:13 -07:00
Marc Jansen b86394b79b Merge branch 'control-inheritance' of https://github.com/marcjansen/openlayers 2012-06-20 18:08:01 +02:00
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
Tim Schaub 704f36639b Merge pull request #529 from adv-isu/ControlSplitDeactivateFix
OpenLayers.Control.Split.deactivate event unregistration fix.
2012-06-13 09:11:45 -07: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
Marc Jansen 0c87de44b4 Merge branch 'control-inheritance' of https://github.com/marcjansen/openlayers into control-inheritance
Conflicts:
	tests/Control/ZoomOut.html
	tests/Control/ZoomToMaxExtent.html
2012-06-08 09:44:36 +02:00
Andrew Vardeman cbba98279b unsubscribe from events on the proper layer 2012-06-04 15:47:43 -05: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
Gregers Gram Rygg 5c7b99373e Merged with upstream master 2012-05-30 15:31:37 +02:00
Frederic Junod c696b34a84 Add new maximizeTitle and minimizeTitle options to Control.OverviewMap 2012-05-29 09:04:00 +02:00
Gregers Gram Rygg a18ce5adf6 Rewrite PinchZoom to detect vendor-prefix, so it works in more browsers 2012-05-22 17:06:03 +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
Marc Jansen a87f5ac16a Merge branch 'master' of https://github.com/openlayers/openlayers into control-inheritance 2012-05-15 08:34:53 +02: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 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 292da06150 Changed ZoomIn control to inherit from OpenLayers.Control.Button. 2012-04-17 20:05:47 +02:00