John Firebaugh
75ae956b0e
WIP: Use Thread<MapContext>
2015-04-28 14:32:22 -04:00
John Firebaugh
025eb013d7
Privatize remaining MapContext members
2015-04-28 14:32:21 -04:00
John Firebaugh
424dae0a2c
Move run() to MapContext
2015-04-28 14:32:21 -04:00
Konstantin Käfer
9dc51e7f80
move rendering mode enum to MapData object
2015-04-28 14:32:20 -04:00
Konstantin Käfer
89167cbf8c
move Transform into MapData and make source unaware of the Map object
2015-04-28 14:32:18 -04:00
Konstantin Käfer
cc8f440c84
move TransformState to MapData object
2015-04-28 14:32:17 -04:00
John Firebaugh
9331acf8e6
Add typedefs for std::chrono::steady_clock types
2015-04-02 12:28:12 +02:00
Konstantin Käfer
d2faca1861
move style classes to MapData object and make thread safe
2015-03-23 11:02:21 +01:00
Konstantin Käfer
3d2dcbb6ef
move accessToken to MapData
2015-03-23 11:02:21 +01:00
Konstantin Käfer
9637176711
move defaultTransitionDuration to MapData
2015-03-23 11:02:19 +01:00
Konstantin Käfer
268975d4c2
move animationTime to MapData store
2015-03-23 11:01:39 +01:00
Konstantin Käfer
03e400e002
make the debug flag atomic and move to MapData
2015-03-23 11:01:02 +01:00
Konstantin Käfer
ebd2985f78
make style updates a little more threadsafe
...
- we're now always loading and parsing styles in the map thread
- adds an atomic enum that stores the actual updates we need to perform
- adds a MapData object that mutexes access to variables used from both threads
2015-03-23 11:01:01 +01:00