Open lhapaipai opened 4 months ago
what about this?
PeakFinder~registerCommandsCallback(command) Registers a callback that receives commands/messages from the PanoramaPanel. The PanoramaPanel will send a message when a specific event occured. E.g. when a new viewpoint was loaded the command: viewpoint changed lat=46.53722&lng=8.12610
Hi @Fabiz, Thanks for this great API. It's awesome !! I wonder if it be posible to define listeners in order to define callback functions when the azimut/altitude/viewpoint is changed.
in fact I would like to integrate PeakFinder into a map application. It is currently only possible to synchronize the map with PeakFinder in one direction. you can define a specific state into PeakFinder but you cannot update an application following user interaction on PeakFinder.
thank you for your response and have a nice day !!