Commit Graph

3399 Commits

Author SHA1 Message Date
É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
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
Tom Payne
8d5e46622c Use assertInstanceof instead of getTileLayer 2013-12-13 18:59:25 +01:00
Tom Payne
3681b3c669 Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType 2013-12-13 18:59:25 +01:00
Tom Payne
5f0ea858ec Fix multiple type errors in getFeatureInfoForPixel 2013-12-13 18:59:24 +01:00
Tom Payne
a93e0b85df Improve type checking in ol.interaction.DragPan 2013-12-13 18:59:24 +01:00
Tom Payne
6dedac6ed8 Improve type checking in ol.interaction.TouchPan 2013-12-13 18:59:24 +01:00
Tom Payne
408a75426b Improve type checking in ol.control.Zoom 2013-12-13 18:59:24 +01:00
Tom Payne
35768f8b48 Improve type checking in ol.interaction.Interaction 2013-12-13 18:59:24 +01:00
Tom Payne
b39ae367e7 Improve type checking in ol.canvas.SUPPORTED 2013-12-13 18:59:24 +01:00
Tom Payne
8f6952c56c Fix use of ol.IView2D in ol.interaction.TouchPan 2013-12-13 18:59:24 +01:00
Tom Payne
49369b8800 Fix use of ol.IView2D in ol.interaction.DragRotate 2013-12-13 18:04:48 +01:00
Tom Payne
d43eb6dcb7 Fix use of ol.IView2D in ol.interaction.DragRotateAndZoom 2013-12-13 18:04:48 +01:00