You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: