Open AdelinaK opened 3 years ago
Think Drag and Drop might be tricky to do. My suggestion would be just to use mouse click to add a destination on your customized layer and then starts the simulation based on the current vehicle position and the clicked destination.
Hi.
I'm working on an application and what I want to do is to display a custom map layer using LogViewer (the custom layer will be a GeoJsonLayer to be more specific) display a car (with an initial position) and then I want to move the car where I want on the map (something like drag and drop). Then I want to start a simulation based on the position I have chosen and feed data in real time until the simulation ends. I know the XVIZLiveLoader wasn't necesarry implemented for customaization, it controls the vehicle position directly but I wonder if I can override the properties of the LogViewer and add this functionality.
Thank you!