Commit graph

3884 commits

Author SHA1 Message Date
Vesa Luusua
a3e1cde7c7
Merge pull request #929 from sharetribe/add-map-provider-docs
Add map provider docs
2018-09-14 15:24:48 +03:00
Vesa Luusua
c124bcd732 Run Prettier for docs 2018-09-14 15:21:28 +03:00
Juho Makkonen
5606d8c457 Line edits to documentation 2018-09-14 15:20:54 +03:00
Juho Makkonen
3ecbb4f3b4 Line edits to documentation 2018-09-14 15:20:54 +03:00
Vesa Luusua
02a7ecddea Document integration to supported map providers 2018-09-14 15:20:54 +03:00
Vesa Luusua
51adfc4760 Run Prettier for docs (yarn run format-docs) 2018-09-14 15:20:54 +03:00
Vesa Luusua
75d8dab81f Fix: reduce label repaints and flickering on Google Map version 2018-09-14 15:15:23 +03:00
Vesa Luusua
d7d4a3f328 Fix: improve SearchMapWithGoogleMap error handling 2018-09-14 15:15:23 +03:00
Vesa Luusua
801c54c1e4 Fix: SearchMapWithGoogleMap did not have container in state. 2018-09-14 15:15:22 +03:00
Vesa Luusua
94f3712256 Mobile chrome passes touch events to hidden map. 2018-09-14 15:15:22 +03:00
Vesa Luusua
00d8bfbb09 LocationAutocompleteInput: change bottom padding to match Mapbox needs 2018-09-14 15:15:22 +03:00
Vesa Luusua
a8ee999bf0 SearchMapWithMapbox: fix pinch zoom on mobile Safari 2018-09-14 15:15:22 +03:00
Vesa Luusua
310f2d6e18 Remove scroll trap on ListingPage by removing 1 finger pan. 2018-09-14 15:15:22 +03:00
Vesa Luusua
8e34b90957 Make mapbox navigation controls consistent 2018-09-14 15:15:21 +03:00
Vesa Luusua
9d4dec2971 CSP: add mapbox api to img-src 2018-09-14 15:15:21 +03:00
Vesa Luusua
ad4c07af71 Use Mapbox on ListingPage (Map.js component) 2018-09-14 15:15:21 +03:00
Vesa Luusua
a71a4cd288 Include mapbox-sdk.min.js from static folder. 2018-09-14 15:15:21 +03:00
Vesa Luusua
ab6cac9edc Rename onIdle to onMapMoveEnd and remove unnecessary mobile map opened info. 2018-09-14 15:15:21 +03:00
Vesa Luusua
9c3de582d8 Update tests 2018-09-14 15:15:20 +03:00
Vesa Luusua
064052fb25 Fix server side rendering (window was called in constructor 2018-09-14 15:15:20 +03:00
Vesa Luusua
056bba7199 Refactor search-by-map-viewport to SearchMapWithMapbox component 2018-09-14 15:15:20 +03:00
Vesa Luusua
d4393a6395 Refactor search-by-map-viewport to SearchMapWithGoogleMap component: 2018-09-14 15:15:20 +03:00
Vesa Luusua
a7b4ec2394 Move generic map utils: sdkBoundsToFixedCoordinates, hasSameSDKBounds 2018-09-14 15:15:20 +03:00
Vesa Luusua
dcabf399b8 Fix: SearchMapWithGoogleMap was missing sdk coordinate helpers
and there was unnecessary variables
2018-09-14 15:15:19 +03:00
Vesa Luusua
1baea00dad Fix: make sure that map refreshment token is changed after reattaching
the map.
2018-09-14 15:15:19 +03:00
Vesa Luusua
13f5e9b79d Fix price and group label update cycle when refresh token is passed in
This has likely worked in Google Map version due to the fact that it uses
separate Overlay component wrapper on top of labels.
2018-09-14 15:15:19 +03:00
Vesa Luusua
e474d74930 Refactor Google Maps integration to its own sub component on SearchMap 2018-09-14 15:15:19 +03:00
Kimmo Puputti
01623f3c4c Move default predictions out of the geocoder files 2018-09-14 15:15:18 +03:00
Kimmo Puputti
e051ea3f31 Reorganize maps configuration 2018-09-14 15:15:18 +03:00
Vesa Luusua
b12500072e Fix double click on top of infocard 2018-09-14 15:15:18 +03:00
Vesa Luusua
488d9ce3b1 Mapbox: mobile layout rerenders itself after complete data. 2018-09-14 15:15:18 +03:00
Hannu Lyytikainen
60b39bcfe6 Check prediction place type for bounds size 2018-09-14 15:15:17 +03:00
Hannu Lyytikainen
acad7d6ff2 Generate bounds if they are missing 2018-09-14 15:15:17 +03:00
Hannu Lyytikainen
3e6667da48 Fix formatting 2018-09-14 15:15:17 +03:00
Hannu Lyytikainen
5acf34b57a Convert bounds passed to Mapbox
Convert SW longitude for bounds that cross the antimeridian.
2018-09-14 15:15:17 +03:00
Hannu Lyytikainen
e7f2dc0ea1 Fix longitudes outside -180 and 180 2018-09-14 15:15:16 +03:00
Hannu Lyytikainen
4e6987644f Add zoom controls to Mapbox 2018-09-14 15:15:16 +03:00
Hannu Lyytikainen
d07e3a92db Remove fullscreen control from maps
Reproduces the changes of commit
675135a7f2 after being overridden in a
rebase.
2018-09-14 15:15:16 +03:00
Vesa Luusua
efeab41a5b Add mapbox requirements to CSP rules 2018-09-14 15:15:15 +03:00
Vesa Luusua
8da6c65e89 Create and use SearchMapWithMapbox component instead of SearchMapWithGoogleMap 2018-09-14 15:15:15 +03:00
Vesa Luusua
0fff68b9a3 Google related bounds tied to SearchMapWithGoogleMap implementation 2018-09-14 15:15:15 +03:00
Vesa Luusua
3807e58584 Refactor Google Maps integration to its own sub component on SearchMap 2018-09-14 15:15:15 +03:00
Vesa Luusua
da997c8bd4 LocationAutocomplete using Mapbox 2018-09-14 15:15:14 +03:00
Kimmo Puputti
cd2b89906b Init mapbox with the access token in env 2018-09-14 15:15:14 +03:00
Vesa Luusua
3d8965a1d5
Merge pull request #932 from sharetribe/v1_4_3
New release
2018-09-14 15:11:34 +03:00
Vesa Luusua
91eb881a48 New release 2018-09-14 15:09:15 +03:00
Vesa Luusua
e7ae5679c9
Merge pull request #931 from sharetribe/fix-fuzzy-location-after-coordinates-change
Fix fuzzy location after listing coordinates change
2018-09-14 15:07:21 +03:00
Vesa Luusua
e957169c5c Update changelog 2018-09-14 15:02:48 +03:00
Vesa Luusua
c66f358aec Fix: fuzzy location did not change after listing location changed. 2018-09-14 15:02:43 +03:00
Vesa Luusua
767c4c7e84
Merge pull request #930 from sharetribe/fix-obfuscate-coordinates-impl
Fix obfuscate coordinates implementation
2018-09-14 14:47:24 +03:00