<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/map-widget, branch v4.8.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.8.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.8.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-08-18T16:50:26Z</updated>
<entry>
<title>map-widget: add support for filtering of map locations</title>
<updated>2018-08-18T16:50:26Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-08-17T17:37:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b4f10553cc9f426597e45c282e01e4bd37e3a0e7'/>
<id>urn:sha1:b4f10553cc9f426597e45c282e01e4bd37e3a0e7</id>
<content type='text'>
If the dive list is filtered the map should hide dive locations
that do not match the dive list filter.

To achieve that, loop over dives instead of dive sites in
MapWidgetHelper::reloadMapLocations() and discard
dives that are hidden by the filter. Then check if a dive
has a dive site attached to it and re-use the old functionality.

Suggested-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>map-widget: add qrc file for widget</title>
<updated>2018-06-22T03:27:58Z</updated>
<author>
<name>jan Iversen</name>
<email>jani@apache.org</email>
</author>
<published>2018-06-20T13:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2b7b7ad8f5fab046403e8e12f9adf203a8d1abaf'/>
<id>urn:sha1:2b7b7ad8f5fab046403e8e12f9adf203a8d1abaf</id>
<content type='text'>
Make map-widget self contained, with its own qrc file.

Signed-off-by: Jan Iversen &lt;jani@apache.org&gt;
</content>
</entry>
<entry>
<title>Cleanup: fold core/helpers.h into core/qthelper.h</title>
<updated>2018-06-04T15:50:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-06-03T20:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=36b9e5e31eca0354f9ad277fb668c3846714b81e'/>
<id>urn:sha1:36b9e5e31eca0354f9ad277fb668c3846714b81e</id>
<content type='text'>
helpers.h included qthelper.h and all functions declared in helpers.h
were defined in qthelper.h. Therefore fold the former into the latter,
since the split seems completely arbitrary.

While doing so, change the return-type of get_dc_nichname from
"const QString" to "QString".

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Core: remove dive.h from files that don't need it</title>
<updated>2018-05-14T17:13:39Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2018-05-13T23:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb'/>
<id>urn:sha1:ea83b5ed371bbfb1e5ffb0b501c8bf652cae35bb</id>
<content type='text'>
Of course, quite a few of them indirectly get it through other header
files.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>ios: manually import google maps plugin</title>
<updated>2018-04-06T17:31:07Z</updated>
<author>
<name>Murillo Bernardes</name>
<email>mfbernardes@gmail.com</email>
</author>
<published>2018-04-06T16:52:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ef5d4a123ed6d8ff57b26c6cca728de707783687'/>
<id>urn:sha1:ef5d4a123ed6d8ff57b26c6cca728de707783687</id>
<content type='text'>
qmlimportscanner for some reason does not include
the googlemaps plugin in the generated file.

Signed-off-by: Murillo Bernardes &lt;mfbernardes@gmail.com&gt;
</content>
</entry>
<entry>
<title>mapwidget-mobile: do not animate the first selection</title>
<updated>2018-04-02T20:47:43Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-04-02T19:48:23Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=48c032bb8ee3c2493783f3db3691f7f067f7782f'/>
<id>urn:sha1:48c032bb8ee3c2493783f3db3691f7f067f7782f</id>
<content type='text'>
centerOnLocationHard() is added in MapPage.qml so that
on `firstRun` the map is hard panned to the desired location
without animation.

This affects the selection of a new "Dive details" -&gt; "Map it" or
when opening a GPS location in the map.

The idea behind this change is to avoid starting the map animation
from an arbitrary location such as [0,0] or London. Also, to not
start the map zoomed out completely and then zoom in on a selected
dive.

For this change to work, add the helper getCoordinatesForUUID()
to qmlmapwidgethelper.cpp/.h and use it to obtain the
QGeoCoordinates for a dive site UUID.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>MapWidgetContextMenu.qml: improve the action text</title>
<updated>2018-03-15T21:27:18Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-03-14T17:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e1c81560b9a6c1208ba60621340ab02f0c3cc690'/>
<id>urn:sha1:e1c81560b9a6c1208ba60621340ab02f0c3cc690</id>
<content type='text'>
The first 3 actions in the map widget context menu
are about the current map widget center and not about the
selected dive site / marker.

Avoid using the word "location" for these, use "coordinates"
for the second and third entry.

Suggested-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>MapWidget.qml: try to preserve zoom when opening Google Maps</title>
<updated>2018-03-15T21:27:18Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-03-14T18:06:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64e2247aa719da2096ada77984f15a242171a089'/>
<id>urn:sha1:64e2247aa719da2096ada77984f15a242171a089</id>
<content type='text'>
Extend openLocationInGoogleMaps() so that the current
map widget zoom level is roughly mapped to the Google Maps
zoom level.

The two zoom scales are quite different. Google Maps uses meters
directly, while the QML map uses a scale from ~1 - 21.

The approximation is done via exponential regression over
a small data set gathered from experiment.

Add a console.log() call so that the URL is logged.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>MapWidget.qml: use a new URL format for Google Maps</title>
<updated>2018-03-15T21:27:18Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-03-14T16:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=16b3892f22225640a0c30fd45353aa9805b2be9d'/>
<id>urn:sha1:16b3892f22225640a0c30fd45353aa9805b2be9d</id>
<content type='text'>
Make the map widget use a new URL format for Google Maps
in openLocationInGoogleMaps(). The new URL format does
not show a marker once the location is open in Google Maps
as this might confuse some users.

Suggested-by: Willem Ferguson &lt;willemferguson@zoology.up.ac.za&gt;
Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
<entry>
<title>mapwidget.qml: emit a signal when the marker changed</title>
<updated>2018-03-11T18:40:12Z</updated>
<author>
<name>Lubomir I. Ivanov</name>
<email>neolit123@gmail.com</email>
</author>
<published>2018-03-08T19:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8b43633c7d22a31f882919f535a8fc332f61af62'/>
<id>urn:sha1:8b43633c7d22a31f882919f535a8fc332f61af62</id>
<content type='text'>
The signal to emit is selectedDivesChanged() and it accepts
a list if diveIds. The 'nSelectedDives' counter is redundant.

Also expose the 'map' and 'mapHelper' objects as aliases.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
</content>
</entry>
</feed>
