This namespace contains definitions for geocoding providers. A geocoding provider is any object that can resolve an address string and return a coordinate plus several other information about the returned point. At least the coordinates returned must be in EPSG:4326 LonLat although the provider can return other projection coordinates if it is defined a function for it.
- Source:
- bu/geocoding/geocoding.jsdoc
Classes
Type Definitions
-
Address
-
Geocoding address returned by a Geocoding provider.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description fullnamestring Full name of the address.
postcodestring | undefined Postal code.
buildingstring | undefined Building identifier.
housenumberstring | undefined House number identifier.
roadstring | undefined Road or atreet name.
townstring | undefined Town name.
villagestring | undefined Village name.
citystring | undefined City name.
statestring | undefined State name.
countrystring | undefined Country name.
-
CoordsOptions
-
Options for the Coords geocoding provider.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description namestring | undefined Name of the object provider. To be shown in a control selector. Default is 'Coords'.
tipLabelstring | undefined A tip label to be shown in a control textbox for best pattern in query entry.
autocompletableboolean | undefined If true this provider search function can be used in an autocomplete control.
-
OSMOptions
-
Options for the OSM Nominatim geocoding provider.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description namestring | undefined Name of the object provider. To be shown in a control selector. Default is 'OSM'.
tipLabelstring | undefined A tip label to be shown in a control textbox for best pattern in query entry.
autocompletableboolean | undefined If true this provider search function can be used in an autocomplete control.
-
OSMProxyOptions
-
Options for the OSM geocoding proxy provider.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description namestring | undefined Name of the object provider. To be shown in a control selector. Default is 'OSM Proxy'.
tipLabelstring | undefined A tip label to be shown in a control textbox for best pattern in query entry.
autocompletableboolean | undefined If true this provider search function can be used in an autocomplete control.
usertokenstring | undefined Usertoken to access BlomURBEX web services.
-
ProviderOptions
-
Options for a the base of geocoding providers.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description namestring | undefined Name of the object provider. To be shown in a control selector.
tipLabelstring | undefined A tip label to be shown in a control textbox for best pattern in query entry.
autocompletableboolean | undefined If true this provider search function can be used in an autocomplete control.
-
ProviderType
-
Types of geocoding providers.
BING: 'bing' COORDS: 'coords' GOOGLE: 'google' MAPQUEST: 'mapquest' OSM: 'osm' OSMPROXY: 'osmproxy' PELIAS: 'pelias' PHOTON: 'photon' SOK: 'sok'Type:
- string
- Source:
- bu/enums.js
-
Result
-
Geocoding result is a pair of address and coordinate returned by a Geocoding provider. The location must be always a WGS84 (EPSG:4326) lon, lat.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description addressbu.geocoding.Address locationbu.Coordinate htmlAddressstring | undefined an HTML formatted version of address.
htmlLocationstring | undefined an HTML formatted version of location.
-
SokOptions
-
Options for the BlomURBEX Sok geocoding provider.
Type:
- Object
- Source:
- bu/typedefs.js
Properties:
Name Type Description namestring | undefined Name of the object provider. To be shown in a control selector. Default is 'Sok'.
tipLabelstring | undefined A tip label to be shown in a control textbox for best pattern in query entry.
autocompletableboolean | undefined If true this provider search function can be used in an autocomplete control.
usertokenstring | undefined Usertoken to access BlomURBEX web services.
Javascript API 7.x