29 Commits

Author SHA1 Message Date
Arni Sumarlidason
f2454bf576 fix popup::onReactClick params (#1348) 2021-02-10 18:27:54 -08:00
Xiaoji Chen
067edda9b6
Align control component APIs (#1297) 2021-01-15 13:09:55 -08:00
Xiaoji Chen
850ae97d54
Clean up and document MapContext and useMapControl APIs (#1278) 2021-01-04 19:22:32 -08:00
Xiaoji Chen
d2617870a3
Resolve prettier conflict (#1274) 2020-12-21 10:35:11 -08:00
Xiaoji Chen
65e3242680
Migrate to TypeScript: initial commit (#1268) 2020-12-21 09:58:10 -08:00
Xiaoji Chen
aae80369ed
Move controls to functional component (#1242)(#1243)(#1244)(#1245) 2020-12-05 13:28:10 -08:00
Grady Kuhnline
9dec821920
Fix issue where translate by partial pixels causes blurry rendering (#1039) 2020-02-25 09:13:24 -08:00
Bogdan Chadkin
1c42df0ba2
Migrate to import * as React from 'react' (#1038) 2020-02-25 08:04:09 -08:00
Hossein Moradi Davijani
5555e66c9a Add babel react preset and migrate react components to jsx (#875) 2019-09-16 11:22:56 -07:00
Xiaoji Chen
b8e8af40d8 fix delay after clicking close button (#857) 2019-08-07 10:47:07 -06:00
Xintong Xia
a3fdbe220f
Fix compressed popup when reaching right bound of map (#823) 2019-06-14 10:33:03 -07:00
Xiaoji Chen
3cac5acc49 Fix popup styling (#818) 2019-06-06 17:34:53 -07:00
Xiaoji Chen
c2c7f28473
Fix flow (#807) 2019-05-31 14:55:30 -07:00
Xintong Xia
1da1398c06
Upgrade dev tools to ocular (#780) 2019-05-07 20:49:08 -07:00
Xiaoji Chen
4bddb0f376
Fix: popup close button click event propagates to map (#751) 2019-03-12 19:19:40 -07:00
Xiaoji Chen
ed99790880
Fix popup bug when closeOnClick is off (#660) 2018-11-16 17:30:40 -08:00
Xiaoji Chen
349f3b5894 Set up flow (#651) 2018-11-05 11:02:52 -08:00
Xiaoji Chen
003aaa337d
Upgrade function ref to createRef (#637) 2018-10-27 15:57:48 -07:00
Xiaoji Chen
bb2230b19c
Add sortByDepth option to Popup component (#623) 2018-10-16 11:18:56 -07:00
Xiaoji Chen
28c38848f0
Upgrade to new React context API (#613) 2018-10-10 15:50:50 -07:00
Xiaoji Chen
0c289423f5
use class properties for binding (#598) 2018-09-24 12:36:44 -07:00
Xiaoji Chen
eab9e2a05c
Fix captureClick in popup component (#532)
https://github.com/uber/react-map-gl/issues/304

- Handle `capture*` prop change
- Fix the issue where `captureClick` does not work on Popup components if click results in closing the popup
2018-06-18 16:17:38 -07:00
Balthazar Gronon
f420faab64 Manually bind methods (#463) 2018-03-08 11:39:19 -08:00
Xiaoji Chen
d316e77004 Right button drag to rotate (#381)
* right button drag to rotate
* disable drag rotate on controls
* fix prop type warnings
2017-10-13 10:10:13 -07:00
Rishat Gabaydullov
8bf1e94155 Extend control elements with custom classNames (#378) 2017-10-12 08:55:15 -07:00
Xiaoji Chen
38193aad83 Allow controls and overlays to block map interactions (#377) 2017-10-06 14:08:48 -07:00
Xiaoji Chen
b2ce2dfc45 use ref callback properly (#319) 2017-07-25 13:58:25 -07:00
Xiaoji Chen
82436255f0 Attribution Control and Navigation Control (#228) 2017-05-05 12:18:58 -07:00
Xiaoji Chen
da23dde556 Popup control (#227) 2017-05-05 10:50:47 -07:00