> On July 30, 2015, 5:05 p.m., Dennis Nienhüser wrote: > > src/lib/marble/MarbleQuickItem.cpp, line 390 > > <https://git.reviewboard.kde.org/r/124519/diff/2/?file=388743#file388743line390> > > > > use position.y() for y2 and position.x() for x2 and spare the redundant > > screen => geo => screen transformations above. > > Gábor Péterffy wrote: > In this case it not maps the coordinate to the global map. Am I missing a > function what is alredy exists to do this?
It's the same when you use the viewport of the map. I added a new comment in the updated diff. - Dennis ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124519/#review83180 ----------------------------------------------------------- On July 31, 2015, 11:23 p.m., Gábor Péterffy wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/124519/ > ----------------------------------------------------------- > > (Updated July 31, 2015, 11:23 p.m.) > > > Review request for Marble. > > > Repository: marble > > > Description > ------- > > This patch introduces the CircleButton qml type. Based on this there is a > button now which navigates the map at the current position. > > > Diffs > ----- > > data/android/drawable-xxxhdpi/backdrop.png PRE-CREATION > data/android/drawable-xxxhdpi/gps_fixed.png PRE-CREATION > data/android/drawable-xxxhdpi/gps_not_fixed.png PRE-CREATION > data/android/drawable-xxxhdpi/marblelogo.png > bf462f7608169f70cc014d8da1e0ad86e11bed15 > src/apps/marble-maps/BoxedText.qml PRE-CREATION > src/apps/marble-maps/CircularButton.qml PRE-CREATION > src/apps/marble-maps/IndicatorCircularButton.qml PRE-CREATION > src/apps/marble-maps/MainScreen.qml > 2cc996aef7b89f888f822ef4ff3bf5460c729991 > src/apps/marble-maps/MarbleMaps.qrc > d027af982f31144107baedf77fe07f7239ef53ed > src/lib/marble/declarative/MarbleQuickItem.h > cca329761f23cd72315df2d359166a2cbfa8056c > src/lib/marble/declarative/MarbleQuickItem.cpp > e7dbbe7de31858286f6d0e38f5721f7f8ae45e79 > > src/plugins/positionprovider/qtpositioning/QtPositioningPositionProviderPlugin.cpp > 35884a7c844b590ecf44f3346f0d41b4c46b0f81 > > Diff: https://git.reviewboard.kde.org/r/124519/diff/ > > > Testing > ------- > > It seems my distance or angle functions are not working well, the almost > always provide false data after some panning (my position is sometimes start > to change when I am panning on the map, strange thing: the position marker > also starts to go to an other place like it is fixed to the screen, but the > map moves under it sometimes when I am penning and it is not jumping back to > its place.) > > > File Attachments > ---------------- > > gps_not_fixed.png > > https://git.reviewboard.kde.org/media/uploaded/files/2015/07/30/35409caf-2dbd-4fc4-b495-43fe1d8e4279__gps_not_fixed.png > gps_fixed.png > > https://git.reviewboard.kde.org/media/uploaded/files/2015/07/30/019abdbb-80cf-4935-8d6d-0c3e6927d2b3__gps_fixed.png > marblelogo.png > > https://git.reviewboard.kde.org/media/uploaded/files/2015/07/31/ebaa4d45-b337-4e42-8a23-a73e2d88ddca__marblelogo.png > backdrop.png > > https://git.reviewboard.kde.org/media/uploaded/files/2015/07/31/dacf5958-7270-40c4-9031-243350a80de8__backdrop.png > > > Thanks, > > Gábor Péterffy > >
_______________________________________________ Marble-devel mailing list Marble-devel@kde.org https://mail.kde.org/mailman/listinfo/marble-devel