Commit Graph

11105 Commits

Author SHA1 Message Date
É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
89141eec11 Remove export_as handling from generate-exports.py 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
Frédéric Junod
0b4b6c44b5 Merge pull request #1393 from fredj/browserfeature-export
Export DEVICE_PIXEL_RATIO and HAS_TOUCH from ol.BrowserFeature
2013-12-16 06:39:36 -08:00
Frederic Junod
983cf51a8c Export DEVICE_PIXEL_RATIO and HAS_TOUCH from ol.BrowserFeature 2013-12-16 15:30:17 +01:00
Tom Payne
83e34bfc8d Merge pull request #1392 from twpayne/bing-uk-maps
Add collinsBart and ordnanceSurvery styles to bing-maps example
2013-12-16 05:21:13 -08:00
Tom Payne
ec1ee5538a Add collinsBart and ordnanceSurvery styles to bing-maps example 2013-12-16 14:07:11 +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
64824170b4 Merge pull request #1391 from twpayne/rbush-get-extent
Add ol.structs.RBush#getExtent
2013-12-16 04:32:59 -08:00
Tom Payne
fad3251545 Add ol.structs.RBush#getExtent 2013-12-16 13:02:51 +01:00
Frédéric Junod
9bca7b1509 Merge pull request #1388 from fredj/mapguide-cleanup
Mapguide cleanup
2013-12-16 03:49:25 -08: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
aa10a542ae Add OpenSeaMap layer to localized-openstreetmap example 2013-12-13 22:05:08 +01:00
Tom Payne
46f63f1358 Add crossOrigin option to ol.source.OSM options 2013-12-13 22:02:56 +01:00
Tom Payne
f1efb502ca Merge pull request #1379 from twpayne/observable-struct
Make ol.Observable and ol.Object @structs
2013-12-13 12:33:40 -08: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
Frédéric Junod
a841c92053 Merge pull request #1378 from fredj/apidoc
Minor apidoc updates
2013-12-13 11:23:00 -08:00
Tom Payne
b242756f03 Merge pull request #1377 from twpayne/struct
Improve type checking with @struct
2013-12-13 10:39:21 -08:00
Tom Payne
fdbb9f8d9e Fix type errors in vector-layer-sld example 2013-12-13 19:30:11 +01:00
Tom Payne
4470480dc9 Improve use of view in device-orientation example 2013-12-13 19:27:52 +01:00
Tom Payne
ee2098743d Correct types in ol.layer.Group 2013-12-13 19:16:31 +01:00
Tom Payne
e96d56215b Add typecasts so examples compile 2013-12-13 19:16:05 +01:00
Frederic Junod
f5ba373208 Minor apidoc updates 2013-12-13 19:02:21 +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