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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
A common use case for apps is to have a Location Picker over a map and while the TestApp has the basics of this already in the GeocoderActivity it can be enhanced to mirror the functionality that traditionally is part of this use case as well as made more discoverable. Specifically, this example should have:
A Marker (pin) that is centered in the middle of the screen that moves as the user pans around the map
An animation should be triggered on the UserLocationView when the Marker is moved over it to indicate that the Marker and User Location have come into alignment.
An InfoWindow for the Marker that displays the address of the selected location
When getting ready to hook up the Geocoder I noticed that the TestApp is still running the old school (and deprecated) Mapbox Directions and Mapbox Geocoding libraries and not Mapbox Android Services as it should be these days. Before I can build the Location Picker I need to do a little house cleaning and get things ported to MAS.
I've got the basic UI of Location Picker built, namely pan map using a marker, select location, geocode location, display address with Marker and opened InfoWindow. To finish this part of the requirements off I need to:
Add Reset To Geocoding Search Mode UI
Fix Pin Alignment so that Search Pin to Results Pin is seamless
Improve Address Formatting in the InfoWindow
Once these are done the next steps are to add the User Dot, User Dot animation, and Zoom events to be centered on Results Pin location.
Activity
[android] #5282 - Setting up LocationPickerActivity infrastructure
[android] #5282 - Adding default marker as ImageView
[android] #5282 - Adding select location button
[android] #5282 - Adding button click listener and updating gradle bu…
[android] #5282 - Fixing toolbar, button, and mapview layout
[android] #5282 - Calculating marker point on screen to generate LatL…
bleege commentedon Jun 10, 2016
When getting ready to hook up the Geocoder I noticed that the TestApp is still running the old school (and deprecated) Mapbox Directions and Mapbox Geocoding libraries and not Mapbox Android Services as it should be these days. Before I can build the Location Picker I need to do a little house cleaning and get things ported to MAS.
[android] #5282 - Upgrading from deprecated Directions and Geocoding …
[android] #5282 - Integrating Geocoder to produce address
[android] #5282 - Displaying Marker on map with geocoded address in a…
bleege commentedon Jun 10, 2016
I've got the basic UI of Location Picker built, namely pan map using a marker, select location, geocode location, display address with Marker and opened InfoWindow. To finish this part of the requirements off I need to:
Once these are done the next steps are to add the User Dot, User Dot animation, and Zoom events to be centered on Results Pin location.
/cc @zugaldia
[android] #5282 - Adding clear button and related functionality
81 remaining items
zugaldia commentedon Jun 17, 2016
Example added via #5391.