369 Commits

Author SHA1 Message Date
Xiaoji Chen
e4b44c3fed
Fix unprojection when using terrain (#1620) 2021-12-06 19:49:00 -08:00
Derek Ellis
cb05a5324b
Omit container prop on mapOptions in types (#1603) 2021-11-15 15:14:46 -08:00
Christian Moen
89eb8a309f
Add showUserHeading to GeolocateControl (#1580) 2021-09-24 09:02:18 -07:00
Xiaoji Chen
f413ef8aa8
Fix Popup closeOnClick behavior (#1565) 2021-09-07 09:45:48 -07:00
Xiaoji Chen
896d2ac604
Improve typing (#1568) 2021-09-07 09:45:20 -07:00
Xiaoji Chen
5607700a21
Remove double onClick invocation in useMapControl (#1567) 2021-09-07 09:45:03 -07:00
Xiaoji Chen
8adebc9ac2
Avoid invoking viewport updates when clamped at minZoom/maxZoom (#1564) 2021-09-07 09:44:41 -07:00
Maxim
376dc5cc08
Fix stale onLoad and onError event handlers (#1505) 2021-09-06 11:26:05 -07:00
Ayumu Nozawa
e21500aec9
Fix to not save to savedMap when reuseMaps is false (#1555) 2021-09-06 11:25:05 -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
mikeslemmer
bca28cbf36
Making features available to onMouseEnter. This fixes issue 1473 (#1474) 2021-06-04 14:15:54 -07:00
Terence Tuhinanshu
55a5d596d4
Prevent attribution button from submitting forms (#1477) 2021-06-04 13:49:13 -07:00
Xiaoji Chen
520a4991d7
Remove extra props in GeolocateControl callback (#1480) 2021-06-04 13:43:52 -07:00
Xiaoji Chen
132e8390de
Only block scrolling on the overlay container itself (#1465) 2021-05-12 12:36:23 -07:00
povder
fcee28fe36
Fix return type of Layer function (#1453) 2021-05-10 13:38:16 -07:00
Xiaoji Chen
9689961331
Safety check before unprojection (#1452) 2021-05-06 12:01:32 -07:00
Xiaoji Chen
20d86a40e8
Work around for pointermove event on hidden map (#1450) 2021-05-03 15:14:15 -07:00
Slexom
631f395fbb
fix: typo in PositionType value (#1444) 2021-05-03 15:13:54 -07:00
Xiaoji Chen
272cb868bb
Fix FullScreenControl container (#1430) 2021-04-12 19:48:44 -07:00
Amber L Chen
86fe772293
Add promoteId as a source prop (#1398) 2021-04-12 19:48:15 -07:00
Jamie
3cd3eaf761
Remove usage of labelled tuples (#1426) 2021-04-11 17:35:43 -07:00
Víctor Velarde
406d85e9c0
Ensure source exists before trying to remove it (#1417)
Co-authored-by: Tom Fenech <tomjwfenech@gmail.com>
2021-03-26 12:58:35 +01: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
Xiaoji Chen
539f18074b
Export MapContext and _useMapControl types (#1362) 2021-02-20 23:37:53 -08:00
Dean Chen
abd0bc7d4e
Fix missing source-layer param in LayerProps (#1358) 2021-02-16 10:51:35 -08:00
Xiaoji Chen
dcd45ca6f9
Fix pointer event normalization when using viewState (#1355) 2021-02-16 10:51:21 -08:00
Arni Sumarlidason
7cd359ea14
fix popup::onReactClick params (#1348) 2021-02-10 14:49:33 -08:00
Xiaoji Chen
bdddc49805
Fix react error when Source has no children (#1341) 2021-02-08 14:19:24 -08:00
Maxim
fe4daf617d
Improve Typescript types definitions (#1333) 2021-02-08 11:54:10 -08:00
Xiaoji Chen
4afe90b4ee
Fix usage with function refs (#1339) 2021-02-06 18:30:43 -08:00
Xiaoji Chen
45b2627217
Consistent onViewportChange events on map resize (#1335) 2021-02-06 11:04:45 -08:00
Maxim
53d0a1b81b
Fix stale Marker children (#1332) 2021-02-05 11:39:40 -08:00
Xiaoji Chen
3c58d1197e
Fix props reference on viewport resize (#1328) 2021-02-03 16:55:22 -08:00
Xiaoji Chen
deb4303fcb
Update InteractiveMap prop types (#1324) 2021-02-02 10:42:43 -08:00
Xiaoji Chen
b7d641ba90
Set scrollZoom.smooth default to false (#1321) 2021-02-02 10:27:29 -08:00
wheredoesyourmindgo
3575f8df70
Add Typescript Types to interactive-map (#1320) 2021-02-01 13:39:24 -08:00
Xiaoji Chen
d2be80e93a
Fix bug where getMap() at component mount returns null (#1319) 2021-02-01 11:27:36 -08:00
wheredoesyourmindgo
005878dc2f
Fix Typescript Types for Viewport Constraints Type (#1318)
error (#1315)
2021-02-01 10:45:19 -08:00
Antje
516e447cfe
Add attribution control to typescript index exports (#1314) 2021-02-01 10:45:03 -08:00
Xiaoji Chen
9183c409a9
Fix SSR warning (#1310) 2021-01-29 09:52:51 -08:00
Kenton Gray
7d2b56e242
Impremove Type Definitions (#1308) 2021-01-29 09:22:28 -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