Geoportal Extension for OpenLayers API Reference

Class: Search

ol.style.editor.Search

TODO MapBox search management

OpenLayers/Controls/Editor/Search.js, line 30
Name Type Description
options Object

options for function call.

TODO
Example
var Search = new Search ({
     target : ...,
     tools : {
         // ...
     }
     title : "Filtres de recherche :",
     obj : {}
  });
 Search.add();
 Search.display(true);
 Search.getContainer();

Methods

add(){Object}

OpenLayers/Controls/Editor/Search.js, line 137

Add element into target DOM

Returns:
instance

display(display){Boolean}

OpenLayers/Controls/Editor/Search.js, line 161

Set display container or get

Name Type Description
display Boolean

show/hidden container or get status

getContainer(){DOMElement}

OpenLayers/Controls/Editor/Search.js, line 174

Get container (DOM)

Returns:
element