74 Commits

Author SHA1 Message Date
Xiaoji Chen
f47444c966
Controller inertia (#1303) 2021-01-22 14:54:11 -08:00
Xiaoji Chen
da2158c952
Add flow and typescript test apps (#1272) 2020-12-28 11:56:05 -08:00
Xiaoji Chen
d2617870a3
Resolve prettier conflict (#1274) 2020-12-21 10:35:11 -08:00
Xiaoji Chen
ae6aef4714
6.0 release prep (#1263) 2020-12-16 20:43:50 -08:00
Xiaoji Chen
9ea2a301a9
Fix dynamic position tests (#1255) 2020-12-10 12:49:12 -08:00
Eric Soroos
c072d088a0
Fix dynamic position offscreen (#1253) 2020-12-10 11:23:11 -08:00
Xiaoji Chen
7c44444a20
Upgrade website (#1137)
* Upgrade website

* fix CI
2020-07-03 18:48:31 -07:00
Xiaoji Chen
1ed8b3ce8a
More robust render tests on CI (#1121) 2020-06-03 15:39:03 -07:00
Bogdan Chadkin
1c42df0ba2
Migrate to import * as React from 'react' (#1038) 2020-02-25 08:04:09 -08:00
Xiaoji Chen
c570c2f73a
Re-export setRTLTextPlugin plugin (#1010) 2020-01-29 11:24:02 -08:00
Xiaoji Chen
5bed923456
Upgrade render test (#1009) 2020-01-29 08:47:12 -08:00
Xiaoji Chen
f73b467d81
Fix control icons when used with mapbox-gl@>=1.6 (#967) 2019-12-30 10:25:16 -08:00
Xiaoji Chen
ec129a09b2
fix render test (#958) 2019-12-16 14:28:49 -08:00
Xintong Xia
27cf6d1731
Fix geolocate control crash (#934) 2019-11-07 21:10:47 -08:00
Xiaoji Chen
41b4cc16b8
Fix more crashes when source/layer components are removed (#933) 2019-10-31 16:46:18 -07:00
Xiaoji Chen
f5011fe40d
Avoid mutating style objects during normalization (#926) 2019-10-29 16:14:23 -07:00
Xintong Xia
bf6788edaa
Fix render test (#917) 2019-10-24 17:03:19 -07:00
Xiaoji Chen
2c6672593c
Add React Source and Layer components (PR 1/2) (#896) 2019-09-26 11:51:06 -07: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
c9daf7fb82
Fix interaction state when using mouse wheel (#840) 2019-07-08 11:32:48 -07:00
Xiaoji Chen
3e77f2a76e Add render tests (#828) 2019-07-02 10:50:36 -07:00
Xiaoji Chen
f19d24edea
Dev tools setup (#803) 2019-05-31 13:32:47 -07:00
Xiaoji Chen
1f4f0759de
Fix transition manager tests (#798) 2019-05-29 11:46:37 -07:00
Xintong Xia
1da1398c06
Upgrade dev tools to ocular (#780) 2019-05-07 20:49:08 -07:00
Xintong Xia
41e8db1533
loose TransitionManager test criteria (#755) 2019-03-14 13:23:12 +08:00
Xiaoji Chen
1e96af8fb4
Consolidate InteractiveContext and StaticContext into one (#718) 2019-02-07 14:35:36 -08:00
Xiaoji Chen
cb173b0ac4
Fix main example dependencies (#679) 2018-12-18 10:09:59 -08:00
Xiaoji Chen
ed3df886fe
Remove math.gl from dependencies (#666) 2018-12-04 12:07:16 -08:00
Xiaoji Chen
349f3b5894 Set up flow (#651) 2018-11-05 11:02:52 -08:00
Xiaokai Li
0bbff933fc Fixed unreliable test cases due to float precion ($654) 2018-11-05 11:02:23 -08:00
XiaokaiUber
71aeb8976a added new interruption mode: UPDATE (#631) 2018-11-03 23:53:44 -07:00
Xiaoji Chen
b210060baa
Handle zoom center during linear transition (#625) 2018-10-18 17:20:46 -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
d3dd7b1803
Fix test-browser (#617) 2018-10-12 16:18:33 -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
David Schnurr
9c302ae840
Add drag and drop support for Marker (#576) 2018-08-13 11:23: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
0a49b84e6a
Move map visibility check to StaticMap (#548) 2018-07-19 16:05:15 -07:00
Ib Green
00f4d1b724
New build system. es6 dist. webpack 4. (#489) 2018-03-29 12:29:30 -07:00
Ib Green
9ca4310c27
Test directory reorganization (#488) 2018-03-29 10:52:15 -07:00
Xiaoji Chen
46d1d42763
Clean up MapState class (#437) 2018-01-10 10:02:21 -08:00
Xiaoji Chen
300327f5dd
Fix browser test (#432) 2018-01-04 12:16:59 -08:00
Collin Donahue-Oponski
0aa18ee7ae Add transformRequest prop to map components. (#426)
* Add map prop/option `transformRequest`.

* Upgrade sinon package to webpack-compatible version.

* Fix test for map onLoad prop.

* Add test for new Map prop `transformRequest`.

* Document and cleanup new `tranformRequest` prop on Map component.
2017-12-19 00:54:34 -08:00
Xiaoji Chen
4d06d10db9
should not set layerIds when querying unknown mapStyle (#423) 2017-12-09 16:07:46 -08:00
Xiaoji Chen
8c4128b65f
Port TransitionManager from dekc.gl (#411)
* Port TransitionManager from dekc.gl

* transition tests

* rename ViewportFlyToInterpolator to FlyToInterpolator

* export interpolation utils as non-experimental
2017-11-29 10:37:22 -08:00
Ivan Starkov
128f72f769 Fix of Interactive map always needs a double render to render children (#413) 2017-11-27 14:07:53 -08:00
Xiaoji Chen
93901ce698
upgrade viewport-mercator-project (#410) 2017-11-22 10:06:46 -08:00