460 Commits

Author SHA1 Message Date
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
88cc434fa8 4.0.0-alpha.1 2018-08-14 12:26:25 -07:00
David Schnurr
489d33832b
Mapbox webpack resolver no longer needed in examples (#577) 2018-08-13 11:26:53 -07:00
David Schnurr
9c302ae840
Add drag and drop support for Marker (#576) 2018-08-13 11:23:44 -07:00
David Schnurr
f28fb6f881
Fix npm start command for development (#575) 2018-08-10 13:01:46 -07:00
David Schnurr
41d73e8459 Fix npm start command for development 2018-08-10 11:56:32 -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
1238140a5d
fix capture* props for overlay components (#565) 2018-08-04 19:45:28 -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
Xiaoji Chen
49f503ec02 Fix queryRenderedFeatures (#560) 2018-08-03 10:15:05 -07:00
Zack Hsi
df30d1c331 Dcoument compability with create-react-app and Typescript (#540) 2018-08-03 10:15:05 -07:00
Wesam Manassra
a10aadf088 Upgrade Mapbox-GL-JS to 0.47 2018-07-23 11:15:45 -07:00
Xiaoji Chen
750ca789ad
bump math.gl version (#549) 2018-07-19 16:09:27 -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
Ib Green
9a8cf1df6e v3.3.0-alpha.5 v3.3.0-alpha.5 2018-06-25 17:15:59 -07:00
Xiaoji Chen
eab9e2a05c
Fix captureClick in popup component (#532)
https://github.com/uber/react-map-gl/issues/304

- Handle `capture*` prop change
- Fix the issue where `captureClick` does not work on Popup components if click results in closing the popup
2018-06-18 16:17:38 -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
Xiaoji Chen
0a53f27bd3
bump mapbox version (#530) 2018-06-13 15:59:11 -07:00
Tushar Dadlani
26f09f6ad7 Fix latitude longitude mismatch (#526) 2018-06-13 15:58:53 -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
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
Ib Green
fb36bb891e
Log react-map-gl version number (#524) 2018-06-11 08:09:33 -07:00
Xiaoji Chen
b5e2c7fab9 3.3.0-alpha.4 2018-06-04 16:12:14 -07:00
Xiaoji Chen
af748a029d
automatically load mapbox stylesheet (#522) 2018-06-04 16:04:15 -07:00
Xiaoji Chen
42a024c366
fix mapbox wrapper viewstate support (#521) 2018-06-04 14:12:36 -07:00
Irakli Safareli
b9d8b9e568 Add missing check for onChangeViewport in transition-manager (#513) 2018-06-04 14:12:22 -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
faf1f958d0 v3.3.0-alpha.3 v3.3.0-alpha.3 2018-05-30 08:59:54 -07:00
Ib Green
583cecd0a4
reuseMap prop now applies styles. Markdown cleanup (#517) 2018-05-29 11:54:16 -07:00
Ib Green
b8f935e9cf
Update main example to babel-loader@8 (#503) 2018-04-18 14:43:28 -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
Xiaoji Chen
75bb86b3be 3.3.0-alpha.2 2018-04-17 08:57:21 -07:00
Ib Green
4aff71465b
Introduce babel 7 (#495) 2018-04-06 09:18:43 -07:00
Ib Green
8fc7fd6694
Break mapbox-gl import (#494) 2018-04-05 13:34:55 -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
Ib Green
f772a04ee5 v3.3.0-alpha.1 2018-03-29 12:32:28 -07:00
Ib Green
00f4d1b724
New build system. es6 dist. webpack 4. (#489) 2018-03-29 12:29:30 -07:00