new GnafSearchProviderViewModel()
Search provider that uses the Data61 Elastic Search GNAF service to look up addresses.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.terria |
Terria instance |
||
options.gnafApi |
<optional> |
The GnafApi object to query - if none is provided one will be created using terria.corsProxy and the default settings. |
|
options.flightDurationSeconds |
<optional> |
The number of seconds for the flight animation when zooming to new results. |