loleaflet: updated README with alltilesloaded event

This commit is contained in:
Mihai Varga 2015-08-07 09:50:50 +03:00
parent 4836668c66
commit 1254dbd0b1

View file

@ -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: