ADD: adden grid layout to entity input

This commit is contained in:
hwinkel
2023-09-30 17:31:48 +02:00
parent a34ea5ab04
commit 3a3901fbec
5 changed files with 78 additions and 30 deletions

View File

@@ -43,7 +43,7 @@ class OpenSeaMap extends Component {
icon = createIcon(entity.Type,entity.Side)
return (
<Marker name={entity.Name} key={index} icon={icon} position={entity.Position} data={entity.id}
draggable={true}
eventHandlers={{
click: (e) => {
// console.log(e.target.options.data); // will print 'FooBar' in console