Skip to content
New issue

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

FIT5032 - Week05B Geocoding of coordinates #12

Open
JianLoong opened this issue Oct 9, 2018 · 0 comments
Open

FIT5032 - Week05B Geocoding of coordinates #12

JianLoong opened this issue Oct 9, 2018 · 0 comments

Comments

@JianLoong
Copy link
Owner

Currently in the Week05B example, when the user would like to create a location, it is required for the user to enter a latitude and longitude. It is not logical to create such a trouble process for the user.

Instead of that, create a ViewModel and a View to allow users to enter a full address instead. This address will then be geocoded and saved into the database as latitude and longitude values.

One way is to use the Mapbox API and send HTTP request. The documentation can be found here.

Or you can also use Mapify to do this.

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

No branches or pull requests

1 participant