Geoportal Extension for Leaflet API Reference

Namespace: SearchEngine

L.geoportalControl.SearchEngine

Leaflet Control Class to search positons of geographic identifiers (places names, address, cadastral parcel) using :

Use :Controls.SearchEngine L.geoportalControl.SearchEngine() factory to create instances of that class.

Extends Leaflet L.Control native class.

Methods

setText(text, type, options)

Leaflet/Controls/SearchEngine.js, line 1670

This method is public.
It allows to control the execution of a geocoding or an autocompletion.

Name Type Description
text String

location

type Boolean

true (geocoding) / false (autocompletion)

options Object

options