12 Commits

Author SHA1 Message Date
Thomas Forrer
1625df150d use 'changedTouches' for 'touchend'/'touchcancel' events (#164)
closes #139
2016-12-29 16:31:40 -08:00
Ib Green
190dc3d575 Remove mapbox Point dependency from map-interactions. (#161)
* Remove mapbox Point dependency from map-interactions. Update eslint settings. Use static for propTypes.

* Update examples

* Address review feedback. Update propTypes in example layers.
2016-12-20 14:07:29 -08:00
Balthazar Gronon
1996d1bccb
Propagate wheel event
Closes #85.
2016-12-06 15:16:57 -08:00
Yang Wang
28d0b33b67 use command | shift | ctrl | alt to enable perspective mode 2016-10-28 17:21:58 -07:00
Xiaoji Chen
06e31235fa Fix bug where onClickFeatures is fired after dragging (#133)
* Fix bug where onClickFeatures is fired after panning and rotating
* Rename dragged to didDrag
2016-10-09 10:35:56 -07:00
Cam Manderson
1f658d938e Pushes touch events back to map.react.js. Maps those touch events to mouse behaviour 2016-07-23 15:12:32 +10:00
Cam Manderson
d2bcbe4b72 Adds in touch events to fire corresponding mouse events 2016-07-23 14:57:05 +10:00
Ib Green
64d11620b0 Add testron based testing
Add autobind-decorator to dependencies
Remove projectionMatrix from map state
Use tape-catch instead of tape for tests.
2016-06-22 07:35:43 -07:00
Ib Green
8ae5e20c78 ES6/JSX port.
Examples running under ES6
Remove dist folder from git repo
Support for React 14 in tests. Add envify to tests.
Add props for bearing and pitch
Ensure map.resize() happens after render()
Added resize handling to examples
Add CHANGELOG
Ensure onChangeViewport is called on resize and with fresh projectionMatrix in onMouseRotate
Specify a version range for react.
Fix example overlay imports and remove map style batching per mapbox-gl 0.18
Updating mabox-gl to 0.20
Use tape-catch
2016-06-21 14:35:13 -07:00
Drew Bollinger
3d034f43c0 Remove ReactDOM.findDOMNode calls from src
Per the react docs, this use case is discouraged and can be
replaced with the ref itself. It also allows the removal of
ReactDOM from the src require statements

https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode
2015-11-24 15:41:33 -05:00
Victor Powell
cf576ae3c3 Upgrade React to 0.14.x 2015-10-11 19:35:03 -07:00
Victor Powell
d8047648ea open source 2015-10-07 18:27:07 -07:00