Commit Graph

52 Commits

Author SHA1 Message Date
Brad Leege
4b5158d0fe #1033 - Add Quick Zoom Event 2015-03-23 13:30:49 -05:00
Brad Leege
8b2d18814e #1033 - Map Zoom out event 2015-03-23 13:25:39 -05:00
Brad Leege
14c4ce75e1 #1033 - First Map Zoom (aka map.click event) 2015-03-23 13:22:06 -05:00
Brad Leege
11eebc498f #1033 - Initial location of map.load event 2015-03-23 11:48:53 -05:00
Brad Leege
de0aaff1f0 #1033 - Adding TODO to location where Opt Out and Metrics Disabled Checking will be implemented. 2015-03-23 11:29:34 -05:00
Brad Leege
044d1fc3c2 Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1033-metrics
Conflicts:
	gyp/platform-ios.gypi
	platform/ios/MGLMapView.mm
	styles
2015-03-23 10:52:27 -05:00
Justin R. Miller
80beb46c81 Revert "bring in tweaked compass snapping fixes from @friedbunny"
See #1064: problematic & can wait until after beta

This reverts commit 9dd9bd6e9d.
2015-03-22 23:09:30 -07:00
Justin R. Miller
9dd9bd6e9d bring in tweaked compass snapping fixes from @friedbunny 2015-03-22 12:14:20 -07:00
Justin R. Miller
8b21104eba more safe return when no selection 2015-03-22 10:45:47 -07:00
Justin R. Miller
fbd90ff48a safety checks & no-op returns 2015-03-22 10:43:10 -07:00
Justin R. Miller
ecb8e2800d Cocoa annotations API 2015-03-22 00:53:36 -07:00
Minh Nguyễn
f43661115f Show Emerald by default
a1a7ab62e1 only added an Emerald option to the test app, but `MGLMapView` itself has its own default style.

Fixes #964.
2015-03-20 22:52:21 -07:00
Brad Leege
33f4dfffd2 #1033 - Removing BackgroundStatus analytic 2015-03-20 17:14:25 -05:00
Brad Leege
263ae1a4cd #1033 - Initial integration of anonymous location metrics reporting 2015-03-20 16:50:43 -05:00
Brad Leege
8a73f2186a #1033 - Adding CoreTelephony dependency and fixing access token setting method name. 2015-03-20 16:37:49 -05:00
Brad Leege
c4097fff2d #1033 - Adding MGLMapboxEvents to MGLMapView 2015-03-20 16:30:07 -05:00
Brad Leege
ec304d37ac #1033 - Integrating MapboxEvents class. 2015-03-20 16:01:52 -05:00
Brad Leege
253643f57d #1033 - Renaming MBLocationManager to MGLMetricsLocationManager to better comply with naming scheme. 2015-03-20 11:37:50 -05:00
Brad Leege
c42e83fcc6 #1033 - Moving MBLocationManager to Core GL from app specific instance. 2015-03-20 11:11:06 -05:00
Minh Nguyễn
3d195b467a Added API for initializing with bundled style
As a best practice for the beta and a workaround for #1014.

Also reversed the argument order of the existing init method. Reads better this way, but you’ll likely have to change your initialization to match the new signatures.
2015-03-19 10:29:04 -07:00
Justin R. Miller
bcc4c9e78d iOS setAppliedStyleClasses -> setStyleClasses 2015-03-13 08:02:02 -07:00
Justin R. Miller
5225a2ce5b Merge pull request #994 from mapbox/990-paintItBlack
paint it black
2015-03-12 22:04:05 -07:00
John Firebaugh
ba933b3f45 Merge pull request #984 from mapbox/log_stderr_printf
Get rid of printf and cout by using Log::*
2015-03-12 15:39:07 -07:00
Brad Leege
d659517e7f #990 - Changing to clear color instead of black 2015-03-12 17:17:08 -05:00
Brad Leege
a4e0732a78 #990 - Changing background color from white to black 2015-03-12 17:15:28 -05:00
Minh Nguyễn
4c7939b96e Avoid building a redundant array
Followup to 28e28934c7.
2015-03-12 09:25:39 -07:00
Anthony Picciano
28e28934c7 Remove the file extensions from the bundledStyleNames method 2015-03-12 16:29:45 +01:00
Thiago Marcos P. Santos
124b49562d Get rid of printf and cout by using Log::*
Use our logging system that will route the message accordingly on
the target platform.

