Commit Graph

52 Commits

Author SHA1 Message Date
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
ahocevar
e05cff670b Use pointer events for button clicks 2014-04-01 13:46:58 +02:00
Tom Payne
94a3504252 Revert "Add ol.BrowserFeature.HAS_FULLSCREEN constant"
This reverts commit 5a940c207a.

Detection of full screeen support requires the document to have a body.
This is not the case if ol3 is loaded in the head.  Therefore, defer the
test for full screen support to when it is needed.
2014-02-27 13:28:23 +01:00
Frederic Junod
ac9fe664e0 Add fullscreen API support to IE11 2014-02-27 09:31:42 +01:00
Frederic Junod
5a940c207a Add ol.BrowserFeature.HAS_FULLSCREEN constant 2014-02-27 09:30:05 +01:00
Antoine Abt
d53fa8f45a Fix chrome not to blur on mouseout/focusout
may be related to https://code.google.com/p/chromium/issues/detail?id=321264 ?
2014-02-26 11:24:54 +01:00
Antoine Abt
30bc97755a Restore preventDefault call that shouldn’t have been removed 2014-02-20 16:47:34 +01:00
Antoine Abt
d52f62fb5a Make Fullscreen control use <button> instead of <a> 2014-02-20 16:47:33 +01:00
Antoine Abt
bb50d5936f Prevent OSX Safari to display distorded map 2014-02-14 11:32:00 +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
20916c75bb Add more api doc 2013-09-09 12:07:03 +02:00
Tom Payne
83a9724270 Update ol.control.FullScreen to handle string targets 2013-09-03 15:26:19 +02:00
Tim Schaub
12839f6f50 Merge pull request #946 from tschaub/control-options
Remove map from ControlOptions.
2013-09-02 05:40:45 -07:00
Peter Robins
6b61e9d84b Remove examples from control api docs
[ci skip]
2013-09-02 07:44:08 -04:00
Tim Schaub
b479909e25 Remove map from control options 2013-08-30 14:59:21 -06:00
Frederic Junod
4afe025c75 Add missing space between CSS classes 2013-08-15 13:58:58 +02:00
Bart van den Eijnden
8dc97790bc Add more content for the API doc
Involves additions to (there will be subsequent pull requests for other
classes):
- ol.Attribution
- ol.Collection
- ol.Expression
- ol.Feature
- ol.Geolocation
- ol.Map
- ol.Object
- ol.Overlay
- ol.Projection
- ol.View2D
- ol.control.Attribution
- ol.control.Control
- ol.control.FullScreen
- ol.control.Logo
- ol.control.MousePosition
- ol.control.ScaleLine
- ol.control.Zoom
- ol.control.ZoomSlider
- ol.dom.Input
- ol.filter.Filter
- ol.filter.Geometry
- ol.filter.Logical
2013-06-11 20:56:04 +02:00
Tom Payne
f08814250e Add className option to ol.control.FullScreen 2013-05-07 16:17:35 +02:00
Éric Lemoine
2dfe36b588 Map target may be undefined 2013-04-23 10:42:18 +02:00
Frederic Junod
7b0e036b83 Hide the control if the Fullscreen API is not supported 2013-04-11 18:25:31 +02:00
Frederic Junod
8206cf111f Fix full screen button state 2013-04-11 18:25:31 +02:00