Frederic Junod
2de2fe2563
Unnecessary and missing semicolon.
2012-03-19 09:13:01 +01:00
Bart van den Eijnden
1dba227db4
add comment as to why clearTimer is needed here, and change control flow back to what it was before breakage, i.e. do not call clearTimer if it does not pass the tolerance
2012-03-12 09:59:25 +01:00
Bart van den Eijnden
f28c432b34
prevent double click from firing click callback in IE
2012-03-09 14:05:48 +01:00
Xavier Mamano
bfb379f349
Fix some problems in the documentation.
2012-03-05 11:43:09 +01:00
Éric Lemoine
c58f093615
Revert "Removing camelize method."
...
This reverts commit 43ef0920c2 .
2012-03-04 23:22:21 +01:00
Éric Lemoine
43809ea330
Merge pull request #222 from camptocamp/access_keyboardcontrol
...
KeyboardDefaults control improvements
2012-02-28 03:02:19 -08:00
ahocevar
c2b8f9cdb5
Merge pull request #64 from tmcw/no-camel
...
Removing camelize method.
2012-02-28 00:05:58 -08:00
Éric Lemoine
c0b02b278a
add an observeElement option to Handler.Keyboard and Control.KeyboardDefaults to control the DOM element on which key events are observed
2012-02-15 13:58:48 +01:00
Éric Lemoine
e15dde0561
make the keyboard handler work on the map div as opposed to the document
2012-02-15 13:58:47 +01:00
ahocevar
05de2b5109
Don't let button controls interfer with handlers.
...
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
fredj
b8257aa64c
replace Pixel argument with simple object (Util.createDiv)
2012-01-14 14:11:25 +01:00
Éric Lemoine
e1ea3471e0
Merge pull request #143 from jorix/stop-freehand
...
Handler.Path: Stop freehand using "maxVertices"
2012-01-12 12:08:12 -08:00
fredj
4fcd28fe08
Change some 'Parameter' to 'Property' in documentation. Non functional change
2012-01-12 09:30:51 +01:00
fredj
04ae5f8db8
Change all 'Return:' to 'Returns:' in documentation. Non functional change
2012-01-12 09:26:49 +01:00
Xavier Mamano
70f42b0629
Stop freehand using "maxVertices"
2012-01-12 08:46:15 +01:00
Xavier Mamano
b7dee9ca6d
Some problems in the documentation detected using "closure_verify"
2012-01-07 19:29:41 +01:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
fredj
b11b33e3ab
SelectFeature stops selecting features after a right click on the map
2011-12-07 15:03:39 +01:00
Tom MacWright
43ef0920c2
Removing camelize method.
2011-11-20 23:47:37 -05:00
Frédéric Junod
9264d57a3c
remove unneeded destroy and initialize function. r=erilem ( closes #3341 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:20:40 +00:00
ahocevar
98be6e313b
Making sketch handlers work over the dateline by using layer.getLonLatFromViewPortPx instead of map.getLonLatFromPixel. Thanks bartvde for the unit and acceptance tests. r=bartvde ( closes #2787 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-08 17:53:44 +00:00
Tim Schaub
c517de52f5
Making freehand drawing work on touch devices. Thanks jorix for the excellent patch. r=me ( closes #3456 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 02:13:06 +00:00
Frédéric Junod
eba3d3878c
fixed APIdocs. Non-functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12193 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-27 11:36:33 +00:00
Éric Lemoine
19756915d3
Handler.Point has no "drawing" property anymore, trivial change (references #3316 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12153 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-04 20:48:12 +00:00
ahocevar
336f82b771
don't fire changelayer events without a property, and do a more solid changelayer event check before changing the layer zIndex. r=tschaub ( closes #3377 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12121 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-22 06:04:10 +00:00
ahocevar
9b1aca53fa
Using the correct superclass. Thanks jorix for investigating and fixing this. p=jorix ( closes #3373 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-21 20:53:53 +00:00
Tim Schaub
2cf3f62d1b
Methods for programmatically manipulating sketches while digitizing features. r=bartvde ( closes #3343 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12103 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 18:59:16 +00:00
pgiraud
3d27981146
Persisted features not correctly removed in Handler.Path and freehand mode, p=jorix,me, r=erilem
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12083 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-15 07:21:18 +00:00
bartvde
ca70bcf928
Box Handler missing start callback, r=pgiraud ( closes #3324 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12051 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 11:43:50 +00:00
Éric Lemoine
9b361ef35d
make the drawing handlers create the sketch feature at an appropriate time, when we can actually derive geographic coordinates from a pixel, r=ahocevar (References #3327 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12046 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 07:12:52 +00:00
Éric Lemoine
fef7e4febf
fix regression where drawing accurately is not possible anymore, r=jorix,bbinet ( closes #3272 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11962 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-09 09:34:19 +00:00
Éric Lemoine
17f2843317
make it so features are not selected if there are multiple touches in the touchstart event, r=bbinet ( closes #3279 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11948 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-04 10:37:09 +00:00
Éric Lemoine
53984809ce
Handler.Feature may not trigger click when touching a feature, r=sbrunner
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11943 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-03 14:09:09 +00:00
pgiraud
55be96a9dc
Don't put the box under the cursor until the mouse moved, prevent errors with the GetFeature and click events. I also removed the no longer valid (and failing) tests. r=elemoine, ( Closes #2993 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11923 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-28 07:09:01 +00:00
Éric Lemoine
7ed03671df
point handler - remove the ununsed finishTouchGeometry function, no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11913 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-27 06:17:18 +00:00
Éric Lemoine
adbd2405ca
mouseout callbacks should check if the mouse leaves map.eventsDiv instead of map.div or map.viewPortDiv, p=jorix, r=me ( closes #3239 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11861 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-03 12:47:14 +00:00
Tim Schaub
970ff2741f
Documentation fixes from jorix (thanks). ( closes #3234 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11850 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 22:02:46 +00:00
Stéphane Brunner
0af21e8088
typo
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11842 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 12:47:41 +00:00
Éric Lemoine
61ed146240
when drawing make sure the point follow the cursor, even after zooming in or out, p=jorix, r=me ( closes #3195 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11836 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 11:35:24 +00:00
Stéphane Brunner
07f4ad8354
fix Don't let the browser to zoom or select the map on feature selection, r=erilem ( closes #3212 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11831 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 09:52:33 +00:00
Stéphane Brunner
04f2b20674
revert mistake [11829]
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 09:49:41 +00:00
Stéphane Brunner
c9d459c7fe
fix Don't let the browser to zoom or select the map on feature selection, r=erilem ( closes #3212 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 09:45:50 +00:00
Stéphane Brunner
36face3f71
Cleanup mouse event on touch devices, r=erilem ( closes #3215 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11827 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-31 09:01:05 +00:00
Tim Schaub
587b2320ab
Restore drag handler state in deactivate. r=erilem ( closes #3218 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11808 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 20:54:41 +00:00
Tim Schaub
a25f506f20
Restore click handler state in deactivate. r=erilem ( closes #3217 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11807 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 20:53:46 +00:00
Éric Lemoine
b14822c569
RegularPolygon handler - reverting [11770], as calling cancel from out causes issues ( #3199 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11802 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 16:47:08 +00:00
Frédéric Junod
4b9f60f456
fix comment
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11800 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 16:17:35 +00:00
bartvde
56bca84cfe
add support for maxVertices in Hander.Path, p=me,r=erilem, thanks erilem for the updated patch and your great work on this ( closes #2779 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11797 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 14:38:32 +00:00
Stéphane Brunner
7a29b2d324
fix Don't let the browser zoom on the page on dbl click, r=erilem ( closes #3209 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11795 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 14:29:28 +00:00
Éric Lemoine
a84c6b9302
simplify the code of the path and polygon handlers, removing the finishTouchGeometry function, r=sbrunner ( closes #3214 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11793 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-30 14:26:12 +00:00