363 Commits

Author SHA1 Message Date
Xiaoji Chen
4dd506ce36 Avoid invoking viewport updates when clamped at minZoom/maxZoom (#1564) 2021-09-07 10:09:19 -07:00
Maxim
45df508157 Fix stale onLoad and onError event handlers (#1505) 2021-09-07 10:09:05 -07:00
Ayumu Nozawa
1df23d22c5 Fix to not save to savedMap when reuseMaps is false (#1555) 2021-09-07 10:09:05 -07:00
Cody Taylor
34195926bf Improves type definitions. Adds exports (#1534) 2021-09-07 10:08:33 -07:00
Xiaoji Chen
c046ca07c4 Support Mapbox terrain (#1483) 2021-06-04 16:42:26 -07:00
mikeslemmer
8bf50d483e Making features available to onMouseEnter. This fixes issue 1473 (#1474) 2021-06-04 16:42:26 -07:00
Terence Tuhinanshu
0d902d4860 Prevent attribution button from submitting forms (#1477) 2021-06-04 16:42:26 -07:00
Xiaoji Chen
18a3d71aae Remove extra props in GeolocateControl callback (#1480) 2021-06-04 16:42:26 -07:00
Xiaoji Chen
5dc8b23163 Only block scrolling on the overlay container itself (#1465) 2021-05-12 12:44:29 -07:00
povder
5a39b8a69b Fix return type of Layer function (#1453) 2021-05-10 13:44:19 -07:00
Xiaoji Chen
79e2f9b5fb Safety check before unprojection (#1452) 2021-05-10 13:44:19 -07:00
Xiaoji Chen
308dbd7de8 Work around for pointermove event on hidden map (#1450) 2021-05-03 15:33:07 -07:00
Slexom
cde435face fix: typo in PositionType value (#1444) 2021-05-03 15:33:07 -07:00
Xiaoji Chen
d5bd80a8ea Fix FullScreenControl container (#1430) 2021-04-12 21:05:32 -07:00
Amber L Chen
066dd60009 Add promoteId as a source prop (#1398) 2021-04-12 21:05:32 -07:00
Jamie
c2a7423686 Remove usage of labelled tuples (#1426) 2021-04-12 21:05:32 -07:00
Víctor Velarde
4b5c343033 Ensure source exists before trying to remove it (#1417)
Co-authored-by: Tom Fenech <tomjwfenech@gmail.com>
2021-03-26 18:58:13 +01:00
Jamie
ad19c49151 Improve typescript bindings (#1369) 2021-02-26 16:37:46 +01:00
Xiaoji Chen
ca0d554f70 Block transition on initial mount (#1367) 2021-02-26 16:36:54 +01:00
Xiaoji Chen
1c658223d0 Export MapContext and _useMapControl types (#1362) 2021-02-20 23:45:57 -08:00
Dean Chen
0b04d0f215 Fix missing source-layer param in LayerProps (#1358) 2021-02-16 11:01:31 -08:00
Xiaoji Chen
28faf58964 Fix pointer event normalization when using viewState (#1355) 2021-02-16 11:01:24 -08:00
Arni Sumarlidason
f2454bf576 fix popup::onReactClick params (#1348) 2021-02-10 18:27:54 -08:00
Xiaoji Chen
b081a453d9 Fix react error when Source has no children (#1341) 2021-02-08 14:25:06 -08:00
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