Frederic Junod
761aa0ea5c
Remove ol.control.Control.bindMouseOutFocusOutBlur function
...
It was a workaround added in #1761 to hide the button tooltip on
OSX / Chrome 32 and 33.
Because we're not using the tooltips anymore (see #2781 ) and this
version of chrome is deprecated this workaround can be removed.
2015-08-03 17:12:33 +02:00
Frederic Junod
7634c0c2c4
Fix the event type fired by goog.fx.Dragger
2015-07-20 15:33:44 +02:00
vmalaret
74759142d9
Replace fitGeometry and fitExtent with fit
...
Fit accepts either a geometry or an extent.
This combines two previously distinct functions
into one more flexible call.
Also brings the rotations support and options
previously available to fitGeometry to extents
2015-07-02 15:19:08 +02:00
Marc Jansen
41596d808b
Add method to bind bluring on mouseout/focusout
2015-05-26 22:32:09 +02:00
Marc Jansen
b70a39b59d
Add basic docs for zoomslidercontrol
2015-04-23 20:27:41 +02:00
Marc Jansen
63a4a0c1d9
Add basic docs for scalelinecontrol
2015-04-23 20:27:28 +02:00
Marc Jansen
346ead1b55
Add basic docs for rotatecontrol
2015-04-23 20:27:15 +02:00
Marc Jansen
0d5fcf6411
Add basic docs for overviewmapcontrol
2015-04-23 20:27:01 +02:00
Marc Jansen
d8622c6511
Add basic docs for mousepositioncontrol
2015-04-23 20:26:49 +02:00
Marc Jansen
a433f1abbe
Add basic docs for attributioncontrol
2015-04-23 20:26:37 +02:00
Frederic Junod
3eb22559d6
Move ol.ZOOMSLIDER_ANIMATION_DURATION const to a constructor option
2015-04-13 14:54:23 +02:00
Tim Schaub
e1079ab9a3
Improve overview map handling of map and view changes
2015-04-07 08:35:48 -06:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Tim Schaub
f42c0cb0aa
Remove 2-way binding from objects
2015-04-07 08:35:47 -06:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
tsauerwein
eb7dde6d0f
Fix class name of full-screen control
2015-03-24 17:07:55 +01:00
Andreas Hocevar
d9c04cd925
Support wrapX for attributions
2015-03-23 16:55:50 +01:00
Andreas Hocevar
2e3d0d57d5
Handle all non-degree units in ol.control.ScaleLine
2015-03-03 21:06:12 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Frederic Junod
0f65d7778a
Remove unnecessary newlines
2015-02-02 09:11:35 +01:00
Tobias Sauerwein
aa67078d74
Merge pull request #3135 from tsauerwein/control-label
...
Make changing the label of ZoomToExtent/FullScreen control consistent
2015-01-29 15:03:53 +01:00
Éric Lemoine
4b3726fe71
Merge pull request #3139 from elemoine/control-setmap
...
Add ol.control.Control#setTarget
2015-01-16 11:16:30 +01:00
tsauerwein
fbb2883f6e
Add Node to control label type
2015-01-16 10:14:39 +01:00
Éric Lemoine
79312c2083
Add ol.control.Control#setTarget
...
This commit adds a setTarget method to ol.control.Control. This function can be used in cases where the target cannot be set at control construction time. For example, with Angular, it makes sense to create the control instance in an Angular controller, and have a "control" directive insert the control into the DOM.
2015-01-16 09:27:30 +01:00
tsauerwein
7679069520
Add label option to FullScreen control
2015-01-16 09:05:51 +01:00
tsauerwein
0d26a9aa87
Add label option to ZoomToExtent
2015-01-15 09:58:05 +01:00
sirtet
66fea4dec9
Add a space between scale -value and -unit
...
For improved readability. Issue #3116
2015-01-13 16:16:20 +01:00
Éric Lemoine
df170859cc
Add a "render" control option
2014-12-12 18:30:02 +01:00
Frederic Junod
26ce8032eb
Use ol.Map#getEventPixel in mouse position control
2014-12-01 10:56:34 +01:00
Frederic Junod
4c8d8c21dc
Remove 'pointerup' listener in ol.control.OverviewMap
2014-11-04 09:21:41 +01:00
Frederic Junod
e32be091a4
Remove 'pointerup' listener in ol.control.Attribution
2014-11-04 09:21:41 +01:00
Frederic Junod
cc442d964b
Remove 'pointerup' listener in ol.control.ZoomToExtent
2014-11-04 09:21:40 +01:00
Frederic Junod
e55caef0d2
Remove 'pointerup' listener in ol.control.Rotate
2014-11-04 09:21:40 +01:00
Frederic Junod
c7a3fcd426
Remove 'pointerup' listener in ol.control.Zoom
2014-11-04 09:21:40 +01:00
Frederic Junod
224d86802e
Remove 'pointerup' listener in ol.control.FullScreen
2014-11-04 09:21:40 +01:00
Frederic Junod
6ca1640659
Don't pass an object to goog.dom.createDom for the class name
...
If the second argument to goog.dom.createDom is a string, then this is
the className of the new element.
2014-10-30 16:53:42 +01:00
Frédéric Junod
2d53eb7667
Merge pull request #2781 from fredj/button-title
...
Use a standard title attribute for the control buttons
2014-10-30 16:52:09 +01:00
Frédéric Junod
ffeda3f25a
Merge pull request #2852 from fredj/issue-2845
...
Add missing space between class names
2014-10-30 12:17:54 +01:00
Frederic Junod
9ebde652dc
Use a standard title attribute for the control buttons
2014-10-28 15:22:46 +01:00
Tim Schaub
d712b2ba54
Allow source to be set after layer construction
2014-10-25 15:34:47 -06:00
Frederic Junod
d8d0f87ad6
Add missing space between class names
...
Fixes #2845
2014-10-18 12:06:24 +02:00
Tim Schaub
d2bea2692c
Renaming for clarity
2014-10-13 10:29:33 -06:00
Tim Schaub
c1afd513b7
Account for the thumb size when handling clicks
2014-10-13 10:13:50 -06:00
Tim Schaub
9dd5b611c7
Give container ol-control class and tidy css
2014-10-13 09:22:21 -06:00
Tim Schaub
b8369ad3f0
Allow thumb to range over the entire container size
2014-10-13 08:40:51 -06:00
Tim Schaub
6f20afeba9
Set interaction hint while dragging
2014-10-12 19:16:49 -06:00
Tim Schaub
d45283c55e
Animate from the current resolution
2014-10-12 18:59:58 -06:00
Tim Schaub
164407bc83
(x - 1) * -1 == 1 - x
2014-10-12 18:21:27 -06:00
Alexandre Dubé
ddc6138dbf
Add OverviewMap control
2014-10-09 10:10:14 -04:00
Frederic Junod
be6c6ee93c
Remove unused ResetRotation name attribute
2014-10-07 12:25:41 +02:00