48 Commits

Author SHA1 Message Date
Xiaoji Chen
734b1114be
Ignore empty mapStyle (#927) 2019-10-29 16:13:55 -07:00
Xiaoji Chen
2c6672593c
Add React Source and Layer components (PR 1/2) (#896) 2019-09-26 11:51:06 -07:00
1chandu
645100f4c2
Viewport flyTo Interpolation: add support for auto duration and other options. (#866)
* Viewport flyTo Interpoloation: add support for auto duration, curve, speed, screenSpeed and maxDuration
2019-09-05 22:31:22 -07:00
Xiaoji Chen
2d9b93293d
5.0 release prep (#808) 2019-05-31 16:06:11 -07:00
Xiaoji Chen
2d6cbe32e6
Pass callbacks via MapContext (#799) 2019-05-30 10:27:22 -07:00
Xiaoji Chen
d70ef5323d
Update Popup sample code (#797) 2019-05-29 10:54:04 -07:00
Bartol Karuza
e0aa383ef9 typo in doc (#783) 2019-05-21 10:19:07 -07:00
Arni Sumarlidason
f2bc61b618 Custom mapbox server (#769) 2019-04-15 09:33:42 -07:00
Xiaoji Chen
bd282f9d3b
Fix synchronous redraw bug (#772) 2019-04-12 23:49:02 -07:00
Xintong Xia
1050ca49e2
Fix geolocate control marker styling (#764) 2019-03-26 01:29:16 +08:00
Xiaoji Chen
08cee6c0bb
add onNativeClick callback (#733) 2019-02-22 08:57:59 -08:00
Xintong Xia
2571193be1
add geolocate control (#724)
For #484 and #672
2019-02-20 13:23:29 +00:00
Xintong Xia
d065cb7767
add fullscreen support (#696)
* add fullscreen support
2019-02-07 21:57:29 +01:00
XiaokaiUber
71aeb8976a added new interruption mode: UPDATE (#631) 2018-11-03 23:53:44 -07:00
Xiaoji Chen
443d634604
API audit (#638) 2018-10-31 11:07:19 -07:00
Xiaoji Chen
60423f49a4
[v4.0] Add interaction callbacks (#626) 2018-10-23 14:17:36 -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
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
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
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
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
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
Kevin Donahue
d887fbc68c fix path in link to StaticMap doc in InteractiveMap doc. (#407) 2017-11-15 11:30:24 -08:00
Xiaoji Chen
38193aad83 Allow controls and overlays to block map interactions (#377) 2017-10-06 14:08:48 -07:00
Nima Boscarino
a696a50ba8 Fix Coordinates for Marker example (#315)
Switch around the Latitude and Longitude values in the example (for ReactMapGL and Marker). The current values are not a proper LatLng pair, and PerspectiveMercatorViewport.project() returns NaN values.
2017-07-25 12:41:13 -07:00
Alex Yuly
da116cf4df Update NavigationControl component docs (#320) 2017-07-16 15:01:40 -07:00
Anh Mai
dc2d3eb1af documentation polish (#295) 2017-06-28 16:17:35 -07:00
Anique
782254dd35 Update marker.md (#271) 2017-06-07 00:39:56 -07:00
Anh Mai
7f157a6120 [v3-documentation] add get started, whats new, upgrade guide; update components and utils docs (#261) 2017-05-30 19:56:23 -07:00