Commit Graph

24 Commits

Author SHA1 Message Date
Tom Payne
b6af02a762 Add ol.ENABLE_VECTOR to control inclusion of vector layer renderers 2014-01-30 11:20:59 +01:00
Tom Payne
7e020e4d26 Add ol.ENABLE_TILE to control inclusion of tile layer renderers 2014-01-30 11:20:59 +01:00
Tom Payne
8b128ece81 Add ol.ENABLE_IMAGE to control inclusion of image layer renderers 2014-01-30 11:20:59 +01:00
Frederic Junod
9f79d33486 Create 'type' annotation for 'const' variables
From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
2014-01-09 09:53:20 +01:00
Frederic Junod
b4800dc637 Fix indentation in commments 2014-01-06 16:06:47 +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
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
Frederic Junod
71d3fc4921 Add ol.BrowserFeature.DEVICE_PIXEL_RATIO constant 2013-11-21 17:06:57 +01:00
ahocevar
a437bea61f Use no browser globals at all 2013-04-10 16:53:45 +02:00
ahocevar
dc1d7a1aba Don't use window and document
With this change, our JavaScript can also be executed by
non-brower engines.
2013-04-10 15:48:17 +02:00
Jeff Williams
97879a3572 remove descriptions from JSDoc type tags 2013-03-21 09:54:52 -07:00
Frederic Junod
bf63ddfebe Test if browser supports Windows Pointer events 2013-01-25 16:38:45 +01:00
augustus
f253c1bcf8 Some comments (no changes to code) 2012-11-09 16:26:59 +01:00
Tom Payne
8dc57d5148 Add ol.ASSUME_TOUCH @define 2012-09-27 18:21:21 +02:00
ahocevar
9536ba8e14 Common place to store browser features
The ol.BrowserFeature object is supposed to provide all detected browser features in a central place.
2012-09-27 17:09:19 +02:00