Skip to content

MAP_INTERACTION event is not fully filled with Worldwind engine #359

@Reeter35

Description

@Reeter35

Based on Commit: 210ec18

When subscribing to MAP_INTERACTION event using a Worldwind engine, the event passed as parameter is not correctly filled.
Neither the "button" nor "keys" are filled.

Event received by the event listener:
{ "type": "emp3.api.events.MapInteractionEvent", "event": "single", "target": { "environment": "browser", "status": 2, "geoId": "f727f5d3-52a444ac-94f104f0-571a5d19", "bounds": { "north": 86.42640687119285, "west": 1.5735931288071596, "south": 1.5735931288071467, "east": 86.42640687119287, "range": 10000000, "altitude": 10000000, "centerLat": 44, "centerLon": 44, "roll": 0, "heading": 0, "tilt": 0 }, "engine": { "engineBasePath": "emp3/emp3-worldwind/", "mapEngineId": "worldwindMapEngine", "properties": { "debug": false, "cesiumNavigation": { "enableCompass": true, "enableZoomControls": true, "enableDistanceLegend": true }, "renderingOptimization": true, "iconSize": "small", "milStdLabels": "common", "brightness": 50, "midDistanceThreshold": 20000, "layers": {}, "defaultLayers": [] }, "manifestName": "manifest.js", "manifestUrl": "emp3/emp3-worldwind/manifest.js" }, "drawTransaction": null, "editTransaction": null, "iconSize": "small", "milStdLabels": "common", "brightness": 50, "renderingOptimization": true, "midDistanceThreshold": 20000, "farDistanceThreshold": 600000, "container": "empmap", "engineId": "worldwindMapEngine" }, "point": { "x": 344, "y": 201 }, "position": { "latitude": 54.518492291840545, "longitude": 25.462942690707933, "altitude": 0 }, "keys": [] }

This works correctly with Cesium and Leaflet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions