Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00
Andreas Hocevar
843a6a4bf4
Give ol.style.Atlas its own file
2016-09-01 06:58:09 -06:00
Andreas Hocevar
d1e4b33760
Rename goog.DEBUG to ol.DEBUG
2016-08-31 21:10:01 +02:00
Tim Schaub
b1593124ba
Put the primary provide first
2016-08-07 10:49:13 -06:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6718fc982e
Merge pull request #5450 from probins/typedefs
...
Remove sub-namespaces from all remaining typedefs
2016-06-14 17:32:10 +02:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +02:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Peter Robins
c7aeebed8c
Rename sub-sub-namespace typedefs to sub-namespace
...
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace.
Fortunately they are all non-api, so the rename should not affect anything.
2016-05-11 19:46:56 +00:00
Frederic Junod
f2c30cffe2
Use ol.dom.createCanvasContext2D in ol.style.AtlasManager
2016-04-05 14:29:00 +02:00
Björn Harrtell
44e04be67f
Get rid of goog.functions
2016-04-01 10:32:15 +02:00
Tim Schaub
f38d8bf824
Remove use of goog.object.get()
2016-02-04 06:54:44 -07: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
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Frederic Junod
1092f6b2a2
Remove use of goog.dom.createElement
2015-11-23 09:22:39 +01:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Marc Jansen
f9b07991e1
Remove goog.isNull in style classes
2015-10-01 09:18:53 +02:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
cf5eadebaa
Define options
2015-09-27 10:11:30 -06:00
Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
Frederic Junod
078d3fb007
Add missing goog.require
2015-02-05 10:56:44 +01:00
tsauerwein
461ec1d3bc
Make sure hit-detection atlas is in sync
...
... with the atlas for the original images, so that
the offsets are the same.
2015-01-08 15:38:00 +01:00
Éric Lemoine
b2e419654b
Add ol.INITIAL_ATLAS_SIZE and ol.MAX_ATLAS_SIZE
2014-12-04 12:13:47 +01:00
tsauerwein
e109be4b57
Rename size to initialSize
2014-12-04 11:49:50 +01:00
tsauerwein
b5d80679d8
Add and fix documentation for atlas manager
2014-12-04 10:21:32 +01:00
tsauerwein
d6841e6d9d
Fix tests for when not run with WebGL support
2014-11-24 13:26:45 +01:00
tsauerwein
b8b48afc82
Use WEBGL_MAX_TEXTURE_SIZE as default
2014-11-24 09:57:09 +01:00
tsauerwein
fb8af71f25
Use goog.isNull and goog.isDef
2014-11-21 10:42:06 +01:00
tsauerwein
97f8e4ac8d
Keep separate atlas for hit-detection images
2014-11-21 09:40:22 +01:00
tsauerwein
62e9d259b2
Fix @type annotation
...
A description for @type annotation emits a warning.
2014-11-12 17:22:27 +01:00
Éric Lemoine
73e76fe468
Add an assertion to avoid compile error
2014-11-07 16:48:29 +01:00
tsauerwein
fe3cdd8d1b
Add AtlasManagerOptions and improve docs
2014-11-07 11:12:32 +01:00
tsauerwein
ebe0c6a88c
Move AtlasManager to ol.style.AtlasManager
2014-11-06 17:51:15 +01:00