diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-10-19 10:44:54 +0300 |
---|---|---|
committer | Mihai Varga <mihai.varga@collabora.com> | 2015-10-19 10:44:54 +0300 |
commit | ed35ac63f6cf468b3ed143eb33611c5d4634be8d (patch) | |
tree | ad50940c33501eb9c457045488178a0a4ca477d2 /loleaflet/README | |
parent | a666eb248f7143f3894fbd264df830f022deca66 (diff) |
loleaflet: searchAll method
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 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: |