summaryrefslogtreecommitdiff
path: root/loleaflet/README
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-10-19 10:44:54 +0300
committerMihai Varga <mihai.varga@collabora.com>2015-10-19 10:44:54 +0300
commited35ac63f6cf468b3ed143eb33611c5d4634be8d (patch)
treead50940c33501eb9c457045488178a0a4ca477d2 /loleaflet/README
parenta666eb248f7143f3894fbd264df830f022deca66 (diff)
loleaflet: searchAll method
Diffstat (limited to 'loleaflet/README')
-rw-r--r--loleaflet/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README
index 24123a75a..3158cf272 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -62,10 +62,12 @@ API & events
Search:
- API:
map.search(text, [backward])
+ map.searchAll(text, [backward])
- events:
map.on('search', function (e) {}) (currently only fired when no search result is found) where:
+ e.originalPhrase = the phrase that has been searched for
+ e.count = number of results
+ + e.results = [SearchResult], where SearchResult = {part: part, rectangles: [Bounds]}
Zoom:
- API: