339 Commits

Author SHA1 Message Date
Maxim
1335567775 Improve Typescript types definitions (#1333) 2021-02-08 14:25:00 -08:00
Xiaoji Chen
c54efb987e Fix usage with function refs (#1339) 2021-02-07 10:10:54 -08:00
Xiaoji Chen
0a26431f62 Consistent onViewportChange events on map resize (#1335) 2021-02-07 10:10:48 -08:00
Maxim
38281748aa Fix stale Marker children (#1332) 2021-02-07 10:10:42 -08:00
Xiaoji Chen
14a19722ea Fix props reference on viewport resize (#1328) 2021-02-03 17:03:23 -08:00
Xiaoji Chen
71dd9af830 Update InteractiveMap prop types (#1324) 2021-02-02 10:54:21 -08:00
Xiaoji Chen
d6fbf2a246 Set scrollZoom.smooth default to false (#1321) 2021-02-02 10:53:59 -08:00
wheredoesyourmindgo
358e5205cb Add Typescript Types to interactive-map (#1320) 2021-02-02 10:52:58 -08:00
Xiaoji Chen
8198f8df08 Fix bug where getMap() at component mount returns null (#1319) 2021-02-01 11:38:03 -08:00
wheredoesyourmindgo
07c11c4d59 Fix Typescript Types for Viewport Constraints Type (#1318)
error (#1315)
2021-02-01 11:37:57 -08:00
Antje
8c924f30cd Add attribution control to typescript index exports (#1314) 2021-02-01 11:37:49 -08:00
Xiaoji Chen
19fb23e80d Fix SSR warning (#1310) 2021-01-29 10:02:19 -08:00
Kenton Gray
59f78da9cb Impremove Type Definitions (#1308) 2021-01-29 10:02:07 -08:00
Xiaoji Chen
ffb88d41e0
Add eventRecognizerOptions prop (#1302) 2021-01-22 14:54:28 -08:00
Xiaoji Chen
f47444c966
Controller inertia (#1303) 2021-01-22 14:54:11 -08:00
Xiaoji Chen
386984d3e7
Misc component bug fixes (#1301)
* more geolocate control bug fixes

* InteractiveMap should catch all query failures
2021-01-20 08:06:00 -08:00
Xiaoji Chen
844bca9c18
Update deckgl-overlay example (#1298) 2021-01-15 14:50:45 -08:00
Xiaoji Chen
067edda9b6
Align control component APIs (#1297) 2021-01-15 13:09:55 -08:00
Xiaoji Chen
be79b2f6d8
Minor fixes to GeolocateControl (#1296) 2021-01-15 12:53:13 -08:00
Xiaoji Chen
4cc662d0f2
Add AttributionControl (#1295) 2021-01-15 12:52:26 -08:00
Xiaoji Chen
53390c916f
Smooth zoom on scroll (#1288) 2021-01-11 11:09:11 -08:00
Xiaoji Chen
a830ba10b6
Defer onInteractionStateChange callback (#1287) 2021-01-08 10:26:42 -08:00
Xiaoji Chen
95ae3e4d79
Prevent overlay container from scrolling on focus (#1286) 2021-01-06 19:17:07 -08:00
Xiaoji Chen
19ab7398b0
Fix no token warning message (#1289) 2021-01-06 19:16:48 -08:00
Xiaoji Chen
850ae97d54
Clean up and document MapContext and useMapControl APIs (#1278) 2021-01-04 19:22:32 -08:00
Xiaoji Chen
5f32dcae6e
Fix React error when transition is triggered (#1277) 2021-01-02 18:46:42 -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
elliotwutingfeng
45555af4d6
Add support for 'sky' layer type to Layer component (#1270) 2020-12-21 09:49:35 -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
6adfb09d15
Fix bug where Source does not render its children on first render (#1250) 2020-12-08 18:28:14 -08:00
Xiaoji Chen
aae80369ed
Move controls to functional component (#1242)(#1243)(#1244)(#1245) 2020-12-05 13:28:10 -08:00
Xiaoji Chen
b54bb1618d
Elevate map to top-level MapContext (#1233) 2020-11-26 16:34:33 -08:00
Xiaoji Chen
2503013e42
Safe check layer props (#1225) 2020-11-16 10:28:03 -08:00
Xiaoji Chen
ded6af3734
Safety check before calling cloneElement (#1219) 2020-11-04 11:55:32 -08:00
Xiaoji Chen
363c143c64
Fix user location dot offset (#1220) 2020-11-04 11:55:07 -08:00
Marcus Williams
57eddad939
Add capturePointerMove to NavigationControl (#1215) 2020-11-04 11:06:10 -08:00
wllrd
507fab7a60
Use valid fill-extrusion value for layer type (#1199) 2020-11-04 10:57:36 -08:00
Xiaoji Chen
f98c70e082
Add label prop to FullscreenControl (#1197) 2020-10-07 20:14:49 -07:00
Xiaoji Chen
8542be946a
Fix IE compatibility (#1195) 2020-10-07 20:10:42 -07:00
Xiaoji Chen
180100ac31
Support updating vector source (#1196) 2020-10-07 20:10:02 -07:00
makeupsomething
98fbcddfc8
Add types for layer type and source-layer (#1192) 2020-10-07 19:31:18 -07:00
Cody Taylor
5dcddc969c
Fix for layout and paint diffing logic (#1194) 2020-10-07 16:29:56 -07:00
Xiaoji Chen
53973368c0
Replace react resizer with ResizeObserver (#1174) 2020-09-08 10:21:12 -07:00
Xiaoji Chen
ca9b8ab916
Always rerender overlay after map initialization (#1172) 2020-09-01 12:37:11 -07:00
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