Xiaoji Chen
4459ff0aab
Fix interaction state when using mouse wheel ( #840 )
2019-07-08 11:36:27 -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
Xiaoji Chen
1517ec8c06
Remove console error when drag distance is larger than map width/height ( #398 )
2017-11-07 16:30:55 -08:00
Xiaoji Chen
d316e77004
Right button drag to rotate ( #381 )
...
* right button drag to rotate
* disable drag rotate on controls
* fix prop type warnings
2017-10-13 10:10:13 -07:00
Xiaoji Chen
38193aad83
Allow controls and overlays to block map interactions ( #377 )
2017-10-06 14:08:48 -07:00
Ib Green
05312660ee
Package.json changes to support React 16 ( #357 )
2017-10-04 13:27:35 -07:00
Xiaoji Chen
e5457f3671
Match viewport to Mapbox at low zoom levels ( #317 )
2017-07-12 16:20:30 -07:00
Xiaoji Chen
9492b6cbe8
Remove fitBounds util ( #278 )
2017-06-14 10:23:03 -07:00
Anh Mai
ba811d5842
bump mapbox-gl to 0.37.0; remove postinstall.js and postinstall script ( #260 )
2017-05-30 16:20:50 -07:00
Xiaoji Chen
9e0b9d760d
Add fitBounds util ( #256 )
2017-05-25 22:13:01 -07:00
Xiaoji Chen
148cabe705
Fix EventManager import under node ( #252 )
2017-05-24 15:52:01 -07:00
Xiaoji Chen
4a6164daa0
New EventManager ( #244 )
...
* use hammerjs as event manager
* support touch in main example
2017-05-17 14:57:16 -07:00
Xiaoji Chen
da23dde556
Popup control ( #227 )
2017-05-05 10:50:47 -07:00
Xiaoji Chen
593fa67ca6
Improve MapState class and tests ( #223 )
...
- `MapControl` takes a `MapState` instance instead of list of viewport props
- Always return a new `MapState` object after transform
- Better naming of properties and methods
- Code consistency and error checking
- Tests cover more use cases
2017-05-03 12:35:24 -07:00
Xiaoji Chen
7ef7b19860
Separating input events and semantic transform in map control ( #212 )
2017-05-02 17:39:14 -07:00
Ib Green
4868ef89d3
Revert to babel transpilation, remove JSX from overlays
2017-03-27 15:33:55 -07:00
Ib Green
49124f33ef
* Added new custom-interactions example
...
* Add pressKeyToRotate prop
* Support pitch > 60
* Build system updates
2017-03-24 14:37:22 -07:00
Anh Mai
d28d5cb432
Fix flow build process
...
Fix unit tests. README updates. Add browser tests
Adapt exhibits for react-map-gl
2017-03-24 14:37:00 -07:00
Ib Green
05cc1f163d
ES6 tests now run untranspiled in Node.js ( #172 )
...
* ES6 tests now run directly in Node.js.
* Create `examples` folder to contain multiple standalone examples.
* Fix precommit hook
2017-03-07 14:56:26 -08:00
Ib Green
fa4ae3ffbb
Buble+webpack2 ( #169 )
...
* Compile with buble and bundle with webpack
* Reduce number of dependencies
* Support for tree-shaking
* Standalone, easy-to-understand example with small package.json
* Tests now work under Node.js even when loading mapbox-gl.
* Fix travis config
2017-03-07 14:55:57 -08:00
Balthazar Gronon
ecdc2bf115
Add onLoad event handler
2017-01-06 18:46:14 -08:00
Xiaoji Chen
c2ee160637
add test case for getInteractiveLayerIds
2016-09-27 16:25:42 -07:00
Ib Green
52fefd7f9a
Add fitBounds test
2016-08-22 16:48:52 -07:00