Add basic tileLoadFunction example and refine advanced example

This commit is contained in:
Andreas Hocevar
2018-08-03 08:39:31 +02:00
committed by ahocevar
parent 68ce6de0ca
commit df848d6673
2 changed files with 31 additions and 16 deletions
+6 -2
View File
@@ -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;