Commit Graph

22 Commits

Author SHA1 Message Date
grauser
f7f2ca1d65 RideMapWindow : Use leaflet instead of googlemap api for OSM 2/4
Trace ride, intervals and markers
2018-10-03 13:39:00 +02:00
grauser
2068221324 Remove google.api for openstreetmap mode 1/4
This first commit breaks the openstreetmap display
2018-10-03 13:38:35 +02:00
Mark Liversedge
649d3ee014 Fix Interval Color bug
.. editing a user interval color never worked properly.
   the color wasn't changed or remembered at all.

.. lots of independent bugs conspired to cause this but
   mostly it was because the interval color was not
   recorded in the ride file.

NOTE: files created with this release will not be
      backwards compatible with earlier releases.
2018-07-29 22:01:49 +01:00
Mark Liversedge
a45fe546f9 Mark Performance Tests
.. allow the user to set a flag "Performance Test" against an interval
   within an activity.

.. the distinction is needed to highlight the section of an activity
   that was a test (as opposed to the entire activity containing
   test efforts.

.. this is so we can fit them to PD and IR models in the future
   avoiding the need to use algorithms to extract TTE type efforts.

.. the update was surprisingly complex since we need to update the
   ridefile to record this with the interval and also update the
   ride cache as well as adding the bool to all the interval helper
   functions.

.. along the way it became clear why user specified colors for
   intervals were getting lost (they are not in the ridefile) and
   will fix this in another post.

.. NOTE: ridefiles created with this version will not be backward
         compatible with earlier versions because they contain a
         new field for intervals marked as performance tests.
2018-07-29 16:08:19 +01:00
Ale Martinez
bcdf49a7be Set default tile server URL for new OSM maps
New OSM maps had a blank default tile server URL and they are the new default.
Also include minor change to use an existing method and to avoid currentData.
2018-03-10 10:24:33 -03:00
Ale Martinez
2af9db0f66 Deprecate Bing Map
Remove Bing code
Make OSM the default map type and use it for existing Bing maps
Fix #2717
2018-03-10 10:24:33 -03:00
Joern
3597287aeb OSM - Tile Server Handling Changed
... all Tile Servers are configurable by the user - there is only a default for the "standard" OSM Tile Server, but even this default can be overwritten
... there are no dedicated Tile Servers Sources named / hard-coded, but in addition to the default OSM server 3 additional options are available for the user to configure

Why:
... tile servers either change their URL or their T&C - which happened for some of the "hard-coded" once recently - since this may happen
again in future the recent change de-couples the code from the Tile Server URL - and the availability of certain organisations providing
free tile servers
2017-12-10 16:04:26 +01:00
Mark Liversedge
f70ab21104 QT >= 5.8 stop ride summary stealing focus
.. its annoying!
2017-09-01 12:20:21 +01:00
Mark Liversedge
e3a4883c85 Fix OSM tile server bug
.. no need to store data in a separate class variable
   since its maintained in the settings widgets

.. the bug was caused by only setting the unneccessary
   QString when settings were selected in the settings
   pane

.. cleaned up some debug too.

Fixes #2403
2017-05-07 10:44:06 +01:00
Keith Reynolds
902314363e Move members to private and correctly use method externally. 2017-03-31 21:25:03 -06:00
Keith Reynolds
936b54291b Fix order of init in struct to match decl.
Remove double set of variable.
2017-03-31 00:30:44 -06:00
Keith Reynolds
aba9dd4882 Prevent NULL pointer use
Mark params as unused to prevent compiler warnings
2017-03-30 23:33:55 -06:00
Mark Liversedge
e2a7ee92b5 Hi-DPI Support - Overlay Positioning
.. needs to take into account dpi scaling
2017-03-16 07:43:34 +00:00
Mark Liversedge
0b8efca54e Overview Route Visualisation using Google Map
.. map is styled using "snazzymaps.com" css template

.. but it looks naff, loads slowly and adds a dependency
   on embedding a QWebEngineView, which is one of the
   reasons we're developing this in the first place (!)

.. it shows how to embed charts in the dashboard, so that
   proxy code will be useful in the future.

.. likely to replace the google map visualisation with a
   GPS route pixmap and route profile using altitude in
   the next commit or two.
2017-02-18 19:52:20 +00:00
Mark Liversedge
0d17d68803 Map Window show/hide overlay
.. its not that helpful, let users hide it

.. also don't want it when its on a dashboard
2017-02-18 17:09:05 +00:00
grauser
e4d41bfb87 Map : Add a fullPlot 2016-06-19 15:40:00 +02:00
grauser
924d7e14fa RideMap : no currentData() in QT 4 2016-06-12 15:50:56 +02:00
grauser
29f2967e76 RideMap : Add tile server combo 2016-06-12 14:41:09 +02:00
Joern
bb6f0d9176 Maps - OSM map enhancement
... enable to use a custom tile server for OSM maps

Examples are here: http://thunderforest.com/maps/
2016-06-07 20:09:22 +02:00
grauser
20fff3ea71 RideMapWindow: Show/hide markers 2016-04-15 17:29:40 +02:00
grauser
4a9786298e RideMapWindow: Add OSM Map 2016-03-26 00:08:00 +01:00
grauser
3e1778205b Add RideMapWindow : An unified Map Chart (1/2) 2016-03-25 09:28:25 +01:00