132 Commits

Author SHA1 Message Date
Xiaoji Chen
bb085ba217
Split exports into separate endpoints (#2178) 2023-05-31 16:38:12 -07:00
Xiaoji Chen
9a5339f357
Remove defaultProps and displayName (#2173) 2023-05-09 12:27:05 -07:00
Xiaoji Chen
048cb2099d
Fix rendering bug using terrain (#1841) 2022-04-21 11:49:13 -07:00
Xiaoji Chen
230fdaa60f
[chore] Improve documentations; fix lint warnings (#1732) 2022-02-07 16:51:32 -08:00
Xiaoji Chen
00b42800b3 [v7] Add mapLib API (#1703) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
c1c9c290f4 [v7] Support inline styling for all components (#1702) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
ebf64a767c [v7] Bug fixes (#1673) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
6e859b007e Fix resize synchronization (#1670) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
a338e2b918 [v7] support global settings with MapProps (#1668) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
6cbfb048df [v7] Clean up typings and expose more utility types (#1667) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
55ce87d3f7 [v7] Update examples (#1659) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
a488f36296 [v7] Add Layer and Source (#1657) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
971c02f1ca [v7] Control components (#1656) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
1d1d562f73 [v7] Marker and Popup (#1655) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
5b674be3c4 [v7] Map component (#1652) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
170217280e Typescript dev setup 2022-01-26 18:16:31 -08:00
Kuro
5ea0a1008f
Update map-state.d.ts (#1626) 2021-12-28 14:01:25 -08:00
Xiaoji Chen
8adebc9ac2
Avoid invoking viewport updates when clamped at minZoom/maxZoom (#1564) 2021-09-07 09:44:41 -07:00
Cody Taylor
c324720c5d
Improves type definitions. Adds exports (#1534) 2021-07-28 14:52:37 -07:00
Xiaoji Chen
b1c74be56b
Support Mapbox terrain (#1483) 2021-06-04 16:22:24 -07:00
Xiaoji Chen
520a4991d7
Remove extra props in GeolocateControl callback (#1480) 2021-06-04 13:43:52 -07:00
Slexom
631f395fbb
fix: typo in PositionType value (#1444) 2021-05-03 15:13:54 -07:00
Jamie
592789941e
Improve typescript bindings (#1369) 2021-02-25 13:57:09 -08:00
Xiaoji Chen
595c7d9070
Block transition on initial mount (#1367) 2021-02-23 20:03:54 -08:00
Maxim
fe4daf617d
Improve Typescript types definitions (#1333) 2021-02-08 11:54:10 -08:00
Xiaoji Chen
45b2627217
Consistent onViewportChange events on map resize (#1335) 2021-02-06 11:04:45 -08:00
Xiaoji Chen
b7d641ba90
Set scrollZoom.smooth default to false (#1321) 2021-02-02 10:27:29 -08:00
Xiaoji Chen
9183c409a9
Fix SSR warning (#1310) 2021-01-29 09:52:51 -08:00
Xiaoji Chen
f47444c966
Controller inertia (#1303) 2021-01-22 14:54:11 -08:00
Xiaoji Chen
53390c916f
Smooth zoom on scroll (#1288) 2021-01-11 11:09:11 -08:00
Xiaoji Chen
d043b08e15
Refactor StaticMap and InteractiveMap into functional components (#1271) 2020-12-29 10:50:55 -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
ae6aef4714
6.0 release prep (#1263) 2020-12-16 20:43:50 -08:00
Xiaoji Chen
9ea2a301a9
Fix dynamic position tests (#1255) 2020-12-10 12:49:12 -08:00
Eric Soroos
c072d088a0
Fix dynamic position offscreen (#1253) 2020-12-10 11:23:11 -08:00
Xiaoji Chen
aae80369ed
Move controls to functional component (#1242)(#1243)(#1244)(#1245) 2020-12-05 13:28:10 -08: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
Grady Kuhnline
9dec821920
Fix issue where translate by partial pixels causes blurry rendering (#1039) 2020-02-25 09:13:24 -08:00
Xiaoji Chen
c570c2f73a
Re-export setRTLTextPlugin plugin (#1010) 2020-01-29 11:24:02 -08:00
Xiaoji Chen
a71cdf9ba2
Export WebMercatorViewport (#979) 2020-01-06 15:21:02 -08:00
Xiaoji Chen
28f0b6e01a
Fix React state update warning (#968) 2019-12-30 15:22:31 -08:00
Xiaoji Chen
f73b467d81
Fix control icons when used with mapbox-gl@>=1.6 (#967) 2019-12-30 10:25:16 -08:00
Xiaoji Chen
43aad9752b
Fix TransitionManager when used with deck.gl's interpolators (#956) 2019-12-16 10:56:06 -08:00
Xiaoji Chen
f5011fe40d
Avoid mutating style objects during normalization (#926) 2019-10-29 16:14:23 -07:00
Xiaoji Chen
2c6672593c
Add React Source and Layer components (PR 1/2) (#896) 2019-09-26 11:51:06 -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
e7fa38fc16 Add pinchcancel handler (#859) 2019-08-07 10:47:22 -06:00