summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-08 16:43:50 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-12 01:36:56 -0700
commitf860169f356af37536443d8f23e8ccd610c21eb9 (patch)
tree15c76dc99f0e46809cb1e318df5368b1b72418f6 /scripts
parent60ed9e6d2ebdeef233cb6891a26f5b24e0efaaef (diff)
downloadqtlocation-mapboxgl-f860169f356af37536443d8f23e8ccd610c21eb9.tar.gz
Refactored MGLMapboxEvents for better data management
The shared `MGLMapboxEvents` now owns the only instance of `MGLMetricsLocationManager`. It also owns a `MGLMapboxEventsData` object, to which all user-specific data has been relegated. This object can be built up and torn down on the fly, whenever the opt-out preference is toggled. `MGLMapboxEvents` has also given up knowledge of the access token and now queries `MGLAccountManager` for that information, which `MGLMapView` keeps up-to-date.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions