On 7 July 2017 at 16:54, Dirk Hohndel <d...@hohndel.org> wrote: > >> On Jul 7, 2017, at 6:38 AM, Lubomir I. Ivanov <neolit...@gmail.com> wrote: >> >> On 7 July 2017 at 00:48, Lubomir I. Ivanov <neolit...@gmail.com> wrote: >>> On 7 July 2017 at 00:26, Davide DB <dbdav...@gmail.com> wrote: >>>> http://i.imgur.com/o8IP4Ho.png >>> >>> this is possible with the so called MarkerCluster libarary: >>> https://developers.google.com/maps/documentation/javascript/marker-clustering >>> https://github.com/googlemaps/v3-utility-library/tree/master/markerclusterer >>> >>> i haven't tried it, but Google promote it and it seems easy to use. >>> >> >> quickly sketched the cluster idea. >> >> here is a preview: >> https://www.dropbox.com/s/6gdygq68uba2pg8/cluster_clicks.png?dl=0 >> >> each dive/marker now now has max. depth value. by clicking a cluster >> on the map at the bottom of the Qt UI it says "selected a cluster with >> N dives and average depth M". >> so basically stats are possible for a dive cluster. >> >> if anyone wants i can share the source. > > This looks neat. But it's still WebKit based, correct? So we replace Marble, > but we still need WebKit. >
yes, but it's not tightly coupled with the web page renderer. so it can be ported eventually to QWebEngine. it seems that the only thing that will break is the JS <-> C++ communication, as QWebEngine uses a different method TMK. lubomir -- _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface