loleaflet: updated README with alltilesloaded event
This commit is contained in:
parent
4836668c66
commit
1254dbd0b1
1 changed files with 3 additions and 1 deletions
|
@ -101,11 +101,13 @@ Parts (like slides in presentation, or sheets in spreadsheets):
|
|||
Statusindicator (when the document is loading):
|
||||
- events
|
||||
map.on('statusindicator', function (e) {}) where:
|
||||
+ e.statusType = 'start' | 'setvalue' | 'finish' | 'loleafletloaded'
|
||||
+ e.statusType = 'start' | 'setvalue' | 'finish' | 'loleafletloaded' | 'alltilesloaded'
|
||||
+ e.value == a value from 0 to 100 indicating the status
|
||||
if the statusType is 'setvalue
|
||||
+ 'loleafletloaded' is fired when the JS code is initialized and the document
|
||||
load request is sent and we're waiting for the tiles
|
||||
+ 'alltilesloaded' is fired when all newly requested (empty tiles) have been loaded
|
||||
it is not fired during pre-fetching and during editing
|
||||
|
||||
Save:
|
||||
- API:
|
||||
|
|
Loading…
Reference in a new issue