react-map-gl-draw
Advanced tools
Comparing version 0.18.2 to 0.18.3
@@ -231,3 +231,3 @@ "use strict"; | ||
case _constants.EDIT_TYPE.ADD_FEATURE: | ||
_this.props.onSelect({ | ||
_this._onSelect({ | ||
selectedFeature: null, | ||
@@ -331,2 +331,8 @@ selectedFeatureIndex: null, | ||
_defineProperty(_assertThisInitialized(_this), "_onDblclick", function (event) { | ||
if ((0, _utils.isNumeric)(_this._getSelectedFeatureIndex())) { | ||
event.sourceEvent.stopImmediatePropagation(); | ||
} | ||
}); | ||
_defineProperty(_assertThisInitialized(_this), "_onPointerMove", function (event) { | ||
@@ -375,4 +381,6 @@ // hovering | ||
_defineProperty(_assertThisInitialized(_this), "_onPointerDown", function (event) { | ||
var isDragging = event.picks && event.picks[0]; | ||
var startDraggingEvent = _objectSpread({}, event, { | ||
isDragging: true, | ||
isDragging: isDragging, | ||
pointerDownScreenCoords: event.screenCoords, | ||
@@ -383,3 +391,3 @@ pointerDownMapCoords: event.mapCoords | ||
var newState = { | ||
isDragging: true, | ||
isDragging: isDragging, | ||
pointerDownPicks: event.picks, | ||
@@ -471,2 +479,5 @@ pointerDownScreenCoords: event.screenCoords, | ||
}, | ||
dblclick: function dblclick(evt) { | ||
return _this._onEvent(_this._onDblclick, evt, false); | ||
}, | ||
click: function click(evt) { | ||
@@ -587,2 +598,2 @@ return evt.stopImmediatePropagation(); | ||
_defineProperty(ModeHandler, "defaultProps", defaultProps); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tb2RlLWhhbmRsZXIudHN4Il0sIm5hbWVzIjpbImRlZmF1bHRQcm9wcyIsInNlbGVjdGFibGUiLCJtb2RlIiwiZmVhdHVyZXMiLCJvblNlbGVjdCIsIm9uVXBkYXRlIiwib25VcGRhdGVDdXJzb3IiLCJkZWZhdWx0U3RhdGUiLCJmZWF0dXJlQ29sbGVjdGlvbiIsIkltbXV0YWJsZUZlYXR1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ZXh0LkNvbnN1bWVyPlxuICAgICAgICB7KGNvbnRleHQpID0+IHtcbiAgICAgICAgICB0aGlzLl9jb250ZXh0ID0gY29udGV4dDtcbiAgICAgICAgICBjb25zdCB2aWV3cG9ydCA9IGNvbnRleHQgJiYgY29udGV4dC52aWV3cG9ydDtcblxuICAgICAgICAgIGlmICghdmlld3BvcnQgfHwgdmlld3BvcnQuaGVpZ2h0IDw9IDAgfHwgdmlld3BvcnQud2lkdGggPD0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgcmV0dXJuIHRoaXMuX3JlbmRlcigpO1xuICAgICAgICB9fVxuICAgICAgPC9NYXBDb250ZXh0LkNvbnN1bWVyPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -48,2 +48,3 @@ import { MapContextProps } from 'react-map-gl'; | ||
_onClick: (event: import("@nebula.gl/edit-modes/dist-types/types").BasePointerEvent) => void; | ||
_onDblclick: (event: import("@nebula.gl/edit-modes/dist-types/types").BasePointerEvent) => void; | ||
_onPointerMove: (event: import("@nebula.gl/edit-modes/dist-types/types").BasePointerEvent) => void; | ||
@@ -50,0 +51,0 @@ _onPointerDown: (event: import("@nebula.gl/edit-modes/dist-types/types").BasePointerEvent) => void; |
@@ -231,3 +231,3 @@ "use strict"; | ||
case _constants.EDIT_TYPE.ADD_FEATURE: | ||
_this.props.onSelect({ | ||
_this._onSelect({ | ||
selectedFeature: null, | ||
@@ -331,2 +331,8 @@ selectedFeatureIndex: null, | ||
_defineProperty(_assertThisInitialized(_this), "_onDblclick", function (event) { | ||
if ((0, _utils.isNumeric)(_this._getSelectedFeatureIndex())) { | ||
event.sourceEvent.stopImmediatePropagation(); | ||
} | ||
}); | ||
_defineProperty(_assertThisInitialized(_this), "_onPointerMove", function (event) { | ||
@@ -375,4 +381,6 @@ // hovering | ||
_defineProperty(_assertThisInitialized(_this), "_onPointerDown", function (event) { | ||
var isDragging = event.picks && event.picks[0]; | ||
var startDraggingEvent = _objectSpread({}, event, { | ||
isDragging: true, | ||
isDragging: isDragging, | ||
pointerDownScreenCoords: event.screenCoords, | ||
@@ -383,3 +391,3 @@ pointerDownMapCoords: event.mapCoords | ||
var newState = { | ||
isDragging: true, | ||
isDragging: isDragging, | ||
pointerDownPicks: event.picks, | ||
@@ -471,2 +479,5 @@ pointerDownScreenCoords: event.screenCoords, | ||
}, | ||
dblclick: function dblclick(evt) { | ||
return _this._onEvent(_this._onDblclick, evt, false); | ||
}, | ||
click: function click(evt) { | ||
@@ -587,2 +598,2 @@ return evt.stopImmediatePropagation(); | ||
_defineProperty(ModeHandler, "defaultProps", defaultProps); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tb2RlLWhhbmRsZXIudHN4Il0sIm5hbWVzIjpbImRlZmF1bHRQcm9wcyIsInNlbGVjdGFibGUiLCJtb2RlIiwiZmVhdHVyZXMiLCJvblNlbGVjdCIsIm9uVXBkYXRlIiwib25VcGRhdGVDdXJzb3IiLCJkZWZhdWx0U3RhdGUiLCJmZWF0dXJlQ29sbGVjdGlvbiIsIkltbXV0YWJsZUZlYXR1cmVDb2xsZWN0aW9uIiwidHlwZSIsInNlbGVjdGVkRmVhdHVyZUluZGV4IiwiaG92ZXJlZCIsImlzRHJhZ2dpbmciLCJkaWREcmFnIiwibGFzdFBvaW50ZXJNb3ZlRXZlbnQiLCJwb2ludGVyRG93blBpY2tzIiwicG9pbnRlckRvd25TY3JlZW5Db29yZHMiLCJwb2ludGVyRG93bk1hcENvb3JkcyIsIk1vZGVIYW5kbGVyIiwicHJvcHMiLCJfZ2V0RmVhdHVyZUNvbGxlY3Rpb24iLCJnZXRPYmplY3QiLCJBcnJheSIsImlzQXJyYXkiLCJhZGRGZWF0dXJlcyIsInNldFN0YXRlIiwiZmVhdHVyZUluZGV4ZXMiLCJfZ2V0U2VsZWN0ZWRGZWF0dXJlSW5kZ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clN0YXRlID0gKGV2ZW50OiBCYXNlRXZlbnQpID0+IHtcbiAgICBjb25zdCBvYmplY3QgPSBldmVudC5waWNrcyAmJiBldmVudC5waWNrc1swXTtcbiAgICBpZiAoIW9iamVjdCkge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgIHNjcmVlbkNvb3JkczogZXZlbnQuc2NyZWVuQ29vcmRzLFxuICAgICAgbWFwQ29vcmRzOiBldmVudC5tYXBDb29yZHMsXG4gICAgICAuLi5vYmplY3QsXG4gICAgfTtcbiAgfTtcblxuICBfcmVuZGVyKCkge1xuICAgIHJldHVybiA8ZGl2IC8+O1xuICB9XG5cbiAgcmVuZGVyKCkge1xuICAgIHJldHVybiAoXG4gICAgICA8TWFwQ29udGV4dC5Db25zdW1lcj5cbiAgICAgICAgeyhjb250ZXh0KSA9PiB7XG4gICAgICAgICAgdGhpcy5fY29udGV4dCA9IGNvbnRleHQ7XG4gICAgICAgICAgY29uc3Qgdmlld3BvcnQgPSBjb250ZXh0ICYmIGNvbnRleHQudmlld3BvcnQ7XG5cbiAgICAgICAgICBpZiAoIXZpZXdwb3J0IHx8IHZpZXdwb3J0LmhlaWdodCA8PSAwIHx8IHZpZXdwb3J0LndpZHRoIDw9IDApIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHJldHVybiB0aGlzLl9yZW5kZXIoKTtcbiAgICAgICAgfX1cbiAgICAgIDwvTWFwQ29udGV4dC5Db25zdW1lcj5cbiAgICApO1xuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tb2RlLWhhbmRsZXIudHN4Il0sIm5hbWVzIjpbImRlZmF1bHRQcm9wcyIsInNlbGVjdGFibGUiLCJtb2RlIiwiZmVhdHVyZXMiLCJvblNlbGVjdCIsIm9uVXBkYXRl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bnByb2plY3Qoc2NyZWVuQ29vcmRzKTtcblxuICAgIHJldHVybiB7XG4gICAgICBwaWNrczogcGlja2VkID8gW3BpY2tlZF0gOiBudWxsLFxuICAgICAgc2NyZWVuQ29vcmRzLFxuICAgICAgbWFwQ29vcmRzLFxuICAgICAgc291cmNlRXZlbnQ6IGV2dCxcbiAgICB9O1xuICB9XG5cbiAgX2dldEhvdmVyU3RhdGUgPSAoZXZlbnQ6IEJhc2VFdmVudCkgPT4ge1xuICAgIGNvbnN0IG9iamVjdCA9IGV2ZW50LnBpY2tzICYmIGV2ZW50LnBpY2tzWzBdO1xuICAgIGlmICghb2JqZWN0KSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgc2NyZWVuQ29vcmRzOiBldmVudC5zY3JlZW5Db29yZHMsXG4gICAgICBtYXBDb29yZHM6IGV2ZW50Lm1hcENvb3JkcyxcbiAgICAgIC4uLm9iamVjdCxcbiAgICB9O1xuICB9O1xuXG4gIF9yZW5kZXIoKSB7XG4gICAgcmV0dXJuIDxkaXYgLz47XG4gIH1cblxuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuIChcbiAgICAgIDxNYXBDb250ZXh0LkNvbnN1bWVyPlxuICAgICAgICB7KGNvbnRleHQpID0+IHtcbiAgICAgICAgICB0aGlzLl9jb250ZXh0ID0gY29udGV4dDtcbiAgICAgICAgICBjb25zdCB2aWV3cG9ydCA9IGNvbnRleHQgJiYgY29udGV4dC52aWV3cG9ydDtcblxuICAgICAgICAgIGlmICghdmlld3BvcnQgfHwgdmlld3BvcnQuaGVpZ2h0IDw9IDAgfHwgdmlld3BvcnQud2lkdGggPD0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgcmV0dXJuIHRoaXMuX3JlbmRlcigpO1xuICAgICAgICB9fVxuICAgICAgPC9NYXBDb250ZXh0LkNvbnN1bWVyPlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.18.2", | ||
"version": "0.18.3", | ||
"author": "Xintong Xia <xintong@uber.com>", | ||
@@ -60,3 +60,3 @@ "repository": { | ||
}, | ||
"gitHead": "731c73359e7b072575e3a7f6ec9db1deabdc155f" | ||
"gitHead": "de129e5d4b1f225e6a3249cb682466413a1a318c" | ||
} |
@@ -31,3 +31,3 @@ # React Map GL Draw | ||
- `onUpdate` (Function, Optional) - callback when any feature is updated. Receives an object containing the following parameters | ||
- `features` (Feature[]) - the updated list of GeoJSON features. | ||
- `data` (Feature[]) - the updated list of GeoJSON features. | ||
- `editType` (String) - `addFeature`, `addPosition`, `finishMovePosition` | ||
@@ -132,3 +132,3 @@ - `editContext` (Array) - list of edit objects, depend on `editType`, each object may contain `featureIndexes`, `editHandleIndexes`, `screenCoords`, `mapCoords`. | ||
export default class App extends Component { | ||
class App extends Component { | ||
constructor(props) { | ||
@@ -170,5 +170,6 @@ super(props); | ||
[codesandbox](https://codesandbox.io/s/react-map-gl-draw-example-5n97w?file=/src/app.js) | ||
```js | ||
import React, { Component } from 'react'; | ||
import { render } from 'react-dom'; | ||
import MapGL from 'react-map-gl'; | ||
@@ -196,3 +197,3 @@ import { | ||
export default class App extends Component { | ||
class App extends Component { | ||
constructor(props) { | ||
@@ -199,0 +200,0 @@ super(props); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
534193
5578
247