575 Commits

Author SHA1 Message Date
Xiaoji Chen
e594cb03b9
Support relative map size (#614) 2018-10-12 13:48:26 -07:00
Xiaoji Chen
2a279fc93e 4.0.0-alpha.3 2018-10-11 12:58:17 -07:00
Xiaoji Chen
28c38848f0
Upgrade to new React context API (#613) 2018-10-10 15:50:50 -07:00
Bogdan Chadkin
7a3ba94fc9 Fix browser targets (#610) 2018-10-04 12:10:49 -07:00
Xiaoji Chen
806cc44eb5
Fix webpack issues in examples (#609) 2018-10-04 11:15:18 -07:00
Xiaoji Chen
703a582353 4.0.0-alpha.2 2018-10-03 18:05:56 -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
Xiaoji Chen
7f0909fff1
Support external GL context (#603) 2018-09-26 16:14:06 -07:00
Xiaoji Chen
c670f09977
Fix: Stylesheet check (#601)
`mapboxgl-missing-css` was removed in 0.46.0
2018-09-26 16:12:43 -07:00
Xiaoji Chen
5810b7632f
Fix start-local for examples (#600) 2018-09-24 15:58:43 -07:00
Will Fisher
1db9a2b4d2 Small typo in example (#584) 2018-09-24 12:39:50 -07:00
Xiaoji Chen
0c289423f5
use class properties for binding (#598) 2018-09-24 12:36:44 -07:00
Xiaoji Chen
78830f130e
Upgrade examples build systems (#597) 2018-09-24 12:22:20 -07:00
Xiaoji Chen
07cac14326
Upgrade build system (#596) 2018-09-21 14:19:07 -07:00
Bogdan Chadkin
0a19b48438 Remove minify to make the code debuggable (#593) 2018-09-14 16:15:20 -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
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