Vesa Luusua
bb4a47d970
Fix: render only when mountNode is present
2018-08-02 00:11:48 +03:00
Vesa Luusua
bca90142b8
Add reuseableContainerClassName to proptypes definition and refactor the order
2018-08-01 16:40:22 +03:00
Vesa Luusua
5a6f2361cd
Reusable map container
2018-08-01 14:49:38 +03:00
Vesa Luusua
049f6a7f37
import lodash per file to reduce bundle size
2018-05-18 15:24:09 +03:00
Kimmo Puputti
df188aa3ea
Change search map controls for visibility
...
- Move zoom controls to top left
- Hide street view button from bottom right
2018-04-11 14:56:07 +03:00
Kimmo Puputti
fa7c813b39
Fix google lib check for server rendering
2018-03-22 11:17:12 +02:00
Vesa Luusua
a027671573
Remove throw error when google lib is missing
2018-03-21 16:21:19 +02:00
Vesa Luusua
28e339ad6a
Revert "Revert "onIdle should not be called without ref to actual map""
2018-03-20 15:50:26 +02:00
Vesa Luusua
77b16410de
Revert "onIdle should not be called without ref to actual map"
2018-03-20 15:36:33 +02:00
Vesa Luusua
f1362896c9
onIdle should not be called without ref to actual map
2018-03-20 14:40:19 +02:00
Mikko Koski
1fdc8d404d
Highlight hovered listing on map
2018-03-09 14:47:26 +02:00
Kimmo Puputti
709ddf61d8
Filter out listings without location for the SearchMap
2018-03-05 14:18:41 +02:00
Kimmo Puputti
f401363940
Improve the coordinate obfuscation
...
- Use a proper algorithm to offset correctly in different latitudes
- Only configure the offset in meters, infer circle radius from that
2018-02-08 10:31:23 +02:00
Kimmo Puputti
3aa1d74e30
Improve config prop types check
2018-02-02 14:07:53 +02:00
Kimmo Puputti
505cafdb7a
Improve coordinate obfuscation
...
Now the obfuscation results are memoized so that the results stay
stable for each listing id.
2018-02-02 12:04:10 +02:00
Kimmo Puputti
b8b8b94375
Obfuscate SearchMap listing coordinates
2018-02-01 16:11:57 +02:00
Kimmo Puputti
f0b955dc5b
Refactor propTypes module
...
- Rename types
- Collect propTypes within a named propTypes export
- Use named imports for easier refactoring and customisation later
- Rename sdk types to sdkTypes in imports to avoid confusion
2018-01-11 11:40:03 +02:00
Kimmo Puputti
a996f154d1
Import PropTypes from the prop-types package
2017-10-17 09:50:22 +03:00
Kimmo Puputti
90ab9c9a69
Format with latest Prettier
2017-10-13 10:11:51 +03:00
Kimmo Puputti
78de6d9d69
Disable deprecated proptype import lint error
2017-10-12 14:09:02 +03:00
Vesa Luusua
b9bd4232f0
Review change
2017-08-24 14:31:37 +03:00
Vesa Luusua
590d18d42b
Rename SearchMapListingCard to SearchMapInfoCard (since it's functionally infowindow and doesn't contain just one listing
2017-08-24 14:18:47 +03:00
Vesa Luusua
31d6a15c98
Let's not try to add any margins around search results
2017-08-24 14:18:47 +03:00
Vesa Luusua
a9978bd035
SearchMap groups listings to locations based arrays
2017-08-24 14:18:46 +03:00
Vesa Luusua
5a659929de
Click disabled for point-of-interest icons/locations
2017-08-24 14:18:45 +03:00
Vesa Luusua
30007a085f
Using idle event instead of bounds_changed
2017-08-22 14:50:24 +03:00
Vesa Luusua
d75ee44108
Handle close modal when navigating away from searchmap modal
2017-08-18 18:03:26 +03:00
Vesa Luusua
fc4336f0f7
Fix fullscreen control on mobile layout (remove it)
2017-08-18 15:44:00 +03:00
Vesa Luusua
f835365860
SearchMap fixes (fitBounds called when needed and bounds_changed event listened)
2017-08-18 10:48:27 +03:00
Kimmo Puputti
9027d07a84
Format JS
2017-08-15 16:08:46 +03:00
Vesa Luusua
23c3cbc18f
Update SearchMap: add SearchMapListingCard and remove translation handling)
2017-08-15 14:43:05 +03:00
Vesa Luusua
bfb24c45fc
SearchMap using react-google-maps library
2017-08-10 14:57:13 +03:00
Kimmo Puputti
6d980f4432
Fix SearchMap price overlay value
2017-08-02 13:59:19 +03:00
Vesa Luusua
ce47dc329e
Life cycle handling of React based PriceLabel was buggy - revert to plain examples of google overlays
2017-07-25 15:11:13 +03:00
Vesa Luusua
06a9da19d0
SearchMap
2017-07-18 18:08:03 +03:00