MSS icon indicating copy to clipboard operation
MSS copied to clipboard

unify navigation elements of top- and sideview

Open ReimarBauer opened this issue 6 years ago • 4 comments

Original report by Reimar Bauer (Bitbucket: ReimarBauer, GitHub: ReimarBauer).


we have in topview a few more navigattion elements as in sideview e.g. zoom, home

There is no need to abstain those in sideview

ReimarBauer avatar Mar 06 '19 16:03 ReimarBauer

Original comment by Joern Ungermann (Bitbucket: joernu76, GitHub: joernu76).


Practically, this requires quite some changes on both the frontend and the server. The OWS protocol addition of MSS does not really support this feature of zomming into sideviews.

This is a very sensible feature request, but I do not see this in 1.8.0.

ReimarBauer avatar Mar 25 '19 20:03 ReimarBauer

Original comment by Reimar Bauer (Bitbucket: ReimarBauer, GitHub: ReimarBauer).


I see only changes on the frontend in mpl_qtwidget. I don't see changes on serverside, because by the options entries we also can scale.

ReimarBauer avatar Mar 26 '19 06:03 ReimarBauer

Original comment by Reimar Bauer (Bitbucket: ReimarBauer, GitHub: ReimarBauer).


For requesting an image based on zooming we don’t need to change the server.

To solve this get_lat_lon can be used to find the closest index of the waypoint table of the zoom window by self.ax.figure.canvas.ax.viewLim.x0 and self.ax.figure.canvas.ax.viewLim.x1. As the waypoints of the flightpath are enumerated an index slice of both best indices can be formed to request from the server the new image.

An impementation has to persist on inserting, deleting or moving a waypoint. Only by the home selection the old initial setup has to be loaded.

ReimarBauer avatar May 01 '19 15:05 ReimarBauer

Original comment by Reimar Bauer (Bitbucket: ReimarBauer, GitHub: ReimarBauer).


needs first a review/discussion of the current solution

ReimarBauer avatar May 01 '19 15:05 ReimarBauer