77 Commits

Author SHA1 Message Date
Xiaoji Chen
ffb88d41e0
Add eventRecognizerOptions prop (#1302) 2021-01-22 14:54:28 -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
a830ba10b6
Defer onInteractionStateChange callback (#1287) 2021-01-08 10:26:42 -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
Xiaoji Chen
d043b08e15
Refactor StaticMap and InteractiveMap into functional components (#1271) 2020-12-29 10:50:55 -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
b54bb1618d
Elevate map to top-level MapContext (#1233) 2020-11-26 16:34:33 -08:00
Bogdan Chadkin
1c42df0ba2
Migrate to import * as React from 'react' (#1038) 2020-02-25 08:04:09 -08:00
Xiaoji Chen
28f0b6e01a
Fix React state update warning (#968) 2019-12-30 15:22:31 -08:00
Hossein Moradi Davijani
5555e66c9a Add babel react preset and migrate react components to jsx (#875) 2019-09-16 11:22:56 -07:00
1chandu
645100f4c2
Viewport flyTo Interpolation: add support for auto duration and other options. (#866)
* Viewport flyTo Interpoloation: add support for auto duration, curve, speed, screenSpeed and maxDuration
2019-09-05 22:31:22 -07:00
Xiaoji Chen
a4191a99e2
remove deprecated react lifecycle methods (#863) 2019-08-12 12:40:10 -07:00
Hossein Moradi Davijani
7aa7dff0b6 React 16.9.0 deprecated lifecycles (#861) 2019-08-12 11:01:40 -07:00
Xiaoji Chen
00f685b1c0 Remove event manager properly on unmount (#847) 2019-07-15 15:10:38 -07:00
Xiaoji Chen
c2c7f28473
Fix flow (#807) 2019-05-31 14:55:30 -07:00
Xiaoji Chen
2d6cbe32e6
Pass callbacks via MapContext (#799) 2019-05-30 10:27:22 -07:00
Xintong Xia
1da1398c06
Upgrade dev tools to ocular (#780) 2019-05-07 20:49:08 -07:00
Xiaoji Chen
08cee6c0bb
add onNativeClick callback (#733) 2019-02-22 08:57:59 -08:00
Xiaoji Chen
1e96af8fb4
Consolidate InteractiveContext and StaticContext into one (#718) 2019-02-07 14:35:36 -08:00
Xintong Xia
d065cb7767
add fullscreen support (#696)
* add fullscreen support
2019-02-07 21:57:29 +01:00
Karl-Aksel Puulmann
973bfc4c2c Don't query interactive layer ids before map has loaded (#708) 2019-01-27 12:40:16 -08:00
Matt Harker
97e2f31b22 Cache the interactive context to prevent context thrashing (#664) 2018-11-28 15:32:30 -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
Xiaoji Chen
6d96107661
various bug fixes (#648) 2018-11-02 08:21:23 -07:00
David Schnurr
c1b880ab06
Fix usage of map ref in interactive-map (#645) 2018-11-01 16:36:49 +00:00
Xiaoji Chen
fb2fe2bac2 4.0.0-beta.4 2018-10-31 18:16:07 -07:00
Xiaoji Chen
443d634604
API audit (#638) 2018-10-31 11:07:19 -07:00
Xiaoji Chen
003aaa337d
Upgrade function ref to createRef (#637) 2018-10-27 15:57:48 -07:00
Xiaoji Chen
60423f49a4
[v4.0] Add interaction callbacks (#626) 2018-10-23 14:17:36 -07:00
Xiaoji Chen
91550c7c18
Remove usage of deprecated interactive properties in map styles (#621) 2018-10-13 21:27:47 -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
28c38848f0
Upgrade to new React context API (#613) 2018-10-10 15:50:50 -07:00
Xiaoji Chen
0c289423f5
use class properties for binding (#598) 2018-09-24 12:36:44 -07:00
Xiaoji Chen
fbdcbf3891
Expose interaction state to callbacks (#571)
- add `onInteractionStateChange` callback
- expose interaction states (e.g. `isDragging`) to `onViewStateChange`/`onViewportChange` callbacks.
2018-08-09 15:28:09 -07:00
Xiaoji Chen
49f503ec02 Fix queryRenderedFeatures (#560) 2018-08-03 10:15:05 -07:00
Xiaoji Chen
0a49b84e6a
Move map visibility check to StaticMap (#548) 2018-07-19 16:05:15 -07:00
Xiaoji Chen
e3e513e0fa
Add onContextMenu prop (#529) 2018-06-13 16:07:53 -07:00
Ib Green
ca0ff1a9b3
Support onViewStateChange in InteractiveMap and NavigationControl (#518) 2018-06-13 16:03:12 -07:00
Xiaoji Chen
cfe86f0b22
Add touchAction prop (#528)
For https://github.com/uber/react-map-gl/issues/506
2018-06-13 15:53:41 -07:00
Xiaoji Chen
c6551f099d
upgrade to latest dependencies (#505) 2018-04-18 13:48:34 -07:00
Balthazar Gronon
f420faab64 Manually bind methods (#463) 2018-03-08 11:39:19 -08:00
Jonas Jensen
c78fba17d1 Add this._map sanity check in getMap() (#454) 2018-02-04 10:55:44 -08:00
1chandu
62beb5d61c
Fix deprecation warning (#430) 2017-12-21 16:56:55 -08:00
Xiaoji Chen
1e6723eb79
[3.2.0] Implement touch rotate (#424) 2017-12-13 09:58:24 -08:00
Xiaoji Chen
d08aca4f6a
Fix eventManager error on map unmount (#419) 2017-12-06 12:11:26 -08:00
Xiaoji Chen
9c4dd206ed
remove double render hack (#418) 2017-12-04 18:58:37 -08:00