19 Commits

Author SHA1 Message Date
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
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
Victor Powell
53c21b7fd9 Add framework for adding tests. Rename MapboxGLMap to MapGL. Fix repo link. 2015-10-10 18:13:36 -07:00