341 Commits

Author SHA1 Message Date
Anurag Kyal
4ecc5bf8e8
[geolocate] fix auto when location blocked (#1126) 2020-06-05 13:22:09 -07:00
Xiaoji Chen
77245dc44c
NavigationControl: fall back to the latest UI version (#1124) 2020-06-04 15:47:07 -07:00
Jonas Witt
1d79ad61e2
Check if map style is loaded before removing source or layer (#1123) 2020-06-04 11:52:58 -07:00
Anurag Kyal
120f55efe3
[Geolocate] Auto trigger when component loads (#1116)
Co-authored-by: Anurag Kyal <anurag.kyal@snapchat.com>
2020-06-04 11:50:35 -07:00
Xiaoji Chen
8fb9b56bb5
Fix test failure (#1082) 2020-04-21 16:09:11 -07:00
Xiaoji Chen
086e1d4e05
Fix edge case in transitionDuration:auto (#1080) 2020-04-20 14:07:06 -07:00
Xiaoji Chen
83933663dc
Correct interaction state on double click (#1081) 2020-04-20 14:06:53 -07:00
davidnx
f01cbdb01b
Fix broken link to "About Mapbox Tokens" (#1053) 2020-03-26 09:51:55 -07: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
Xiaoji Chen
30830b727b
Sanity check in source/layer update (#1022) 2020-02-10 14:57:13 -08:00
Xiaoji Chen
a4a0ef0e50
Fix issue where adding popup enables double click recognizer (#1013) 2020-02-03 12:56:10 -08:00
Xiaoji Chen
a3c195bf86
Fix GeolocateControl error when used with StaticMap (#1012) 2020-02-03 12:55:56 -08:00
Xiaoji Chen
c570c2f73a
Re-export setRTLTextPlugin plugin (#1010) 2020-01-29 11:24:02 -08:00
Xiaoji Chen
2d6f8f6ec0
Deep compare source props (#985) 2020-01-12 21:36:57 -08:00
Xiaoji Chen
a71cdf9ba2
Export WebMercatorViewport (#979) 2020-01-06 15:21:02 -08:00
Xiaoji Chen
4170e54faa
Update dev setup (#976) 2020-01-02 13:18:22 -08:00
Xiaoji Chen
ed7d8df842
check that context.map exists (#974) 2020-01-02 11:22:10 -08:00
Xiaoji Chen
28f0b6e01a
Fix React state update warning (#968) 2019-12-30 15:22:31 -08:00
Munif Tanjim
747f414943 Enhance GeolocateControl component (#761) 2019-12-30 10:29:10 -08:00
Xiaoji Chen
bbbfc2a4dd
Add ScaleControl (#966) 2019-12-30 10:28:57 -08:00
Xiaoji Chen
f73b467d81
Fix control icons when used with mapbox-gl@>=1.6 (#967) 2019-12-30 10:25:16 -08:00
Aleksi Hietanen
d24efc4602 Remove marker when GeolocateControl is disabled (#960) 2019-12-18 11:33:02 -08:00
Aleksi Hietanen
737b80d362 Allow customizing labels in NavigationControl and GeolocateContr… (#959) 2019-12-18 11:32:32 -08:00
Xiaoji Chen
4af4183ee6
marker component perf (#949) 2019-12-17 17:42:36 -08:00
Xiaoji Chen
43aad9752b
Fix TransitionManager when used with deck.gl's interpolators (#956) 2019-12-16 10:56:06 -08:00
Xintong Xia
82d18af7e6
Remove overwritten dotElement from geolocate control (#944) 2019-11-22 15:06:51 -08:00
Xintong Xia
08267e7a5f
Fix geolocate control crash: attach marker when setup geo contro… (#943) 2019-11-21 21:42:26 -08:00
Xintong Xia
27cf6d1731
Fix geolocate control crash (#934) 2019-11-07 21:10:47 -08:00
Xiaoji Chen
41b4cc16b8
Fix more crashes when source/layer components are removed (#933) 2019-10-31 16:46:18 -07:00
Xiaoji Chen
f5011fe40d
Avoid mutating style objects during normalization (#926) 2019-10-29 16:14:23 -07:00
Xiaoji Chen
d1cb92dffd
Fix crash during Source component removal (#928) 2019-10-29 16:14:09 -07:00
Xiaoji Chen
734b1114be
Ignore empty mapStyle (#927) 2019-10-29 16:13:55 -07:00
Xiaoji Chen
c7d7ecfa15
fix Source component update (#923) 2019-10-28 11:53:48 -07:00
Rahul singh mawari
874e77464c fixed issue 192:fixed geolocate control bug (#914) 2019-10-25 10:41:44 -07:00
Xiaoji Chen
2c6672593c
Add React Source and Layer components (PR 1/2) (#896) 2019-09-26 11:51:06 -07:00
Hossein Moradi Davijani
5555e66c9a Add babel react preset and migrate react components to jsx (#875) 2019-09-16 11:22:56 -07:00
1chandu
645100f4c2
Viewport flyTo Interpolation: add support for auto duration and other options. (#866)
* Viewport flyTo Interpoloation: add support for auto duration, curve, speed, screenSpeed and maxDuration
2019-09-05 22:31:22 -07:00
Xiaoji Chen
a4191a99e2
remove deprecated react lifecycle methods (#863) 2019-08-12 12:40:10 -07:00
Hossein Moradi Davijani
7aa7dff0b6 React 16.9.0 deprecated lifecycles (#861) 2019-08-12 11:01:40 -07:00
Xiaoji Chen
e7fa38fc16 Add pinchcancel handler (#859) 2019-08-07 10:47:22 -06:00
Xiaoji Chen
b8e8af40d8 fix delay after clicking close button (#857) 2019-08-07 10:47:07 -06:00
Xiaoji Chen
00f685b1c0 Remove event manager properly on unmount (#847) 2019-07-15 15:10:38 -07:00
Xiaoji Chen
c9daf7fb82
Fix interaction state when using mouse wheel (#840) 2019-07-08 11:32:48 -07: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
4a90bd793f
Fix style diff warning when reusing map (#816) 2019-06-04 18:18:54 -07:00
Xiaoji Chen
c2c7f28473
Fix flow (#807) 2019-05-31 14:55:30 -07:00
Xiaoji Chen
2d6cbe32e6
Pass callbacks via MapContext (#799) 2019-05-30 10:27:22 -07:00
Xiaoji Chen
1f4f0759de
Fix transition manager tests (#798) 2019-05-29 11:46:37 -07:00