Kimmo Puputti
74b01032e7
Implement dynamic Mapbox map
2018-08-14 15:07:22 +03:00
Kimmo Puputti
dde89f606b
Pass class names to the dynamic map
2018-08-14 15:07:22 +03:00
Kimmo Puputti
c4dfa7d4c3
Use a div instead of button around the dynamic map
2018-08-14 15:07:22 +03:00
Kimmo Puputti
6e339b86f6
Implement static Mapbox map
2018-08-14 15:07:22 +03:00
Kimmo Puputti
eb53b6dcb3
Extract circle polyline calculation util
2018-08-14 15:07:22 +03:00
Kimmo Puputti
61de75d68b
Clean up map controls
2018-08-14 15:04:48 +03:00
Kimmo Puputti
ac093bf89e
Abstract away map provider
2018-08-14 15:04:48 +03:00
Kimmo Puputti
afe9cad777
Change component names
2018-08-14 15:04:48 +03:00
Kimmo Puputti
c7f5afd82b
Rename Google map component files
2018-08-14 15:04:48 +03:00
Kimmo Puputti
04e85c8f47
Merge pull request #895 from sharetribe/autocomplete-current-location
...
Autocomplete current location
2018-08-14 09:49:32 +03:00
Kimmo Puputti
8f1f64880e
Use "add" instead of "change" in Changelog
2018-08-14 09:35:06 +03:00
Hannu Lyytikäinen
f6fbae7dd8
Merge pull request #892 from sharetribe/availability
...
Add availability support
2018-08-13 15:24:03 +03:00
Hannu Lyytikainen
cfd7494e25
Improve comments
2018-08-13 15:16:31 +03:00
Hannu Lyytikainen
c282dc513d
Fix selecting end date first
...
Enable ending booking on the day another booking starts.
2018-08-13 14:43:17 +03:00
Hannu Lyytikainen
e659ac4809
Fix a bug in daily booking
...
Fixes a bug in daily booking where selected end date styles are not
cleared when updating start date with a date that is before the old
start date and a booked date can be found between those old and new
start dates.
2018-08-13 14:14:03 +03:00
Kimmo Puputti
4092563d9c
Implement current location default search for the Mapbox geocoder
2018-08-13 13:02:12 +03:00
Kimmo Puputti
28543ee418
Update snapshots
2018-08-13 11:34:55 +03:00
Kimmo Puputti
b03081767c
Implement user's current location as a default location search
2018-08-13 11:30:27 +03:00
Kimmo Puputti
f1172c2503
Add helper to calculate a bounding box
2018-08-13 10:52:24 +03:00
Kimmo Puputti
7e01233e52
Add helper to get user's location
2018-08-13 10:49:01 +03:00
Kimmo Puputti
fd4c39d01d
Merge pull request #894 from sharetribe/autocomplete-default-searches
...
Default location suggestions for LocationAutocompleteInput
2018-08-13 09:51:00 +03:00
Kimmo Puputti
2d17e6fe48
Add docs for default location searches
2018-08-13 09:45:27 +03:00
Hannu Lyytikainen
2c0cb83b5b
Add an example for day based bookings
2018-08-13 09:00:33 +03:00
Kimmo Puputti
2686726bd2
Add support for default predictions
2018-08-10 10:46:21 +03:00
Kimmo Puputti
040dfa6cd2
Use the geocoder to read the prediction ID
2018-08-10 10:45:09 +03:00
Hannu Lyytikainen
b43a97f0db
Remove an unused function
2018-08-10 09:34:11 +03:00
Hannu Lyytikainen
19dd70c433
Enable availability by default
2018-08-10 08:55:47 +03:00
Hannu Lyytikainen
5e1aa7b244
Add error handling for initiate request
2018-08-10 08:37:21 +03:00
Kimmo Puputti
1bee582260
Select by prediction object, not index
2018-08-09 16:57:12 +03:00
Hannu Lyytikainen
4449a071ec
Update changelog
2018-08-09 15:43:28 +03:00
Hannu Lyytikainen
1706f22e52
Add error handling to checkout page
...
Add handling for the tx time already booked error to checkout page.
2018-08-09 15:43:28 +03:00
Hannu Lyytikainen
bcbeec8aef
Pass time slots to BookingDatesForm
2018-08-09 15:43:28 +03:00
Hannu Lyytikainen
2563bfeb2d
Default time slots to null
2018-08-09 15:43:28 +03:00
Hannu Lyytikäinen
b9b2b6ca90
Merge pull request #891 from sharetribe/date-range-input-availability
...
Availability for the date range picker
2018-08-09 15:42:22 +03:00
Hannu Lyytikainen
da36ab2ff3
Return null instead of undefined
2018-08-09 15:31:47 +03:00
Kimmo Puputti
c5f3ce76eb
Merge pull request #893 from sharetribe/generalised-geocoding
...
Generic location autocomplete
2018-08-09 15:27:39 +03:00
Kimmo Puputti
2d092a4543
Use globally configured autocomplete predictions padding
...
The padding is set for the "Powered by Google" attribution, but that
might not be present e.g. with Mapbox.
2018-08-09 14:54:01 +03:00
Kimmo Puputti
f92c3bdeb2
Extract the geocoding attribution to the geocoder file
2018-08-09 14:53:31 +03:00
Kimmo Puputti
98f4e49513
Remove rest of country search param usage
2018-08-09 14:07:05 +03:00
Kimmo Puputti
107328c4fb
Add Mapbox geocoder implementation
2018-08-09 13:48:42 +03:00
Kimmo Puputti
1d47c3ce5c
Read prediction address also through the geocoder
2018-08-09 13:27:43 +03:00
Kimmo Puputti
98aade3bb3
Fix typo in doc string
2018-08-09 11:15:36 +03:00
Kimmo Puputti
0ac7cdd04d
Update changelog
2018-08-09 11:12:10 +03:00
Kimmo Puputti
50fcc8dd89
Document the Google Maps Places API geocoder implementation
2018-08-09 11:07:48 +03:00
Kimmo Puputti
5927ac7fe4
Remove unneeded country from search params and place objects
2018-08-09 10:57:52 +03:00
Kimmo Puputti
74f62bc101
Read selected place value from place object
2018-08-09 10:46:36 +03:00
Kimmo Puputti
815e1acb8c
Remove unnecessary place id handling
2018-08-09 10:39:32 +03:00
Kimmo Puputti
f594f9ba48
Extract the Geocoding implementation from the generic input
2018-08-09 10:28:49 +03:00
Hannu Lyytikainen
1263340faf
Add availability to FieldDateRangeInput
2018-08-08 16:23:48 +03:00
Kimmo Puputti
391aa3c51c
Merge pull request #887 from sharetribe/google-maps-autocomplete-input
...
Extract LocationAutocompleteInputGoogleMaps
2018-08-08 14:10:36 +03:00