summaryrefslogtreecommitdiff
path: root/loleaflet/README
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-04-10 16:29:01 +0300
committerMihai Varga <mihai.varga@collabora.com>2015-04-10 16:29:01 +0300
commit54d0af6fb8d53eac0a07d9a4a9f3ba1d76db6287 (patch)
treea5d555cacf6f0438e995a452debee1b727cf07c5 /loleaflet/README
parent144c9ab1dff1886915d083d2e69243fa78c245a8 (diff)
How zoom works
Diffstat (limited to 'loleaflet/README')
-rw-r--r--loleaflet/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README
index 598ccb4b9..e67de0cf6 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -33,6 +33,10 @@ Loading a document:
- useSocket = tells the map the tiles will be received from a websocket
connection. If this parameter is false, an image will be loaded in each tile
+How zooming works:
+ The zoom level goes from 1 to 20 (thoes limits can be changed) and the initial
+ level is 10, which represents the 100% zoom level. 9 = 90%, 11 = 110% and so on.
+
Controls are added above the map in a div called "controls" is intended to be used as a toolbar.
There is no leaflet method of adding them in a separte div, so for now this is done in the html
document after the map initialization.