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