Tom Payne
484c5b2fe3
Fix bug in ol.structs.RBush#clear
2013-12-19 14:22:44 +01:00
Éric Lemoine
0795b47043
Merge pull request #1411 from elemoine/interaction-hint
...
Conditionally deregister touchend listener
2013-12-18 08:37:05 -08:00
Éric Lemoine
28738af844
Merge pull request #1395 from elemoine/exports
...
Fix exports (remove export_as hack)
2013-12-18 07:17:24 -08:00
Éric Lemoine
0e75e971d9
Conditionally deregister touchend listener
2013-12-18 15:55:11 +01:00
Éric Lemoine
9466101a47
Remove ol.renderer.webgl.SUPPORTED
2013-12-18 11:45:23 +01:00
Éric Lemoine
ee9f50911c
Remove ol.renderer.dom.SUPPORTED
2013-12-18 11:45:13 +01:00
Éric Lemoine
fb32a167b3
Remove ol.renderer.canvas.SUPPORTED
2013-12-18 11:44:54 +01:00
Éric Lemoine
779ea26f81
No need for @type when using @const
2013-12-18 11:24:55 +01:00
Éric Lemoine
7fe684a6d4
HAS_WEBGL is false if ENABLE_WEBGL is false
2013-12-18 11:20:14 +01:00
Éric Lemoine
3df49423ad
HAS_DOM is false if ENABLE_DOM is false
2013-12-18 11:20:14 +01:00
Éric Lemoine
5bb6dbfef3
HAS_CANVAS is false if ENABLE_CANVAS is false
2013-12-18 11:20:14 +01:00
Éric Lemoine
5520cc530d
Move ol.ENABLE_[CANVAS|DOM|WEBGL] @define's to browserfeature.js
2013-12-18 11:20:14 +01:00
Éric Lemoine
a97e115100
Use ol.BrowserFeature.HAS_* in map.js
2013-12-18 11:20:14 +01:00
Éric Lemoine
c8038f7855
Add ol.BrowserFeature.HAS_DOM
2013-12-18 11:20:14 +01:00
Éric Lemoine
42a2f7aab9
Add ol.BrowserFeature.HAS_CANVAS
2013-12-18 11:20:14 +01:00
Éric Lemoine
b6ec5838f7
Add ol.BrowserFeature.HAS_GEOLOCATION
2013-12-18 11:20:14 +01:00
Éric Lemoine
62e8803287
Add ol.BrowserFeature.HAS_DEVICE_ORIENTATION
2013-12-18 11:20:14 +01:00
Éric Lemoine
79718151b7
Add ol.BrowserFeature.HAS_WEBGL
2013-12-18 11:20:13 +01:00
Éric Lemoine
73f24cf7b0
goog.require creates a namespace object already
2013-12-18 11:20:13 +01:00
Éric Lemoine
1b084dba06
Do not use export_as for interactiondefaults exports
2013-12-18 08:25:14 +01:00
Éric Lemoine
0d235e7efc
Do not use export_as controldefaults exports
2013-12-18 08:25:14 +01:00
Éric Lemoine
9c8227bb4f
Do not use export_as for animation exports
2013-12-18 08:25:14 +01:00
Éric Lemoine
d3f90418df
Make Interaction inherit from Observable
2013-12-17 10:39:40 +01:00
Tim Schaub
01d4990a1b
Merge pull request #1382 from tschaub/observable-geometry
...
Remove geometry specific event type.
2013-12-16 07:43:06 -08:00
Frederic Junod
983cf51a8c
Export DEVICE_PIXEL_RATIO and HAS_TOUCH from ol.BrowserFeature
2013-12-16 15:30:17 +01:00
ahocevar
a4083f544e
Merge pull request #1373 from ahocevar/rbush-fail
...
ol.structs.RBush#remove() is unreliable
2013-12-16 05:02:49 -08:00
ahocevar
8bfa0f7ae9
Truthy check is enough
2013-12-16 13:53:55 +01:00
Tom Payne
fad3251545
Add ol.structs.RBush#getExtent
2013-12-16 13:02:51 +01:00
Frederic Junod
b381536b2a
Add ol.source.MapGuide.getScale function
2013-12-16 10:31:54 +01:00
Frederic Junod
ede84739c4
Add displayDpi option to ol.source.MapGuide constructor
2013-12-16 09:58:27 +01:00
Frederic Junod
59e04c5371
Use ol.extent.* functions in ol.source.MapGuide
2013-12-16 09:53:28 +01:00
Tim Schaub
ec7fea090b
Remove ol.geom.GeometryEvent
...
This removes geometry specific change events. Since geometries are mere observables, we only get generic change events. To minimize changes in other places, as a workaround, we cache geometry bounds on features. This is not the way things should be long term, but the objective is to remove the geometry specific event.
2013-12-13 16:02:51 -07:00
Tim Schaub
5caa0eb659
Geometries inherit from ol.Observable
...
Because ol.Observable is now a struct, we have stricter type checking (hence the extra assertions).
2013-12-13 14:18:10 -07:00
Tom Payne
ae7d5ab9d5
Merge pull request #1351 from twpayne/openseamap
...
Add crossOrigin option to ol.source.OSM options
2013-12-13 13:18:08 -08:00
Tom Payne
46f63f1358
Add crossOrigin option to ol.source.OSM options
2013-12-13 22:02:56 +01:00
Tom Payne
90e44c3979
Make ol.Observable a @struct
2013-12-13 20:44:10 +01:00
Tom Payne
d63fec80d1
Use goog.object.get to suppress compiler warning about use of [] with struct
2013-12-13 20:36:32 +01:00
Tom Payne
6e3bcc7478
Make ol.Object#listeners_ a private renameable property
2013-12-13 20:35:27 +01:00
Tom Payne
b48fd51561
Make ol.Object#accessors_ a private renameable property
2013-12-13 20:34:56 +01:00
Tom Payne
ee2098743d
Correct types in ol.layer.Group
2013-12-13 19:16:31 +01:00
Tom Payne
59779bdcc5
Correct return types of ol.layer.Base methods
2013-12-13 18:59:26 +01:00
Tom Payne
d19ce18a31
Fix return type of ol.Map#getView
2013-12-13 18:59:26 +01:00
Tom Payne
9dc3dc6c11
Make ol.renderer.Layer a @struct
2013-12-13 18:59:26 +01:00
Tom Payne
a11c64934c
Make ol.renderer.Map a @struct
2013-12-13 18:59:26 +01:00
Tom Payne
fbc23499e4
Add @struct annotation for simple classes
2013-12-13 18:59:26 +01:00
Tom Payne
2bcfa9ee00
Fix type errors in ol.renderer.webgl.Map
2013-12-13 18:59:25 +01:00
Tom Payne
fd733eca82
Use assertInstanceof instead of typecast
2013-12-13 18:59:25 +01:00
Tom Payne
b12bed8949
Use assertInstanceof instead of getImageSource
2013-12-13 18:59:25 +01:00
Tom Payne
c9b0d0bf0e
Use assertInstanceof instead of getImageLayer
2013-12-13 18:59:25 +01:00
Tom Payne
e11d8bf717
Use assertInstanceof instead of getTileSource
2013-12-13 18:59:25 +01:00