63 Commits

Author SHA1 Message Date
Xiaoji Chen
e7fff52bd4
Fix handling of initial cursor value (#1737) 2022-02-09 11:30:59 -08:00
Xiaoji Chen
230fdaa60f
[chore] Improve documentations; fix lint warnings (#1732) 2022-02-07 16:51:32 -08:00
Xiaoji Chen
c435e16d6a
Add reuseMaps prop (#1730) 2022-02-07 16:49:02 -08:00
Xiaoji Chen
00b42800b3 [v7] Add mapLib API (#1703) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
6db0d53413 Refactor Mapbox class (#1701) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
3c1cd56b81 Improve typing (#1695) 2022-01-26 18:16:35 -08:00
Xiaoji Chen
f93bf48e91 [v7] Fix synchronization during transition (#1675) 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
ebf64a767c [v7] Bug fixes (#1673) 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
6cbfb048df [v7] Clean up typings and expose more utility types (#1667) 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
a488f36296 [v7] Add Layer and Source (#1657) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
5b674be3c4 [v7] Map component (#1652) 2022-01-26 18:16:34 -08:00
Xiaoji Chen
170217280e Typescript dev setup 2022-01-26 18:16:31 -08:00
Xiaoji Chen
630186185c
Fix crash in React 18 StrictMode (#1680) 2022-01-10 20:01:07 -08:00
Derek Ellis
cb05a5324b
Omit container prop on mapOptions in types (#1603) 2021-11-15 15:14:46 -08: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
Maxim
fe4daf617d
Improve Typescript types definitions (#1333) 2021-02-08 11:54:10 -08:00
Xiaoji Chen
d043b08e15
Refactor StaticMap and InteractiveMap into functional components (#1271) 2020-12-29 10:50:55 -08:00
Xiaoji Chen
65e3242680
Migrate to TypeScript: initial commit (#1268) 2020-12-21 09:58:10 -08:00
Xiaoji Chen
8542be946a
Fix IE compatibility (#1195) 2020-10-07 20:10:42 -07:00
Xiaoji Chen
28f0b6e01a
Fix React state update warning (#968) 2019-12-30 15:22:31 -08:00
Xiaoji Chen
4a90bd793f
Fix style diff warning when reusing map (#816) 2019-06-04 18:18:54 -07:00
Xintong Xia
1da1398c06
Upgrade dev tools to ocular (#780) 2019-05-07 20:49:08 -07:00
Arni Sumarlidason
f2bc61b618 Custom mapbox server (#769) 2019-04-15 09:33:42 -07:00
Xiaoji Chen
bd282f9d3b
Fix synchronous redraw bug (#772) 2019-04-12 23:49:02 -07:00
Xiaoji Chen
661ce6dc2f
fix synchronous redraw (#736) 2019-02-22 08:59:21 -08:00
Xiaoji Chen
bd85a56e48
Force map rerender synchronously after props update (#720) 2019-02-11 13:33:43 -08:00
Xintong Xia
030c223654
Deregister mapbox events listeners when destroy map (#723) 2019-02-09 20:16:14 +01:00
Xiaoji Chen
f3a71f7228 Improve reuse map example 2019-01-28 12:15:55 -08:00
Joe Jiang
e2f7efcbe2 Bug fix: implement onLoad event calling when reuseMaps is set to true (#704) 2019-01-27 21:38:23 -08:00
Karl-Aksel Puulmann
c33dc49e40 Attach a default onError handler, logging to console.error (#706) 2019-01-27 12:10:52 -08:00
Xiaoji Chen
7d233cfb1b
Disable console logging of package version (#688) 2019-01-11 09:54:51 -08:00
Xiaoji Chen
fadff6a3e9
Fix crash when viewState does not contain pitch or bearing (#671) 2018-12-04 15:39:50 -08:00
Xiaoji Chen
73515e71f1
Bump maxZoom support to 24 (#659) 2018-11-14 11:29:12 -08:00
Xiaoji Chen
349f3b5894 Set up flow (#651) 2018-11-05 11:02:52 -08:00
Xiaoji Chen
f036614fb9 API audit round 2 (#652) 2018-11-05 11:02:52 -08:00
Stefan Dobrev
6dec476043 Add support for Create React App access token environment variable (#633) 2018-10-26 22:06:41 -07:00
Xiaoji Chen
8b75b1ed81
Bug fixes for auto-resize mode (#619) 2018-10-13 19:55:50 -07:00
Xiaoji Chen
e594cb03b9
Support relative map size (#614) 2018-10-12 13:48:26 -07:00
Xiaoji Chen
7f0909fff1
Support external GL context (#603) 2018-09-26 16:14:06 -07:00
Xiaoji Chen
c670f09977
Fix: Stylesheet check (#601)
`mapboxgl-missing-css` was removed in 0.46.0
2018-09-26 16:12:43 -07:00
Ændrew Rininsland
8504a2a7f4 Enables extra options to be passed to mapbox-gl constructor. Fixes #545. (#546) 2018-07-19 13:51:01 -07:00
Ib Green
ca0ff1a9b3
Support onViewStateChange in InteractiveMap and NavigationControl (#518) 2018-06-13 16:03:12 -07:00
Ib Green
fb36bb891e
Log react-map-gl version number (#524) 2018-06-11 08:09:33 -07:00