Xiaoji Chen
349f3b5894
Set up flow ( #651 )
2018-11-05 11:02:52 -08:00
XiaokaiUber
71aeb8976a
added new interruption mode: UPDATE ( #631 )
2018-11-03 23:53:44 -07:00
Xiaoji Chen
6d96107661
various bug fixes ( #648 )
2018-11-02 08:21:23 -07:00
Xiaoji Chen
443d634604
API audit ( #638 )
2018-10-31 11:07:19 -07:00
Xiaoji Chen
b210060baa
Handle zoom center during linear transition ( #625 )
2018-10-18 17:20:46 -07:00
Xiaoji Chen
91550c7c18
Remove usage of deprecated interactive properties in map styles ( #621 )
2018-10-13 21:27:47 -07:00
Bogdan Chadkin
f045fabc32
Provide static browser/node targets ( #599 )
...
* Provide static browser/node targets
Ref
https://github.com/uber/react-map-gl/issues/557
https://github.com/uber-web/mjolnir.js/pull/22
* Upgrade mjolnir dependency
2018-09-29 16:00:41 -07:00
Bogdan Chadkin
aeed2db249
Remove commonjs from globals ( #592 )
2018-09-12 14:47:44 -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
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
571d9c5420
Remove immutable & use Mapbox's style diffing ( #559 )
2018-08-03 10:47:56 -07:00
Xiaoji Chen
49f503ec02
Fix queryRenderedFeatures ( #560 )
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
Ib Green
ca0ff1a9b3
Support onViewStateChange in InteractiveMap and NavigationControl ( #518 )
2018-06-13 16:03:12 -07:00
John Conway
cfb63e0e6b
Add support for use in electron environments ( #525 )
...
When running code inside electron browser windows, process.browser is undefined. This adds is-electron.js to check if the environment is running inside an electron browser window with nodeIntegration set to true which is a valid browser environment.
See:
https://github.com/uber/luma.gl/blob/master/src/utils/is-electron.js
https://github.com/uber/luma.gl/blob/master/src/utils/is-browser.js
https://github.com/cheton/is-electron
https://github.com/electron/electron/issues/2288
2018-06-13 15:58:30 -07:00
Irakli Safareli
b9d8b9e568
Add missing check for onChangeViewport in transition-manager ( #513 )
2018-06-04 14:12:22 -07:00
Xiaoji Chen
c6551f099d
upgrade to latest dependencies ( #505 )
2018-04-18 13:48:34 -07:00
Xiaoji Chen
046285078c
code style ( #502 )
2018-04-17 12:42:34 -07:00
Xiaoji Chen
7e2c66a702
add transition props to map state ( #500 )
2018-04-17 12:21:51 -07:00
Luke
be4489f3d1
handle source removal without layer removal ( #477 )
2018-04-17 12:21:34 -07:00
Xiaoji Chen
86de1a2f3e
Fix source options comparison ( #501 )
2018-04-17 12:20:25 -07:00
Ib Green
78cbd18223
Remove use of external assert module ( #487 )
2018-03-29 08:57:18 -07:00
Balthazar Gronon
f420faab64
Manually bind methods ( #463 )
2018-03-08 11:39:19 -08:00
Xiaoji Chen
125a5d3a6d
Fix resizing bug ( #455 )
2018-02-05 14:32:03 -08:00
Xiaoji Chen
62d5586304
explicitly set transition props in mapControls ( #440 )
2018-01-10 14:52:47 -08:00
Xiaoji Chen
46d1d42763
Clean up MapState class ( #437 )
2018-01-10 10:02:21 -08:00
Xiaoji Chen
31d552ce71
Upgrade dependencies to prod versions ( #435 )
2018-01-09 15:25:50 -08:00
Xiaoji Chen
4d575ac6fd
Remove immutable.js dependency ( #433 )
2018-01-06 18:55:27 -08:00
Xiaoji Chen
1e6723eb79
[3.2.0] Implement touch rotate ( #424 )
2017-12-13 09:58:24 -08:00
Xiaoji Chen
4d06d10db9
should not set layerIds when querying unknown mapStyle ( #423 )
2017-12-09 16:07:46 -08:00
Xiaoji Chen
8c4128b65f
Port TransitionManager from dekc.gl ( #411 )
...
* Port TransitionManager from dekc.gl
* transition tests
* rename ViewportFlyToInterpolator to FlyToInterpolator
* export interpolation utils as non-experimental
2017-11-29 10:37:22 -08:00
Xiaoji Chen
93901ce698
upgrade viewport-mercator-project ( #410 )
2017-11-22 10:06:46 -08:00
Xiaoji Chen
1517ec8c06
Remove console error when drag distance is larger than map width/height ( #398 )
2017-11-07 16:30:55 -08:00
Xiaoji Chen
25c3b795ba
Port TransitionManager from deck.gl ( #383 )
2017-10-21 17:48:06 -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
Xiaoji Chen
47b105ad08
add keyboard support ( #382 )
2017-10-13 18:44:29 -07:00
Xiaoji Chen
d316e77004
Right button drag to rotate ( #381 )
...
* right button drag to rotate
* disable drag rotate on controls
* fix prop type warnings
2017-10-13 10:10:13 -07:00
Xiaoji Chen
38193aad83
Allow controls and overlays to block map interactions ( #377 )
2017-10-06 14:08:48 -07:00
Ib Green
8e77bcad33
New reusable map class integrated with StaticMap React component ( #361 )
2017-09-24 16:48:52 -07:00
Ib Green
a4b4d12ad9
Break out remaining diff style code from StaticMap ( #367 )
2017-09-24 16:29:48 -07:00
Xiaoji Chen
645fec8479
Import EventManager from mjolnir.js ( #355 )
2017-09-10 17:13:06 -07:00
Eric Socolofsky
f5aa19d97d
Fix getter mock -- should not return ref to manager instance. ( #349 )
2017-08-09 17:00:50 -07:00
gsf-smclamb
2ece7fb39a
Add missing methods to mock manager. ( #348 )
2017-08-09 14:58:01 -07:00
Xiaoji Chen
03a24f1f42
Fix scale for map affected by a CSS transform ( #346 )
2017-08-08 18:51:06 -07:00
Xiaoji Chen
8c558ff4ff
Interaction bug fixes ( #332 )
...
- Fix pinch zoom
- Fix bug where wheel scrolling is blocked when `onViewportChange` is null
2017-07-27 10:36:11 -07:00
Xiaoji Chen
e5457f3671
Match viewport to Mapbox at low zoom levels ( #317 )
2017-07-12 16:20:30 -07:00
Xiaoji Chen
e73cceea5f
Add/remove event handlers based on user setting ( #308 )
...
- Disable recognizers in `EventManager.off` if no more handlers are attached
- Let `MapControls` manage its own events by passing in the `EventManager` instance
- Use a new MapControls instance per map
2017-07-10 12:52:28 -07:00
Xiaoji Chen
96e81ac1d7
update event manager ( #283 )
2017-06-27 10:31:01 -07:00
Xiaoji Chen
9492b6cbe8
Remove fitBounds util ( #278 )
2017-06-14 10:23:03 -07:00
John Deerhake
8d03ba7c48
Change pan event listener to move specific panmove ( #272 )
2017-06-09 10:57:19 -07:00