118 Commits

Author SHA1 Message Date
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
Xiaoji Chen
c9daf7fb82
Fix interaction state when using mouse wheel (#840) 2019-07-08 11:32:48 -07:00
Xiaoji Chen
c2c7f28473
Fix flow (#807) 2019-05-31 14:55:30 -07:00
Xiaoji Chen
1f4f0759de
Fix transition manager tests (#798) 2019-05-29 11:46:37 -07:00
Xintong Xia
1da1398c06
Upgrade dev tools to ocular (#780) 2019-05-07 20:49:08 -07:00
Xintong Xia
2571193be1
add geolocate control (#724)
For #484 and #672
2019-02-20 13:23:29 +00:00
Xiaoji Chen
cc4c3cf94b
Remove excessive fields from NavigationControl's callback argument (#702) 2019-01-25 09:44:11 -08:00
Xiaoji Chen
f01b1954da
Fix map controller class extensibility (#674) 2018-12-06 13:49:30 -08:00
Xiaoji Chen
ed3df886fe
Remove math.gl from dependencies (#666) 2018-12-04 12:07:16 -08:00
Xiaoji Chen
73515e71f1
Bump maxZoom support to 24 (#659) 2018-11-14 11:29:12 -08:00
Xiaoji Chen
349f3b5894 Set up flow (#651) 2018-11-05 11:02:52 -08:00
XiaokaiUber
71aeb8976a added new interruption mode: UPDATE (#631) 2018-11-03 23:53:44 -07:00
Xiaoji Chen
6d96107661
various bug fixes (#648) 2018-11-02 08:21:23 -07:00
Xiaoji Chen
443d634604
API audit (#638) 2018-10-31 11:07:19 -07:00
Xiaoji Chen
b210060baa
Handle zoom center during linear transition (#625) 2018-10-18 17:20:46 -07:00