Fixes #613
2015-03-12 14:19:32 +02:00
Thiago Marcos P. Santos
2b6afe6a54 Merge pull request #972 from mapbox/log_cleanup
Refactoring of the log system
2015-03-12 14:18:25 +02:00
Thiago Marcos P. Santos
51bc265db3 Make the logging system static
No initialization is needed anymore and we can use the logging functions
safely at any point of the code (threading is not handled though, so you
might get multiplexed messages if you log from two threads
simultaneously).
2015-03-12 13:28:41 +02:00
Konstantin Käfer
47ede853c4 fixes black flicker on rotating the device
fixes #838

instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible.

- upgrades GLFW to 3.1
- removes swapped/needsSwap in favor of a more explicit scheme
- View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update
- sets all iOS deployment targets to 7.0
- disables SQLite3 version check, since the library version changed on iOS 8.2
2015-03-12 12:16:38 +01:00
Justin R. Miller
5162f5d77e refs #935: remove dispatch_once, favor property use, and return immutable styles 2015-03-09 16:32:30 -07:00
Minh Nguyễn
78900c6eee Alias hybrid to satellite
Looks terrible at the moment, but the API is closer to what developers would expect.

Fixes #935.
2015-03-08 12:14:22 -07:00
Konstantin Käfer
e8389d82cd guard against concurrent OpenGL extension loading 2015-03-06 15:42:34 +01:00
Konstantin Käfer
fb44fc81bd make Map::resize() private
they can only be called by View::resize
2015-03-06 13:52:25 +01:00
Justin R. Miller
5821be029c Merge pull request #950 from friedbunny/3x-assets
Add optimized 3x assets
2015-03-05 20:01:00 -08:00
Justin R. Miller
58a97063cb refs #950: add 3x Mapbox wordmark 2015-03-05 20:00:42 -08:00
Jason Wray
7ef669ba8c Add optimized 3x assets 2015-03-05 19:34:07 -08:00
Brad Leege
4fd4351a2f #869 - Configuring cache.db to live in /Library/Caches for iOS 2015-03-04 09:57:18 -06:00
Justin R. Miller
6171cbb748 update default iOS style shown v6 -> v7 2015-03-03 11:35:28 -08:00
Minh Nguyễn
6565836a25 Fixed new clang errors in Xcode 6.3b2 2015-02-23 13:50:04 -08:00
Justin R. Miller
6e41664cb0 fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOS 2015-02-16 09:52:36 -08:00
Justin R. Miller
bba8ff0364 Revert "put cache.db in the caches folder" 2015-02-12 17:27:06 -08:00
Jay Mooney
a855ec1bd9 put cache.db in the caches folder 2015-02-12 10:27:33 -08:00
Justin R. Miller
49e76dba95 fixes #621: better performance for iPhone 6 Plus through smaller renderbuffer 2015-02-10 14:15:49 -08:00
Justin R. Miller
c5f35d0d11 fixes #839: add isPackedDepthStencilSupported & isDepth24Supported for iOS 2015-02-10 12:21:40 -08:00
Justin R. Miller
9201133251 fixes #764: cyclical iOS reference 2015-02-10 11:47:50 -08:00
Justin R. Miller
d4d4cd4415 move iOS code from gl-cocoa to this project 2015-02-09 18:01:40 -08:00
Konstantin Käfer
9a549094e0 make ios compile 2015-02-04 10:49:06 +01:00
Leith Bade
aaedd9c83b Remove program binary caching 2015-01-27 12:38:40 +11:00