Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
GaborFarkas
2e68be13f6
Create a dedicated function to changeType.
2016-07-03 11:14:53 +02:00
GaborFarkas
27e3124dca
Set changeType when the map exists
2016-07-01 18:28:36 +02:00
GaborFarkas
34cc5c6bde
Fix error from early enum of CHANGETYPE
2016-07-01 18:06:11 +02:00
nicholas
6b465902cd
Remove goog.dom
2016-06-23 22:06:35 +12:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Frederic Junod
64654e1e72
Remove goog.dom.classlist usage
2016-03-29 10:28:20 +02:00
AvatharDG
e752a8cea3
Update fullscreencontrol.js
2016-03-24 09:41:01 +01:00
AvatharDG
290f8b5c7d
Update fullscreencontrol.js
2016-03-24 09:39:31 +01:00
AvatharDG
c9cb9b6d36
Memory leak in ol.control.FullScreen
...
Register and unregister listener in setMap method.
2016-03-24 09:35:10 +01:00
Frederic Junod
e9a5fadacc
Get rid of goog.dom.getFirstElementChild
...
Use [firstElementChild](https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/firstElementChild ) instead.
2016-02-29 16:59:29 +01:00
Guillaume Beraudo
a513754d25
Fix checks for undefined in fullscreencontrol
2016-02-11 11:03:35 +01:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01: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
Yashar Moradi
299a62804c
source option added to ol.control.FullScreen including an example
2016-01-26 09:27:39 +01:00
Frederic Junod
3df9ae8c5e
Use map.getTargetElement instead of map.getTarget
2016-01-12 11:36:07 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Frederic Junod
e34c18a26e
Remove use of goog.dom.createTextNode
2015-11-23 09:23:58 +01:00
Bart van den Eijnden
5c592731f3
Change the label of the full screen button to be more intuitive ( closes #4445 )
2015-11-18 11:42:27 +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
Marc Jansen
d728c71f02
Remove goog.isNull in control classes
2015-10-01 09:15:15 +02:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Tim Schaub
a096ec5bf7
Remove goog.isDef from controls (-278 B)
2015-09-25 11:28:54 -06:00
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
Marc Jansen
41596d808b
Add method to bind bluring on mouseout/focusout
2015-05-26 22:32:09 +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
tsauerwein
eb7dde6d0f
Fix class name of full-screen control
2015-03-24 17:07:55 +01:00
Frederic Junod
0f65d7778a
Remove unnecessary newlines
2015-02-02 09:11:35 +01:00
tsauerwein
7679069520
Add label option to FullScreen control
2015-01-16 09:05:51 +01:00
Frederic Junod
224d86802e
Remove 'pointerup' listener in ol.control.FullScreen
2014-11-04 09:21:40 +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
Frederic Junod
9ebde652dc
Use a standard title attribute for the control buttons
2014-10-28 15:22:46 +01:00
Frederic Junod
d8d0f87ad6
Add missing space between class names
...
Fixes #2845
2014-10-18 12:06:24 +02:00
Frederic Junod
0cf83c2047
Add missing 'button' type attribute to html button
2014-10-07 12:25:01 +02:00
Éric Lemoine
24651ba21e
Add @api stable annotations for ol.control.FullScreen
2014-08-19 16:59:22 +02:00
Tim Schaub
9c6cb9db6d
Use goog.dom.fullscreen
2014-07-06 16:03:09 -06:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04: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
Antoine Abt
5926611cd1
Merge pull request #2168 from tonio/keyboard_controls
...
Restore control’s keyboard navigation
2014-06-10 08:45:19 +02:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Antoine Abt
09719bdc70
Fixes button handlers event type
2014-06-06 09:32:39 +02:00
Antoine Abt
75cd5572aa
Restore control’s keyboard navigation
2014-06-04 16:55:02 +02:00
Antoine Abt
0bec5b5590
Add base control class, to simplify stylesheet
2014-05-02 14:12:31 +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
ahocevar
a3be9e720a
Register pointer event handlers as disposable
2014-04-01 15:31:39 +02:00