160 Commits

Author SHA1 Message Date
Yuri Astrakhan
91dd5a29eb Fix maplibre get started (#2256) 2023-08-17 18:57:48 -07:00
Xiaoji Chen
4c187eddd8 Update links in docs and examples 2023-06-30 11:37:38 -07:00
Xiaoji Chen
54cb0e50d7
Update examples for v7.1 (#2192) 2023-06-05 20:28:35 -07:00
Xiaoji Chen
51a6a2c8f1
Make mapbox-gl an optional dependency (#2175) 2023-05-13 20:07:47 -07:00
Xiaoji Chen
9357a0bca9
Use vite to run examples (#2172) 2023-05-08 19:43:12 -07:00
Xiaoji Chen
80409dd4a7
Add callback to useControl hook (#1952) 2022-08-18 12:13:28 -07:00
Xiaoji Chen
268b59849e
Update deckgl-overlay example (#1887) 2022-06-13 18:52:15 -07:00
Xiaoji Chen
d84d111dd1
Properly remove source on component unmount (#1866) 2022-05-23 11:02:20 -07:00
Xiaoji Chen
8c9886f750
Upgrade dev dependency to React 18 (#1865) 2022-05-19 22:10:15 -07:00
Xiaoji Chen
b2bdb9148a
Use published types in geocoder and draw examples (#1838) 2022-04-21 11:58:54 -07:00
Xiaoji Chen
2e49a545c8
More robust add/remove condition checks (#1840) 2022-04-21 11:58:22 -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
d22618a9ad
Update code and docs for useControl generic type (#1762) 2022-02-21 12:44:23 -08:00
Xiaoji Chen
25b82adf26
[chore] Update examples config (#1738) 2022-02-09 11:31:14 -08:00
Xiaoji Chen
230fdaa60f
[chore] Improve documentations; fix lint warnings (#1732) 2022-02-07 16:51:32 -08:00
Xiaoji Chen
f7ebcb871d
Fix custom overlay example (#1718) 2022-02-05 13:54:53 -08:00
Xiaoji Chen
2e441482b0
Update get-started examples (#1716) 2022-02-04 17:49:22 -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
195251848e Add side-by-side example (#1692) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
e2f82a8eb8 Add custom overlay example (#1691) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
aa910e2c67 Add geocoder example (#1690) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
6e859b007e Fix resize synchronization (#1670) 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
d1f473e867 Drop flow types support (#1666) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
61e1d2b8ff Update example deps version (#1665) 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
55ce87d3f7 [v7] Update examples (#1659) 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
e8a754e4a9 [v7] Update examples to use new Map component (#1654) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
170217280e Typescript dev setup 2022-01-26 18:16:31 -08:00
Xiaoji Chen
f96184e910
Add maplibre example (#1560) 2021-09-06 11:25:17 -07:00
Xiaoji Chen
227afdbdcd
Add terrain example (#1495) 2021-06-07 11:08:23 -07: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
850ae97d54
Clean up and document MapContext and useMapControl APIs (#1278) 2021-01-04 19:22:32 -08:00
Xiaoji Chen
d043b08e15
Refactor StaticMap and InteractiveMap into functional components (#1271) 2020-12-29 10:50:55 -08:00
Xiaoji Chen
e7f1cc61fc
Migrate examples to functional components (#1273) 2020-12-28 11:57:50 -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
aae80369ed
Move controls to functional component (#1242)(#1243)(#1244)(#1245) 2020-12-05 13:28:10 -08:00
Anurag Kyal
4ecc5bf8e8
[geolocate] fix auto when location blocked (#1126) 2020-06-05 13:22:09 -07:00
Xintong Xia
38da9e31da
examples: fix draw polygon examples (#1092) 2020-05-01 12:52:25 -07:00
1chandu
b59942c53b
Update github links (#1078) 2020-04-18 18:53:55 -07:00
David Vanoni
6fa913270c
Fix usage of useState update function in examples (#1049) 2020-03-26 09:56:11 -07:00
Bogdan Chadkin
1c42df0ba2
Migrate to import * as React from 'react' (#1038) 2020-02-25 08:04:09 -08:00