new module:Search(map, lizmap3)
Create a search instance
Parameters:
Name | Type | Description |
---|---|---|
map |
Map | OpenLayers map |
lizmap3 |
object | The old lizmap object |
- Source:
Classes
Methods
_addExternalSearch(searchConfig) → {boolean}
PRIVATE method: addExternalSearch
add external search capability
Parameters:
Name | Type | Description |
---|---|---|
searchConfig |
object | search configuration |
- Source:
Returns:
external search is in the user interface
- Type
- boolean
_addSearch(searchConfig) → {boolean}
PRIVATE method: addExternalSearch
add external search capability
Parameters:
Name | Type | Description |
---|---|---|
searchConfig |
object | search configuration |
- Source:
Returns:
external search is in the user interface
- Type
- boolean
_addSearches() → {boolean|void}
PRIVATE method: _addSearches
add searches capability
- Source:
Returns:
searches added to the user interface
- Type
- boolean | void
_getHighlightRegEx() → {RegExp}
Get the highlight regular expression
- Source:
Returns:
The regular expression
- Type
- RegExp
_startExternalSearch()
Start the external search
- Source:
_updateExternalSearch(aHTML)
Update external search
Parameters:
Name | Type | Description |
---|---|---|
aHTML |
string | HTML to update |
- Source: