Skip to content

City is null when searching address in NYC #334

Open
@brandonbryant12

Description

This will return

await geocoder.geocode({
            '407 Adams Ave',
            'US',
         });
[
  {
    formattedAddress: '407 Adams Ave, Staten Island, NY 10306, USA',
    latitude: 40.5771522,
    longitude: -74.0931513,
    extra: {
      googlePlaceId: 'ChIJyfCeIsxOwokRuU1h1tTLLIs',
      confidence: 1,
      premise: null,
      subpremise: null,
      neighborhood: 'Midland Beach',
      establishment: null
    },
    administrativeLevels: {
      level2long: 'Richmond County',
      level2short: 'Richmond County',
      level1long: 'New York',
      level1short: 'NY'
    },
    streetNumber: '407',
    streetName: 'Adams Avenue',
    country: 'United States',
    countryCode: 'US',
    zipcode: '10306',
    provider: 'google'
  }
]

I have a service that depends on having the city field populated

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions