diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-08-12 19:22:26 +0300 |
---|---|---|
committer | Mihai Varga <mihai.varga@collabora.com> | 2015-08-12 19:22:26 +0300 |
commit | e7cd3a75ef49ba0d1b61a48d70df77bbff010aa9 (patch) | |
tree | 46bbcad22052e296a7f83e59bb16ad16b5ce43e8 /loleaflet/README | |
parent | e3ae95bfc9b69c6b001bca26994ae2d054de4b21 (diff) |
loleaflet: getDocSize method for getting the size in pixels
Diffstat (limited to 'loleaflet/README')
-rw-r--r-- | loleaflet/README | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README index 9a0eebb07..7a97e357f 100644 --- a/loleaflet/README +++ b/loleaflet/README @@ -131,6 +131,8 @@ Scroll (the following are measured in pixels): + scroll to 'x' offset relative to the beginning of the document map.scrollOffset() + returns the scroll offset relative to the beginning of the document + map.getDocSize() + + returns the document's size in pixels - events map.on('docsize', function (e) {}) where: + e.x = document width |