Skip to content

Documentation and/or consistency issue #1685

Open
@tonekk

Description

@tonekk

Hi @alexreisner,

first off: thank you, amazing work 💯

I'm a little confused by the following:

  1. Using Geocoder.search leads to @data containing "lat" and "lon".
  2. The documentation suggests stubbing "coordinates".
  3. When using Model.geocode, it is expected that the coordinates are present within @data in "latitude" and "longitude"

My questions:

  • Is there a reason for this deviation?
  • Is stubbing coordinates maybe deprecated?
  • What are the arguments against either using the short form (lat) or the long form (latitude) consistently?

Cheers,

Finn

Metadata

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