bazinga_geocoder.yaml 2.42 KB
Newer Older
Julien Jorry committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# See the docs at https://github.com/geocoder-php/BazingaGeocoderBundle
bazinga_geocoder:
    # The local IP (127.0.0.1) will be replaced by the fake_ip
    # see https://github.com/geocoder-php/BazingaGeocoderBundle/blob/5.0.0/Resources/doc/index.md#fake-local-ip
    fake_ip: 123.123.123.123
    providers:
        # cache:
        #     adapter:  mlc_cache_adapter
        #     provider: factory
        # bing_maps:
        #     api_key:              ~ # Required
        #     locale:               ~
        # cache:
        #     adapter:              ~ # Required
        #     provider:             ~ # Required
        #     locale:               ~
        #     lifetime:             86400
        # ip_info_db:
        #     api_key:              ~ # Required
        # cloudmade:
        #     api_key:              ~ # Required
        google_maps:
            factory: Bazinga\GeocoderBundle\ProviderFactory\GoogleMapsFactory
            options:
              # httplug_client: '@httplug.client' # When using HTTPlugBundle
              region: 'France'
              api_key: 'XXXXXXXXX'
            locale: fr
            # region:               ~
            # use_ssl:              false
        # google_maps_business:
        #     client_id:            ~ # Required
        #     api_key:              ~
        #     region:               ~
        #     use_ssl:              false
        openstreetmap:
            factory: Bazinga\GeocoderBundle\ProviderFactory\NominatimFactory
            locale: fr
            # cache:  '@Symfony\Component\Cache\Simple\ApcuCache'
            # cache_lifetime: 3600
            # cache_precision: ~
        # host_ip:              []
        # geoip:                []
        # free_geo_ip:          []
        # mapquest:
        #     api_key:              ~ # Required
        # oiorest:              []
        # geocoder_ca:          []
        # geocoder_us:          []
        # ign_openls:
        #     api_key:              ~ # Required
        # data_science_toolkit:  []
        # yandex:
        #     locale:               ~
        #     toponym:              ~
        # geo_ips:
        #     api_key:              ~
        # geo_plugin:           []
        # maxmind:
        #     api_key:              ~ # Required
        # maxmind_binary:
        #     binary_file:          ~ # Required
        #     open_flag:            ~
        # chain:
        #     providers:            []