Victor Powell
0587d6760c
Use a size of 15 instead of 5 for onClickFeatures callback.
2016-03-31 17:04:31 -07:00
Victor Powell
c9a6dd0a11
Fix onClickFeatures to use the new map.queryRenderedFeatures.
2016-03-31 16:59:52 -07:00
Anh Mai
b5fe3cf457
actually defaults to true
2016-03-14 11:29:30 -07:00
Anh Mai
86e041fa99
expose a prop to allow onHoverFeatures callback to be called when there are no features under x,y
2016-03-14 11:18:13 -07:00
Chris Chua
a052accafc
Free up resource on unmount
2016-03-01 19:46:31 -08:00
Victor
a3e12e81f3
Merge pull request #48 from AndyMoreland/fix-batch-style-changes
...
Fix bug in batched source/layer updates
2016-02-29 10:48:48 -08:00
Kuvakin Sergey
1219f20227
updated deps
2016-02-20 00:53:49 +03:00
Andy Moreland
a1e28ad509
Fix bug in batched source/layer updates
...
_setDiffStyle called map.batch but didn't use the "style_batch" argument
that it receives in order to batch updates to layers and sources. This
caused one "_broadcastLayers" call in mapbox-gl per changed source or layer,
which is very slow in some cases.
2016-02-04 15:27:22 -08:00
Victor Powell
e63b9552b7
Add an option to opt out of style diffing. Add a style diffing example.
2016-01-26 14:08:18 -08:00
Victor Powell
3616b42e6b
Fix a bug preventing DraggablePointsOverlay from properly positioning itself
...
when the Map is not interactive.
2016-01-05 21:54:33 -08:00
Victor Powell
9fd6416f8d
Upgrade uber-standard and use typical .editorconfig file.
2016-01-04 16:18:53 -08:00
Victor Powell
7ebb48e37e
Expose the preserveDrawingBuffer configuration passed to the created mapbox
...
as a MapGL prop.
2015-12-17 11:18:55 -08:00
Anh Mai
b15fce08b1
Merge pull request #39 from uber/remove-unused-prop
...
remove unused overlays prop
2015-12-17 11:04:45 -08:00
Victor Powell
3f465bcd6c
remove unused overlays prop
2015-12-17 11:03:47 -08:00
Rye Terrell
118326c48a
remove debounce dependency
2015-12-13 16:08:31 -06:00
Rye Terrell
2455bdc52a
remove the debounce on MapGL._resizeMap
2015-12-13 16:00:22 -06:00
Victor Powell
f425538132
Merge branch '0.6' into react-14
2015-12-02 01:04:04 -08:00
Victor Powell
fe329bc23a
Update the overlay API to conform to
...
https://gist.github.com/vicapow/00017553e92f613d5361
2015-12-02 00:39:07 -08:00
Victor Powell
f7741b0b07
Update the overlay API to use a callback and update required props in overlays.
2015-11-25 17:53:11 -08:00
Victor Powell
aadd76b2d0
Remove unused props.
2015-11-25 16:22:53 -08:00
Victor Powell
c349a06c63
Remove bbox viewport prop.
2015-11-25 16:14:43 -08:00
Victor Powell
2509903781
Rename startDragLatLng to startDragLngLat.
2015-11-25 16:08:55 -08:00
Victor Powell
4599eb08f8
Use lngLat instead of latLng.
2015-11-24 21:13:24 -08:00
Victor Powell
1f1b5ddac5
Merge branch 'master' into react-14
2015-11-24 13:37:12 -08:00
Drew Bollinger
b34db73f70
Remove findDOMNode calls in overlays
2015-11-24 16:03:25 -05:00
Drew Bollinger
3d034f43c0
Remove ReactDOM.findDOMNode calls from src
...
Per the react docs, this use case is discouraged and can be
replaced with the ref itself. It also allows the removal of
ReactDOM from the src require statements
https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode
2015-11-24 15:41:33 -05:00
Xin Yan
6db1ddfbe8
Add a radius to mouse move callback
2015-11-17 10:20:03 -08:00
Victor Powell
e665e48458
Fix DraggablePointsOverlay propTypes definition. Clean up whitespace.
2015-11-16 22:40:01 -08:00
Victor Powell
07f08c37c3
Upgrade mapbox to 0.11.3 by using viewport-mercator-project.
2015-11-12 17:14:26 -08:00
Victor Powell
99d588e198
Don't throw an error when the user tries to drag on non-interactive maps.
2015-11-11 10:52:01 -08:00
Victor Powell
908b06ff2b
Fix a bug in the way style diffs are computed.
2015-11-11 10:52:00 -08:00
Victor Powell
d0b5907428
Add mapboxApiAccessToken as a prop to document it.
2015-11-11 10:52:00 -08:00
Victor Powell
757e64a428
Don't throw an error when the user tries to drag on non-interactive maps.
2015-11-08 20:53:18 -08:00
Victor Powell
61dc475485
Fix a bug in the way style diffs are computed.
2015-10-25 15:21:35 -07:00
Victor Powell
c61df73097
Add mapboxApiAccessToken as a prop to document it.
2015-10-11 19:38:31 -07:00
Victor Powell
cf576ae3c3
Upgrade React to 0.14.x
2015-10-11 19:35:03 -07:00
Victor Powell
53c21b7fd9
Add framework for adding tests. Rename MapboxGLMap to MapGL. Fix repo link.
2015-10-10 18:13:36 -07:00
Victor Powell
5d9b55f2b7
Clean up style
2015-10-08 15:49:39 -07:00
Timo Pylvanainen
72dee5941f
Fixed style to standard
2015-10-08 14:21:04 -07:00
Timo Pylvanainen
ecda47b435
Added onClickFeatures handler to MapboxGLMap
2015-10-08 14:04:24 -07:00
Victor Powell
d8047648ea
open source
2015-10-07 18:27:07 -07:00