202 Commits

Author SHA1 Message Date
Ib Green
b4b5c9b5e8 Fix test browser script (#216) 2017-05-01 09:43:35 -07:00
Xiaoji Chen
b26c6521c1 Fix various map control bugs (#211)
- Smooth rotation
- Smooth pan
- Zoom around mouse position
2017-04-27 00:14:23 -07:00
Joe Duncan
8f62ae6089 use prop-types package (#206) 2017-04-17 10:40:00 -07:00
Eric Socolofsky
6e3a934613 On npm start, install example deps if not already installed. (#208)
* On `npm start`, install example deps if not already installed.
Fixes #207.

* dep -> devdep
2017-04-12 09:37:30 -07:00
Ib Green
21a6c21e30 Remove imports of global module (#204)
* Remove imports of global module
2017-03-29 16:56:00 -07:00
Ib Green
4518b64adc Add pressKeyToRotate prop to new MapControls (#202)
* Fix pressKeyToRotate

* Additional transpilation fixes
2017-03-27 17:25:53 -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
da55fffe07 remove d3-selection and extra example map (#189)
* remove d3-selection

* remove extra example map
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
72a0324cb8 Component split (#170)
* StaticMap and InteractiveMap separates event handling concerns from map display concerns.
2017-03-07 14:57:37 -08: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
Anh Mai
76455325aa v2.0.2 2017-02-09 17:58:42 -08:00
Anh Mai
2d50a48415 run flow remove types in javascript through postinstall.js (#192) 2017-02-09 17:52:30 -08:00
Anh Mai
4dda7293ed update package.json engines to reflect new node and npm requirements (#188)
* update package.json engines to reflect new node and npm requirements

* remove x
2017-01-27 01:38:43 -08:00
Anh Mai
cbfca042e8 update to mapbox-gl 0.32.1 2017-01-26 15:22:35 -08:00
Anh Mai
cea06a1342 v2.0.1 2017-01-24 11:57:42 -08:00
Anh Mai
1715a7a360 update postinstall script to use less linux commands 2017-01-24 11:54:35 -08:00
Anh Mai
fe35df517f v2.0.0 2017-01-17 13:53:08 -08:00
Anh Mai
ed4f7aef3d update mapbox-gl to 0.31.0 2017-01-13 13:39:22 -08:00
Anh Mai
ff4f3dc1a3 add postinstall script to remove flow annotation from mapbox code 2017-01-13 13:39:22 -08:00
Anh Mai
8dc905cc6a update to mapbox-gl 0.29.0; add maxZoom as a prop (#171)
* update to mapbox-gl 0.29.0; add maxZoom as a prop

* revert to array convention for startDragLntLat and convert to object where needed
2017-01-08 15:15:30 -08:00
Xiaoji Chen
454747f0a0 bump up babel-preset-stage-2 version to avoid build errors (#166)
* bump up babel-core and presets versions to avoid build errors
* match `npm start` port to that in the `README`
2017-01-03 18:21:48 -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
Yang Wang
ad808bed84 1.7.2 2016-10-28 18:02:02 -07:00
Xiaoji Chen
a62c69bacc 1.7.1 2016-10-18 17:05:02 -07:00
Xiaoji Chen
4ec7651143 use mapbox 0.26 2016-10-18 17:04:54 -07:00
Xiaoji Chen
33be625e35 1.7.0 2016-10-10 13:36:47 -07:00
Ib Green
a8eef84d4a 1.6.1 2016-09-21 15:09:03 -07:00
Ib Green
f5ea55bfe1 1.6.0 2016-09-21 12:01:41 -07:00
Xiaoji Chen
0309a5179c update mapbox-gl to 0.24.0 (#127) 2016-09-20 15:50:48 -07:00
Xiaoji Chen
555db37b6b Change cursor to pointer when hovering over interactive features (#126)
* change cursor to pointer over interactive features
* bump bower version and fix grab cursor in blink browsers
2016-09-20 11:58:16 -07:00
Ib Green
133040747a 1.5.0 2016-09-09 15:23:02 -07:00
Ib Green
6d7802451e 1.4.2 2016-08-23 14:38:20 -07:00
Ib Green
ad3b12126b Remove alphaify 2016-08-23 14:20:42 -07:00
Ib Green
d3e9d312fc 1.4.1 2016-08-23 10:11:48 -07:00
Ib Green
f1cb6b170c Bump alphaify 2016-08-23 10:11:36 -07:00
Ib Green
cfd3226f99 Restore package.json version 2016-08-22 17:48:10 -07:00
Ib Green
480262ac08 Introduce d3 v4 micro modules. Move utilities to utils directory 2016-08-22 13:50:52 -07:00
Anh Mai
ae60861c65 1.3.0 2016-08-15 12:12:53 -07:00
Ib Green
37f79405c8 1.2.0 2016-07-28 15:44:49 -07:00
Ib Green
d304222d06 1.1.2 2016-07-20 14:57:07 -07:00
Ib Green
b5a03e0cf5 1.1.1 2016-07-20 14:57:07 -07:00
Ib Green
73e855fc6f Bump mapbox to v0.21.0 2016-07-20 14:55:27 -07:00
Ib Green
e82448fb68 1.1.0 2016-07-20 14:43:20 -07:00
Ib Green
6de3a668e3 Bump version to v1.0.0 2016-07-05 09:44:48 -07:00
Ib Green
5bbc1d4fd3 Add testron dependency 2016-06-22 07:40:57 -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