Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow multiple components with same name on GoogleV3 Geocoder #407

@pratheekrebala

Description

@pratheekrebala

The Google API allows specifying multiple components of the same type for component filtering
e.g.

administrative_area:VA|administrative_area:Arlington

However, this is currently not possible using the GoogleV3 geocoder since the method requires that components be passed in as dict.

One way to add this functionality might be to also accept a list of tuples:

components=[
    ('administrative_area',  'VA'),
    ('administrative_area', 'Arlington')
]

I can make a PR if this is within scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions