55 Commits

Author SHA1 Message Date
Francisco Pérez Sampayo
109c334bdf
Change fog and terrain types to match Mapbox types. (#2106) 2023-01-21 14:46:36 -08:00
Joe Duncko
6e250f2877
Fix small typo in map.md (#2014) 2022-11-14 09:20:07 -08:00
Xiaoji Chen
a49b4e4fa0
Update event callback documentation (#1954) 2022-08-18 12:13:43 -07:00
Xiaoji Chen
80409dd4a7
Add callback to useControl hook (#1952) 2022-08-18 12:13:28 -07:00
Xiaoji Chen
1c391281a1
Fix Popup and GeolocateControl under React StrictMode (#1836) 2022-04-21 11:57:42 -07:00
Xiaoji Chen
74671ec92c
Update docs (#1796)
Co-authored-by: Kyle Barron <kyle@unfolded.ai>
2022-03-07 13:37:38 -08:00
Xiaoji Chen
b6b3b4755e
useMap() returns current map (#1763) 2022-03-01 17:46:36 -08:00
Xiaoji Chen
b48c0a040a
Add onClick callback to Marker (#1761) 2022-02-21 17:13:55 -08:00
Xiaoji Chen
d22618a9ad
Update code and docs for useControl generic type (#1762) 2022-02-21 12:44:23 -08:00
Xiaoji Chen
c435e16d6a
Add reuseMaps prop (#1730) 2022-02-07 16:49:02 -08:00
Antoine Pultier
8dfbfe783a
[Doc] Fix Popup example (#1726) 2022-02-07 14:23:36 -08:00
Xiaoji Chen
7fda9e0ba9
Fix broken links in docs (#1724) 2022-02-06 12:07:47 -08:00
Andrea Amorosi
22d31d1ced
fix: set default maxPitch to 60 (#1720) 2022-02-06 10:36:17 -08:00
Xiaoji Chen
c8f0a2d680 Update dependencies and links 2022-02-04 17:35:08 -08:00
Xiaoji Chen
e61a1f079c
Format and styling fixes for v7 website (#1714) 2022-02-04 16:34:41 -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
3c1cd56b81 Improve typing (#1695) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
e46021e5c3 [v7] Fix AttributionControl prop typo (#1679) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
6e0e011a51 [v7] Update MapRef (#1674) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
e4cc369d9a [v7] Add fog, light, terrain props (#1669) 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
c0e6775973 Documentation pass (#1664) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
3f200a0bfe [v7] utility hooks (#1663) 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
00e3208ac0 [v7] Map documentation (#1653) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
170217280e Typescript dev setup 2022-01-26 18:16:31 -08:00
Ahmed Tarek
a3d5dba152
add support for style prop in Marker (#1696) 2022-01-25 11:56:40 -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
e07d865fe0
Clarify default export in documentation TOC (#1566) 2021-09-07 09:44:51 -07:00
Grant Hutchins
9ed9ebf103
Add missing quote in InteractiveMap documentation (#1416) 2021-03-26 12:48:28 +01:00
Xiaoji Chen
b7d641ba90
Set scrollZoom.smooth default to false (#1321) 2021-02-02 10:27:29 -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
67e2be73e4
Documentation pass (#1299) 2021-01-17 09:52:59 -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
850ae97d54
Clean up and document MapContext and useMapControl APIs (#1278) 2021-01-04 19:22:32 -08:00
Xiaoji Chen
1a04635ba6
Update code samples in documentation to use functional components (#1280) 2020-12-30 10:42:54 -08:00
Xiaoji Chen
ae6aef4714
6.0 release prep (#1263) 2020-12-16 20:43:50 -08:00
Xiaoji Chen
aae80369ed
Move controls to functional component (#1242)(#1243)(#1244)(#1245) 2020-12-05 13:28:10 -08:00
Xiaoji Chen
f98c70e082
Add label prop to FullscreenControl (#1197) 2020-10-07 20:14:49 -07:00
Andrew DeChristopher
ba454a475e
Update geolocate-control.md (#1183) 2020-09-23 10:51:05 -07:00
Bence Knáb
8a1cdd26b9
Add docs about how to use an empty base map (#1180) 2020-09-16 22:37:24 -07:00
Anurag Kyal
1fc8044384
[geolocate] better docs for auto prop (#1125) 2020-06-05 13:21:34 -07:00
Anurag Kyal
120f55efe3
[Geolocate] Auto trigger when component loads (#1116)
Co-authored-by: Anurag Kyal <anurag.kyal@snapchat.com>
2020-06-04 11:50:35 -07:00