utopia-ui 3.0.0-alpha.124 → 3.0.0-alpha.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3561,6 +3561,7 @@ var Layer = function (_a) {
|
|
|
3561
3561
|
var allTagsLoaded = useAllTagsLoaded();
|
|
3562
3562
|
var allItemsLoaded = useAllItemsLoaded();
|
|
3563
3563
|
var setMarkerClicked = useSetMarkerClicked();
|
|
3564
|
+
var selectPosition = useSelectPosition();
|
|
3564
3565
|
var tags = useTags();
|
|
3565
3566
|
var addTag = useAddTag();
|
|
3566
3567
|
var _r = useState([]), newTagsToAdd = _r[0], setNewTagsToAdd = _r[1];
|
|
@@ -3674,7 +3675,7 @@ var Layer = function (_a) {
|
|
|
3674
3675
|
r && addMarker(item, r);
|
|
3675
3676
|
}, eventHandlers: {
|
|
3676
3677
|
click: function () {
|
|
3677
|
-
setMarkerClicked(item);
|
|
3678
|
+
selectPosition && setMarkerClicked(item);
|
|
3678
3679
|
},
|
|
3679
3680
|
}, icon: MarkerIconFactory(markerShape, color1, color2, markerIcon), position: [latitude, longitude] }, { children: [(children && React.Children.toArray(children).some(function (child) { return React.isValidElement(child) && child.props.__TYPE === "ItemView"; }) ?
|
|
3680
3681
|
React.Children.toArray(children).map(function (child) {
|