From ccffd33a3b7fcb8bcce0992f632b03ecb86eff3b Mon Sep 17 00:00:00 2001 From: Mihai Varga Date: Tue, 1 Sep 2015 18:15:43 +0300 Subject: [PATCH] loleaflet: README update --- loleaflet/README | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/loleaflet/README b/loleaflet/README index fcf1b0949..f5b3488fc 100644 --- a/loleaflet/README +++ b/loleaflet/README @@ -213,15 +213,11 @@ Implementation details Loading a document: The map should have the following options: - - center at [0, 0] this will try to place the [0, 0] point in the middle of the - map, but it will be moved in the top left corner when the maxBounds are set - - zoom = defautl zoom value, zooming in and out will refer to this value - server address - - The layer (actual document) should have the following options: - - doc = path to the document that will be loaded - - 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 + - doc - path to the document that will be loaded + - edit = the initial permission + - readOnly - whether the document is read only + - [timestamp] - optionally provided for remote documents How zooming works: The zoom level goes from 1 to 20 (those limits can be changed) and the initial