drnextgis
c6f568f99b
assertion to check that there's a DOM node for target element
2016-03-21 16:02:13 +06:00
Björn Harrtell
234e8c2fde
Get rid of goog.log
2016-03-19 23:12:56 +01:00
Frederic Junod
cb251f1648
Remove unused ol.Map#isDef function
2016-03-09 08:36:36 +01:00
Frederic Junod
263f5bb8ab
Remove the viewport on map dispose
2016-03-07 11:46:18 +01:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Frederic Junod
2cb48d3d62
Stop wheel events instead of DOMMouseScroll events
2016-03-02 15:25:22 +01:00
Frederic Junod
81e563b2b3
Remove use of goog.style.getRelativePosition
...
Use Element.getBoundingClientRect() and Event.clientX/Event.clientY instead.
2016-02-24 17:28:46 +01:00
Frederic Junod
268d6eda8f
Mark overlayContainer and overlayContainerStopEvent as non-nullable
...
And remove an unnecessary cast
2016-02-23 11:25:38 +01:00
Marc Jansen
068960e4b2
Don't use goog.isBoolean()
2016-02-16 23:52:20 +01:00
Andreas Hocevar
bcf379cc8e
Merge pull request #4794 from ahocevar/fixed-tileloading
...
Make tile loading count no longer depend on source count
2016-02-16 15:51:55 +01:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01:00
Andreas Hocevar
3f36e0967f
Make tile loading count no longer depend on source count
2016-02-05 09:38:16 +01:00
Andreas Hocevar
0c23d9a7ff
Keep track of tile source count
2016-02-04 06:54:45 -07:00
Tim Schaub
0dce343d4f
Remove use of goog.object.getCount()
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
Frederic Junod
c43de104ce
Remove unnecessary newlines
2016-02-04 12:24:20 +01:00
Tim Schaub
f10c90bdba
Simpler type for ol.events.Key
...
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.
To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).
To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types. Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +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
dc0393acff
Add map tests for resize and animationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
d7497f9686
Always provide useCapture and async args to browser
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
2016-02-03 11:19:38 +01:00
Andreas Hocevar
6ac3f30c8f
Remove goog.events.MouseWheelEvent and goog.events.MouseWheelHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
1a6daa297e
Remove goog.events.KeyHandler
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
Nicholas L
d743ada8fd
Remove goog.array.remove
2016-02-03 11:41:39 +13:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Andreas Hocevar
300b5cad44
Use consistent tile coordinate keys
...
Tile coordinate keys from ol.tilecoord.toString() are different than the ones
from Array.prototype.toString(). Both were used, potentially causing problems.
This change makes them consistent and removes the now unnecessary
ol.tileCoord.toString() function.
2015-12-27 17:59:51 +01:00
Frederic Junod
a186254e14
Remove use of goog.dom.createDom
2015-11-25 12:40:45 +01:00
Andreas Hocevar
1aea2c2b0c
Pass null as forEachFeatureAtPixel layer arg for unmanaged layers
2015-11-09 09:45:21 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
jonataswalker
5dbaeb9ee5
Add method for retrieving ol.Overlay by id
2015-10-14 16:55:39 -03:00
jonataswalker
fce065e185
Add method for retrieving ol.Overlay by id
2015-10-14 16:01:48 -03:00
jonataswalker
d29e5eaef1
Add method for retrieving ol.Overlay by id
2015-10-14 12:15:53 -03:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +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
a38ac3a07b
Use !!expr and not the verbose expr !== null
...
This addresses review comments by @tschaub.
2015-10-01 09:18:53 +02:00
Marc Jansen
02fe825113
Remove goog.isNull in map class
2015-10-01 09:18:53 +02:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Frederic Junod
496cece074
Remove use of goog.array.forEach
2015-09-29 10:55:17 +02:00
Tim Schaub
c48ce003ba
Remove unnecessary goog.isDef() checks from map.js
2015-09-27 11:03:27 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
36e336f406
Inline !goog.isDef() calls for properties
2015-09-27 10:37:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Frederic Junod
139bcca26a
Use goog.array.forEach to unlisten the array of keys
2015-09-15 10:05:57 +02:00
Frederic Junod
758118e00d
Prevent page zoom on IE Edge
...
The deprecated msTouchAction property was removed in IE Edge.
2015-09-14 13:38:35 +02:00