Skip to content

[Feature Request] Apartment numbers (subpremise) #52

Closed
@ellisio

Description

@ellisio

When parsing an address with an apartment number, you receive a "Subpremise" attribute. This attribute is typically mapped to an "Address Line 2".

For example: https://maps.googleapis.com/maps/api/geocode/json?address=2123%20W%20Mineral%20Ave%20Apt%2061,%20Littleton,%20CO%2080120

It would be nice to have this added as the subpremise on the Address object.

Activity

mikebronner

mikebronner commented on Nov 9, 2016

@mikebronner
Member

Will take a look this week, thanks for reporting this! :) (Fair warning, this might be an issue with the underlying geodocer-php library.)

self-assigned this
on Nov 9, 2016
added this to the 1.0.0 milestone on Nov 9, 2016
mikebronner

mikebronner commented on Nov 23, 2016

@mikebronner
Member

Sorry its been taking so long to get a reply on this. Its on my radar, and will look at it as soon as possible. Happy Thanksgiving, everyone!

mikebronner

mikebronner commented on Mar 20, 2017

@mikebronner
Member

This is actually an issue with GeocoderPHP itself. (I pend this as an issue there: geocoder-php/Geocoder#593.)

Looking at the code, the Address model does not have any address line 2 properties, so that would have to be added.

mikebronner

mikebronner commented on Jun 17, 2017

@mikebronner
Member

@ellisio Quick update: the functionality will be added in the next major release of geocoded-php, and will make its way into this package then. :)

ellisio

ellisio commented on Jun 19, 2017

@ellisio
Author

@mikebronner Awesome, thank you for the update! This'll be helpful with a feature we're currently R&Ding. 👍

mikebronner

mikebronner commented on Jun 19, 2017

@mikebronner
Member

Good to hear! Keep us updated on how it works. Best guess is that the release is about 3 weeks out, but you can download dev-master of this package and start using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    [Feature Request] Apartment numbers (subpremise) · Issue #52 · geocoder-php/GeocoderLaravel