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
Frederic Junod
0cf83c2047
Add missing 'button' type attribute to html button
2014-10-07 12:25:01 +02:00
Frédéric Junod
7dcb54fb58
Merge pull request #2616 from fredj/attributions-target
...
Target for attribution links differs between maps
2014-09-23 14:46:11 +02:00
Éric Lemoine
f7e81f84db
Zoom control should not act on a null view
2014-09-17 13:32:45 +02:00
Éric Lemoine
79932ee2f2
Rotate control should not act on a null view
2014-09-17 13:32:31 +02:00
Éric Lemoine
cb8b896230
Make ol.Map#setView do not accept undefined
...
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Frederic Junod
0938ab654a
Remove target attribute on attributions link
2014-09-17 11:26:15 +02:00
Frederic Junod
e136b4b4db
Change the control visibility by using css class
...
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Frederic Junod
2b395d3160
Add missing goog.require
2014-09-09 15:03:18 +02:00
Frederic Junod
58e3561ba5
Take the 'us' and 'nautical' units into account
...
When converting pointResolution from degrees to meters
2014-08-26 10:36:55 +02:00
Éric Lemoine
55db958290
Merge pull request #2564 from elemoine/apistable4
...
Add @api stable annotations for the ol.control namespace
2014-08-21 11:02:56 +02:00
Frederic Junod
7f086e138a
Remove unnecessary local variable
2014-08-20 11:17:44 +02:00
Frederic Junod
27ae50e673
Only update rotate control element when it's needed
...
To avoid a lot of 'Recalculate style' events by the browser.
2014-08-20 10:58:18 +02:00
Frederic Junod
7c14399133
Add missing jsdoc tag
2014-08-20 10:58:18 +02:00
Frederic Junod
113888120f
Use goog.math.toDegrees
2014-08-20 10:58:17 +02:00
Éric Lemoine
24651ba21e
Add @api stable annotations for ol.control.FullScreen
2014-08-19 16:59:22 +02:00
Éric Lemoine
26ec1d5924
Add @api stable annotations for ol.control.ZoomToExtent
2014-08-19 16:59:18 +02:00
Éric Lemoine
967bbebaa0
Add @api stable annotations for ol.control.ZoomSlider
2014-08-19 16:59:14 +02:00
Éric Lemoine
c3e0b5f282
Add @api stable annotations for ol.control.Zoom
2014-08-19 16:59:10 +02:00
Éric Lemoine
d8afc96aa3
Add @api stable annotations for ol.control.ScaleLine
2014-08-19 16:59:06 +02:00
Éric Lemoine
975e81a041
Add @api stable annotations for ol.control.Rotate
2014-08-19 16:59:02 +02:00
Éric Lemoine
39431dff9e
Add @api stable annotations for ol.control.MousePosition
2014-08-19 16:58:53 +02:00
Éric Lemoine
ecbf3bc692
Add @api stable annotations for ol.control.defaults
2014-08-19 16:58:49 +02:00
Éric Lemoine
602deafc86
Add @api stable annotations for ol.control.Attribution
2014-08-19 16:46:44 +02:00
Éric Lemoine
7c01d3a57c
Add @api stable annotations for ol.control.Control
2014-08-19 16:46:12 +02:00
Frederic Junod
ddd16b6985
Remove unused goog.require
2014-08-11 13:49:30 +02:00
Frederic Junod
0277026624
Stricter typing for ol.Collection
2014-07-30 09:38:16 +02:00
Antoine Abt
c1f7db9611
Set type=button to avoid forms submit
2014-07-24 15:22:19 +02:00
Antoine Abt
a314203e12
Fixes wording in comments
2014-07-24 15:22:19 +02:00
Antoine Abt
a43c546667
Uncollapse when there’s only logos
2014-07-24 15:22:19 +02:00
Frederic Junod
7b7788973b
Remove unnecessary newlines
2014-07-22 15:00:23 +02:00
Andreas Hocevar
eb71e8e92d
Handle cases where the x-axis distance cannot be calculated
2014-07-21 12:20:51 +02:00
Peter Robins
b77af6d416
Remove classdesc tag from control/interaction defaults
2014-07-16 12:54:18 +00:00
Erik Timmers
bd08bfe6c8
Use goog.dom.classlist functions
...
The goog.dom.classes functions have now been deprecated.
See google/closure-library@97e8a0c
2014-07-14 15:15:16 +02:00
Peter Robins
be09368359
Document map DOM elements
2014-07-13 07:47:47 +00:00
Antoine Abt
e707e918aa
Use @api annotation
2014-07-11 10:31:03 +02:00
Antoine Abt
4f087f1b84
Add getter/setter for collapsed & collapsible
2014-07-11 10:18:56 +02:00
Antoine Abt
6744713a54
Register button handlers the new way
2014-07-11 10:18:56 +02:00
Antoine Abt
4d150e6b84
Move Logos in attributions
2014-07-11 09:53:25 +02:00
Antoine Abt
da74fbf529
Remove Logo Control
2014-07-11 09:53:25 +02:00
Antoine Abt
aeaa172abe
Remove Logo Control from defaults
2014-07-11 09:36:14 +02:00
Antoine Abt
5a1e92830f
Make attribution control collapsible.
2014-07-11 09:36:14 +02:00
Tim Schaub
9c6cb9db6d
Use goog.dom.fullscreen
2014-07-06 16:03:09 -06:00
Tim Schaub
d99a61545c
Use @observable annotation instead of @todo observable
2014-07-05 16:16:44 -04:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Marc Jansen
700a0b15b3
Merge pull request #2278 from probins/control
...
Document custom controls
2014-07-02 18:52:34 +02:00
Tim Schaub
4b57f7798f
Use goog.dom.classlist functions
...
The goog.dom.classes functions have now been deprecated. See 97e8a0c0fc
2014-07-01 14:09:28 -04:00