Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07:00
Tim Schaub
a74af66d5f
Use ol.object.assign() instead of goog.object.clone()
2016-02-04 06:54:43 -07:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
54df314936
Consistent curly brace style
2016-01-11 18:56:08 -08:00
Frederic Junod
290a83e2ed
Remove blur workaround in ol.control.Attribution
...
leftover from #3954
2015-11-23 16:18:36 +01:00
Frederic Junod
1092f6b2a2
Remove use of goog.dom.createElement
2015-11-23 09:22:39 +01:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Frederic Junod
b3493c6382
Remove unnecessary cast
2015-10-06 11:26:39 +02:00
Frederic Junod
9b6ad1b36f
Remove use of goog.dom.appendChild
...
Use `parent.appendChild(child)` instead.
2015-10-01 12:06:38 +02:00
Marc Jansen
d728c71f02
Remove goog.isNull in control classes
2015-10-01 09:15:15 +02:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Tim Schaub
007194a18f
Remove goog.isDef from attributioncontrol.js (-33 B)
2015-09-25 11:28:54 -06:00
Marc Jansen
a433f1abbe
Add basic docs for attributioncontrol
2015-04-23 20:26:37 +02: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
Andreas Hocevar
d9c04cd925
Support wrapX for attributions
2015-03-23 16:55:50 +01:00
tsauerwein
fbb2883f6e
Add Node to control label type
2015-01-16 10:14:39 +01:00
Éric Lemoine
df170859cc
Add a "render" control option
2014-12-12 18:30:02 +01:00
Frederic Junod
e32be091a4
Remove 'pointerup' listener in ol.control.Attribution
2014-11-04 09:21:41 +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
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
0938ab654a
Remove target attribute on attributions link
2014-09-17 11:26:15 +02:00
Éric Lemoine
602deafc86
Add @api stable annotations for ol.control.Attribution
2014-08-19 16:46:44 +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
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
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
5a1e92830f
Make attribution control collapsible.
2014-07-11 09:36:14 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Andreas Hocevar
eb6a938062
Do not document object literals as interfaces
...
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Frederic Junod
2f918ea2a4
Remove unused goog.require
2014-05-21 16:06:32 +02:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Tim Schaub
78324fb54b
Remove layers array from frame state
2014-04-04 07:36:42 -06:00
Tom Payne
022a7a03e0
Use oli.FrameState instead of ol.FrameState
2014-03-10 14:48:23 +01:00
Éric Lemoine
315c42f0a7
Use olx namespace for options types in source code
...
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Frederic Junod
ef929e9a72
Fix jsdoc formating
2013-09-24 12:18:00 +02:00
Tim Schaub
b479909e25
Remove map from control options
2013-08-30 14:59:21 -06:00
Tom Payne
46d16ba0ca
Use setElementShown instead of showElement
2013-07-22 17:42:47 +02:00
Bruno Binet
be0149e478
Merge pull request #763 from bbinet/cleanup-attribution-control
...
Cleanup attribution control
2013-06-17 07:01:00 -07:00
Bruno Binet
6b904573a0
Hide attribution instead of DOM removal
...
The reasons are:
- It minimizes DOM updates (most changes to the attribution are just toggling
visibility, not the more expensive creation, insertion and removal of DOM
elements)
- The order of attributions remains stable as layer visibilities are toggled
and the user interacts with the map
2013-06-14 00:23:01 +02:00