GeoSearch
Panoramax.components.ui.widgets.GeoSearch ⇐ lit.LitElement
Kind: static class of Panoramax.components.ui.widgets
Extends: lit.LitElement
Element: pnx-widget-geosearch  
- .GeoSearch ⇐ lit.LitElement- new GeoSearch()
- .properties : Object
 
new GeoSearch()
Ready-to-use geocoder search bar.
Example
<!-- Default geocoder -->
<pnx-widget-geosearch _parent=${viewer} />
<!-- Custom-URL geocoder -->
<pnx-widget-geosearch geocoder="https://photon.komoot.io/api" _parent=${viewer} />
geoSearch.properties : Object
Component properties.
Kind: instance property of GeoSearch
Properties
| Name | Type | Default | Description | 
|---|---|---|---|
| [geocoder] | string | "nominatim" | The geocoder engine to use (nominatim, ban, or URL to a standard GeocodeJSON-compliant API) |