222 Commits

Author SHA1 Message Date
Anh Mai
76455325aa v2.0.2 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 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
ea36250cae fix typo in pitch calculation (#185) 2017-01-24 08:04:41 -08:00
Anh Mai
fe35df517f v2.0.0 v2.0.0 2017-01-17 13:53:08 -08:00
voby
ec8192b454 Typo fix in draggable-points overlay (#178) 2017-01-13 13:44:55 -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
Ib Green
383a45ff54 Update README.md with more info on Webpack 2017-01-10 08:42:07 -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
Balthazar Gronon
ecdc2bf115
Add onLoad event handler 2017-01-06 18:46:14 -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
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
Jonathan Warning
b4e46055c6 Ensure fitBounds doesn't return NaN zoom value (#159) 2016-12-09 15:24:28 -06:00
Anh Mai
1761a2ccd9 Merge pull request #158 from uber/propagate-wheel
Propagate wheel event
2016-12-06 16:10:28 -08:00
Balthazar Gronon
1996d1bccb
Propagate wheel event
Closes #85.
2016-12-06 15:16:57 -08:00
Anh Mai
9e8eff21a1 Merge pull request #140 from forrert/onclick
Adds `onClick` prop handler
2016-12-06 14:45:14 -08:00
Jonathan Warning
37fca99708 Add project method to HTML Overlay (#104) 2016-12-05 13:20:29 -08:00
Balthazar Gronon
49d7cd6b49 Merge pull request #155 from Apercu/readme-updates
Refactor and fix readme
2016-12-05 12:01:52 -08:00
Balthazar Gronon
a3db7d5d69
Refactor and fix readme 2016-12-02 18:16:51 -08:00
Yang Wang
ad808bed84 1.7.2 2016-10-28 18:02:02 -07:00
Yang Wang
df3dd2867e Merge pull request #146 from uber/perspective-shortcut
use command | shift | ctrl | alt to enable perspective mode
2016-10-28 17:56:53 -07:00
Yang Wang
4ac4e07348 update change log 2016-10-28 17:46:52 -07:00
Yang Wang
28d0b33b67 use command | shift | ctrl | alt to enable perspective mode 2016-10-28 17:21:58 -07:00
Thomas Forrer
e9bcc7a0d5 add onClick prop handler
adds a property `onClick` that allows adding a handler
to be called with the coordinates when the map is clicked.

refs #49
2016-10-21 23:07:16 -07:00
Thomas Forrer
12033a1755 add example to demonstrate click events 2016-10-21 22:05:24 -07:00
Xiaoji Chen
a62c69bacc 1.7.1 v1.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
8a80a2db1d Update changelog for 1.7.0 2016-10-10 13:41:35 -07:00
Xiaoji Chen
33be625e35 1.7.0 v1.7.0 2016-10-10 13:36:47 -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
Xiaoji Chen
c2ee160637 add test case for getInteractiveLayerIds 2016-09-27 16:25:42 -07:00
Xiaoji Chen
c5dd69982c Provide a way to control per-layer interactivity (#131)
* queryRenderedFeatures only check layers with style prop interactive: true
* query all layers if no interactive layer is found
* update JSDoc for onHoverFeatures and onClickFeatures
2016-09-27 16:11:09 -07:00
Ib Green
a8eef84d4a 1.6.1 v1.6.1 2016-09-21 15:09:03 -07:00
Ib Green
f6f41633de CHANGELOG 1.6.1 2016-09-21 15:08:36 -07:00
tsemerad
59944409ef fixed GeoJSONSource updating, broken when upgrading from mapbox-gl v0.21.0 to v0.22.0 (#128) 2016-09-21 18:05:34 -04:00
Ib Green
f5ea55bfe1 1.6.0 v1.6.0 2016-09-21 12:01:41 -07:00
Ib Green
db777e0de7 CHANGELOG updates for 1.6 2016-09-21 12:01:36 -07:00
Ib Green
b509d59192 Merge pull request #124 from alseageo/efficient-geojson-update
update data if no other GeoJSONSource options changed - prevents flicker
2016-09-21 14:50:56 -04:00
Xiaoji Chen
c5722a140c Handle unsupported browsers (#125)
Exposes mapbox-gl's supported() API; prevent errors when mapbox is unsupported.
2016-09-20 16:04:18 -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
Tanner Semerad
f046279210 update data if no other GeoJSONSource options changed - prevents flicker 2016-09-15 14:37:46 -07:00
Ib Green
1c6ef04e9f Update CHANGELOG 2016-09-09 15:23:36 -07:00
Ib Green
133040747a 1.5.0 2016-09-09 15:23:02 -07:00
Ib Green
96c35dbd65 Merge pull request #101 from cammanderson/master
Adds in touch support
2016-09-09 15:21:06 -07:00