Add basic tileLoadFunction example and refine advanced example
This commit is contained in:
committed by
ahocevar
parent
68ce6de0ca
commit
df848d6673
+6
-2
@@ -5,12 +5,16 @@
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
const states = {
|
||||
export default {
|
||||
IDLE: 0,
|
||||
LOADING: 1,
|
||||
LOADED: 2,
|
||||
/**
|
||||
* Indicates that tile loading failed
|
||||
* @type {number}
|
||||
* @api
|
||||
*/
|
||||
ERROR: 3,
|
||||
EMPTY: 4,
|
||||
ABORT: 5
|
||||
};
|
||||
export default states;
|
||||
|
||||
Reference in New Issue
Block a user