76 Commits

Author SHA1 Message Date
XiaokaiUber
71aeb8976a added new interruption mode: UPDATE (#631) 2018-11-03 23:53:44 -07:00
Xiaoji Chen
d7344c31b2
Examples (#647) 2018-11-02 12:14:39 -07:00
Xiaoji Chen
895ab3d5ae
v4.0 what's new and upgrade guide (#639) 2018-10-31 11:07:37 -07:00
Xiaoji Chen
443d634604
API audit (#638) 2018-10-31 11:07:19 -07:00
Xiaoji Chen
003aaa337d
Upgrade function ref to createRef (#637) 2018-10-27 15:57:48 -07:00
Xiaoji Chen
60423f49a4
[v4.0] Add interaction callbacks (#626) 2018-10-23 14:17:36 -07:00
Xiaoji Chen
64852bef94
Add map to context (#627) 2018-10-23 13:48:04 -07:00
Xiaoji Chen
b210060baa
Handle zoom center during linear transition (#625) 2018-10-18 17:20:46 -07:00
Xiaoji Chen
bb2230b19c
Add sortByDepth option to Popup component (#623) 2018-10-16 11:18:56 -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
e594cb03b9
Support relative map size (#614) 2018-10-12 13:48:26 -07:00
Xiaoji Chen
7f0909fff1
Support external GL context (#603) 2018-09-26 16:14:06 -07:00
Xiaoji Chen
cfa348fc7b
Add more interaction states (PR 2/3) (#573)
- Add `isPanning` `isRotating` and `isZooming` to interaction state
- Display current interaction state in example
2018-08-21 20:09:52 -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
3e3d277ac8
Add documentation for dev process (#566) 2018-08-07 12:44:21 -07:00
Xiaoji Chen
1642e81dae
add disableTokenWarning prop (#564) 2018-08-04 19:45:06 -07:00
Xiaoji Chen
6afc9d0132
Add fitBounds util to docs (#563) 2018-08-04 19:43:52 -07:00
Xiaoji Chen
571d9c5420
Remove immutable & use Mapbox's style diffing (#559) 2018-08-03 10:47:56 -07:00
Zack Hsi
df30d1c331 Dcoument compability with create-react-app and Typescript (#540) 2018-08-03 10:15:05 -07:00
Xiaoji Chen
0a49b84e6a
Move map visibility check to StaticMap (#548) 2018-07-19 16:05:15 -07:00
Ændrew Rininsland
8504a2a7f4 Enables extra options to be passed to mapbox-gl constructor. Fixes #545. (#546) 2018-07-19 13:51:01 -07:00
Xiaoji Chen
e3e513e0fa
Add onContextMenu prop (#529) 2018-06-13 16:07:53 -07:00
Ib Green
ca0ff1a9b3
Support onViewStateChange in InteractiveMap and NavigationControl (#518) 2018-06-13 16:03:12 -07:00
Tushar Dadlani
26f09f6ad7 Fix latitude longitude mismatch (#526) 2018-06-13 15:58:53 -07:00
Xiaoji Chen
cfe86f0b22
Add touchAction prop (#528)
For https://github.com/uber/react-map-gl/issues/506
2018-06-13 15:53:41 -07:00
Brett DeWoody
4dd86b56f8 Fix typo. (#520)
Fixes a small typo - 'croll' to 'scroll'.
2018-06-04 12:20:44 -07:00
Adam Raider
5951e3d3b8 Adds documentation on passing mapbox token as a prop (#511)
This API is available to see in the examples, but not written down in the documentation.
2018-06-04 12:20:19 -07:00
Adlen Afane
3c67155970 Fix import typo (#508)
https://facebook.github.io/immutable-js/docs/#/fromJS
2018-06-04 12:19:50 -07:00
Ib Green
583cecd0a4
reuseMap prop now applies styles. Markdown cleanup (#517) 2018-05-29 11:54:16 -07:00
Ib Green
52ef77e459
Support deck.gl style viewState prop (#492) 2018-04-05 13:32:54 -07:00
marcaaron
3bdf347629 Typo fix in state-management.md docs (#490) 2018-04-05 13:46:22 -06:00
Mohammad Hossein Sekhavat
7959af17fa Fix broken link to deck.gl (#471) 2018-03-05 10:50:57 -08:00
Chris Catignani
8366910dbd tweak styling 2018-03-01 12:33:55 -05:00
Chris Catignani
dc628e078a Add documentation for NavigationController's showCompass and showZoom options 2018-03-01 12:28:14 -05:00
Xiaoji Chen
62ac1ae951
Improve transition doc (#445) 2018-01-25 13:19:28 -08:00
Xiaoji Chen
fb3ea95dd5
update state management article (#443) 2018-01-19 13:53:56 -08:00
Xiaoji Chen
3e52aa397a
Docs polish for 3.2 release (#436) 2018-01-10 11:31:46 -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
1e6723eb79
[3.2.0] Implement touch rotate (#424) 2017-12-13 09:58:24 -08:00
Xiaoji Chen
8b2ba2dd61
Update docs for transition props (#389) 2017-11-29 10:38:06 -08:00
Xiaoji Chen
93901ce698
upgrade viewport-mercator-project (#410) 2017-11-22 10:06:46 -08:00
Kevin Donahue
d887fbc68c fix path in link to StaticMap doc in InteractiveMap doc. (#407) 2017-11-15 11:30:24 -08:00
Ikuru K
fe70f66644 Fix example result of fixBounds in upgrade-guide.md (#391) 2017-11-08 00:05:19 -08:00
Xiaoji Chen
ffbffb5c73 Update What's New with 3.1 features (#387) 2017-10-20 12:53:47 -07:00
Xiaoji Chen
32d0972226 Fix MapControls regression (#386)
- Register additional events with the event manager
- Update docs
2017-10-20 12:38:18 -07:00
rilyu
d87cd1ee19 Update custom-map-controls.md (#380) 2017-10-12 13:55:07 -07:00
Xiaoji Chen
38193aad83 Allow controls and overlays to block map interactions (#377) 2017-10-06 14:08:48 -07:00
Ib Green
611d082599 Bump mapbox to 0.40.1 (#372) 2017-10-04 14:01:04 -07:00
Ib Green
05312660ee Package.json changes to support React 16 (#357) 2017-10-04 13:27:35 -07:00