Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of Lines in a Street Address #11

Open
ghost opened this issue Jun 8, 2018 · 2 comments
Open

Number of Lines in a Street Address #11

ghost opened this issue Jun 8, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 8, 2018

Hello,
i am using this setting Number of Lines in a Street Address ; 1
When is type the address the autpcomplete only returns the housenumber not the streetname.
(dutch user)

@bluvertigo
Copy link

Hello,
You can try to do this in CtiDigital/GoogleAddressLookup/etc/frontend/di.xml

<type name="CtiDigital\GoogleAddressLookup\Block\Js\GoogleApi">
        <arguments>
            <argument name="fieldsMap" xsi:type="array">
                <item name="street[0]" xsi:type="string">route|street_number</item>
                <item name="country" xsi:type="string">country</item>
                <item name="city" xsi:type="string">locality|postal_town</item>
                <item name="postcode" xsi:type="string">postal_code</item>
                <item name="zip" xsi:type="string">postal_code</item>
                <item name="region" xsi:type="string">administrative_area_level_1</item>
            </argument>
        </arguments>
    </type>

@shinesoftware
Copy link

Hello @bluvertigo,

is there a way to join the street and the number all together? (italian user)

Thanks for your extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants