Brad Leege
f80238577c
[publish ios-v0.2.14]
2015-04-17 17:19:03 -05:00
Brad Leege
41aacc11ae
Bumping Podspec to 0.2.14
2015-04-17 17:15:57 -05:00
Peter Liu
4990a70e34
remove noise on emerald
2015-04-17 18:10:07 -04:00
Nicki Dlugash
8d60c7ce03
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
2015-04-17 17:42:20 -04:00
Nicki Dlugash
151deec8ed
bump styles pin. Updated Streets (colors, added refs for performance), Emerald (colors, added refs for performance, sprite), Light and Dark (changed font)
2015-04-17 17:40:28 -04:00
Minh Nguyễn
2bc63f76a4
Made pan gestures slipperier
...
Replaced the complex formula for overpanning with a simple one that makes the map feel much slipperier than before. `MGLMapView` now overpans just a little more aggressively than `MKMapView` but still a lot less aggressively than Google Maps.
Fixes #1266 .
2015-04-17 12:31:49 -07:00
Konstantin Käfer
71d127220b
rename Mode::Static => Mode::Still
2015-04-17 17:55:24 +02:00
Konstantin Käfer
7827d4954c
Merge pull request #1272 from mapbox/1272-render-still-images-on-thread
...
Render still/static images on a separate thread as well, aligning it with the way continuous render mode works
2015-04-17 15:43:20 +02:00
Konstantin Käfer
9072df709d
make the request header public as the node module requires it
2015-04-17 15:23:36 +02:00
Konstantin Käfer
60a0e8a4be
don't record Debug events to log observers
2015-04-17 13:40:43 +02:00
Konstantin Käfer
5d769f9b62
explicitly call .discard() to resize the view on static renders
...
- this is only a stopgap; we need to properly pass state between threads
- doesn't fix changing the pixel ratio
2015-04-17 13:40:42 +02:00
Konstantin Käfer
9af3f07e5b
don't hide unchecked messages
2015-04-17 13:40:42 +02:00
Konstantin Käfer
6691f7249e
remove nativeRun() method as that is now private
2015-04-17 13:40:42 +02:00
Konstantin Käfer
1c920c4332
don't throw an exception in the map thread for bad styles
2015-04-17 13:40:42 +02:00
Konstantin Käfer
46bf226910
align static render mode and still image render mode
...
- static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object
- map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
2015-04-17 13:40:42 +02:00
Nicki Dlugash
cd496645d4
bump styles pin. Updated Mapbox Streets (mainly fonts, colors, and sprite), updated Light (added dot.sdf to sprite)
2015-04-16 20:27:05 -04:00
Justin R. Miller
b6e2052962
refs #1285 : don't use special getters for dot syntax
2015-04-16 15:16:11 -07:00
Justin R. Miller
e9f66d043c
Merge pull request #1285 from mapbox/fg-bg-ios-tweaks
...
fixes #1276 : maintain snapshot in hierarchy & hide when appropriate
2015-04-16 15:08:20 -07:00
Justin R. Miller
a28bd361d8
fixes #1276 : maintain snapshot in hierarchy & hide when appropriate
2015-04-16 14:04:37 -07:00
Justin R. Miller
7378a1ec71
Merge pull request #1284 from mapbox/fix-cache-resize
...
fixes #1283 : don't fill cache with zeros on reside
2015-04-16 12:41:29 -07:00
Justin R. Miller
14e972ad97
don't auto-resize & fill cache with zeros
2015-04-16 12:14:35 -07:00
Konstantin Käfer
dc1b2efe7b
Merge pull request #1282 from mapbox/1282-remove-runloop-message-wrapper
...
Remove wrapper code from RunLoop Message
2015-04-16 18:47:26 +02:00
Konstantin Käfer
645f7c0cd4
use std::unique_ptr<> as a movable-only container directly instead of wrapping in another class
2015-04-16 17:52:58 +02:00
John Firebaugh
7000a4faf0
Merge pull request #1250 from mapbox/1250-separate-thread-object
...
Separate objects from Thread management
2015-04-16 08:50:24 -07:00
Justin R. Miller
39bd83946f
[publish ios-v0.2.13]
2015-04-16 01:41:01 -07:00
Justin R. Miller
2ca6b0ed10
bump podspec version
2015-04-16 01:39:46 -07:00
Justin R. Miller
04c756bdd0
Merge pull request #1281 from mapbox/cache-parsed-tiles-memory
...
fixes #1157 , #1255 : cache parsed tiles in memory
2015-04-16 01:34:42 -07:00
Justin R. Miller
190709c6b1
fixes #1157 , #1255 : cache parsed tiles in memory
2015-04-16 01:15:41 -07:00
Justin R. Miller
c574acd64d
Merge pull request #1280 from mapbox/source-release-fix
...
[not ready] fixes #1267 : properly break reference cycle with tile data & style
2015-04-16 00:33:33 -07:00
Justin R. Miller
c49e6157f1
add comment
2015-04-15 22:21:04 -07:00
Justin R. Miller
d29534e437
fixes #1267 : properly break reference cycle with live tile data & style
2015-04-15 22:16:18 -07:00
John Firebaugh
ac25d32a09
Convert storage tests to RunLoop
2015-04-15 20:38:26 -07:00
John Firebaugh
5fa0512be2
Shorten method names
2015-04-15 20:38:25 -07:00
John Firebaugh
1eaf6b8c18
Stricter Thread<> interface
...
Implements a Thread<>::invoke interface that only permits calling
member functions with bound arguments.
Also introduce invokeWithResult, which accepts a callback and invokes
it, passing the result, on the invoking thread's RunLoop. This closes
the loop of two evented threads doing message passing.
2015-04-15 20:38:25 -07:00
Minh Nguyễn
ed74c6e23d
Merge pull request #1254 from mapbox/1050-bg
...
Detach GLKView while app is in background
2015-04-15 13:22:04 -07:00
Minh Nguyễn
ec987ca434
Assert that snapshot view obscures GL view when it exists
...
Just in case the host app mucks around with `MGLView`’s internal view hierarchy.
2015-04-15 10:18:15 -07:00
Brad Leege
109a693f00
Merge pull request #1274 from mapbox/1271-alloc-init
...
Changing "new" to "alloc init"
2015-04-15 10:16:08 -05:00
Mike Morris
5972a7d16e
make environment.hpp header public
2015-04-15 17:14:36 +02:00
Brad Leege
074687e732
#1271 - Changing "new" to "alloc init"
2015-04-15 09:39:00 -05:00
Minh Nguyễn
e19b6afb26
Leave GLKView in place, obscured by snapshot
...
Generate the snapshot using `-[UIView snapshotViewAfterScreenUpdates:]` and place it _over_ the `GLKView`. UIKit appears to be able to detect that the `GLKView` is completely obscured and avoids `-_display`ing it.
2015-04-14 22:23:13 -07:00
Brad Leege
88b8d452b9
Merge pull request #1269 from mapbox/1268-horizontal-accuracy
...
Adding horizontalAccuracy to location event
2015-04-14 18:30:52 -05:00
Brad Leege
21685caa2a
#1268 - Adding horizontalAccuracy to location event
2015-04-14 18:03:59 -05:00
Mike Morris
9f13392de0
Merge pull request #1260 from mapbox/defaults-gypi
...
define MACOSX_DEPLOYMENT_TARGET in common.gypi
2015-04-14 16:21:41 +02:00
Mike Morris
2fd22b8742
define MACOSX_DEPLOYMENT_TARGET in common.gypi
...
Needed in target_defaults to prevent node-gyp from overriding this everywhere with '10.5' from https://github.com/joyent/node/blob/master/common.gypi
2015-04-13 19:33:16 +02:00
Konstantin Käfer
1066504008
separate SQLiteCache::Impl header from implementation file
2015-04-13 18:38:39 +02:00
Konstantin Käfer
352ff64e06
rename SQLiteCache::Thread to SQLiteCache::Impl
2015-04-13 18:32:59 +02:00
Konstantin Käfer
452d12e6e6
make implementation files private headers
2015-04-13 18:28:18 +02:00
Konstantin Käfer
16849a341b
hide Thread<> and separate the Implementation object
2015-04-13 17:57:45 +02:00
Konstantin Käfer
278e6bd556
use std::tuple<> to forward parameters into the Thread<> object
...
works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
2015-04-13 12:58:47 +02:00
John Firebaugh
3efbb69e0c
Ensure that ~TileData happens on map thread
...
Fixes #1251
2015-04-10 17:28:39 -07:00