CrossClj

0.5.0 docs

SourceDocs



RECENT
    VARS
    *api-url*
    *options*
    address-components
    administrative-area-level-1
    administrative-area-level-2
    country
    find-address-component
    formatted-address
    geocode
    geometry
    locality
    location
    partial-match?
    postal-code
    request
    reverse-geocode
    route
    street-number
    sub-locality
    types

    « Index of all namespaces of this project

    (address-components result)
    Returns an array containing the separate address components.
    
    (administrative-area-level-1 result)
    Returns the administrative area level 1 from address components.
    
    (administrative-area-level-2 result)
    Returns the administrative area level 2 from address components.
    
    (country result)
    Returns the country from the address components.
    
    Private
    (find-address-component result component)
    (formatted-address result)
    Returns the formatted address of the result.
    
    (geocode address & {:as options})
    Geocode the location.
    
    (geometry result)
    Returns the geometry of the result.
    
    (locality result)
    Returns the locality from address components.
    
    (location result)
    Returns the location of the result geometry.
    
    (partial-match? result)
    Returns true if the result is a partial match, otherwise false.
    
    If true geocoder did not return an exact match for the original
    request, though it did match part of the requested address. You may
    wish to examine the original request for misspellings and/or an
    incomplete address. Partial matches most often occur for street
    addresses that do not exist within the locality you pass in the
    request.
    (postal-code result)
    Returns the postal code from address components.
    
    (request options)
    (reverse-geocode location & {:as options})
    Reverse geocode the location.
    
    (route result)
    Returns the route from address components.
    
    (street-number result)
    Returns the street number from address components.
    
    (sub-locality result)
    Returns the sub locality from address components.
    
    (types result)
    Returns a set of one or more tags identifying the type of feature
    returned in the result. For example, a geocode of "Chicago" returns
    "locality" which indicates that "Chicago" is a city, and also
    returns "political" which indicates it is a political entity.