We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice if Faker had support for creating Latitude and Longitude values.
Something to this effect should work, with faker being the current instance instead of the global.
faker
It might sit under faker.address.latitude/faker.address.longitude or even faker.geospatial.latitude/faker.geospatial.longitude ?
faker.address.latitude
faker.address.longitude
faker.geospatial.latitude
faker.geospatial.longitude
double longitude() { return -180 + faker.randomGenerator.decimal() * 180 * 2; } double latitude() { return -90 + faker.randomGenerator.decimal() * 90 * 2; }
The text was updated successfully, but these errors were encountered:
Sounds great to include it. I think the best would be to put it under geolocation, geo or geospatial. Feel free to send a PR 😊
geolocation
geo
geospatial
Sorry, something went wrong.
Fixed in #63
No branches or pull requests
It would be nice if Faker had support for creating Latitude and Longitude values.
Something to this effect should work, with
faker
being the current instance instead of the global.It might sit under
faker.address.latitude
/faker.address.longitude
or evenfaker.geospatial.latitude
/faker.geospatial.longitude
?The text was updated successfully, but these errors were encountered: