Brad Leege
88398b2545
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1033-metrics
...
Conflicts:
platform/ios/MGLMapView.mm
2015-03-24 15:15:27 -05:00
Brad Leege
308d382bd2
#1033 - Building Mapbox Metrics Disabled UI in Settings.app and functionality in Events tracking infrastructure
2015-03-24 11:33:08 -05:00
Brad Leege
25381187be
#1033 - Setting up Opt Out UI in Settings.app. Checking for Opt Out status at event push time.
2015-03-24 10:50:26 -05:00
Brad Leege
5acf518ea6
#1033 - Adding blank Settings.bundle infrastructure and ensuring it's loaded into memory
2015-03-24 10:37:59 -05:00
Brad Leege
81f6c5cab2
#1033 - Removing extraneous instance variable of anonId
2015-03-24 10:35:49 -05:00
Brad Leege
2da729dca0
#1033 - Fix automatic overwriting of anonId value
2015-03-24 10:33:35 -05:00
Brad Leege
d1a95e21a7
#1033 - Adding wifi network name attribute
2015-03-24 10:16:16 -05:00
Brad Leege
3e062d0e20
#1033 - Flush all events to server when app enters background
2015-03-24 10:02:13 -05:00
Justin R. Miller
b184a54434
don't stop/start map in related to style changes anymore since safe
2015-03-23 21:56:39 -07:00
Justin R. Miller
c5597ad6f1
annotations perf improvements & iOS app testing
...
squash of #1061
2015-03-23 20:49:02 -07:00
Brad Leege
99049dc6b5
#1033 - Moving map.load to background thread. Moving enabled.push to map.load event. Adding enabled.email check.
2015-03-23 19:32:34 -05:00
Brad Leege
11aef0d9d0
#1033 - Adding accessibilityFontScale attribute
2015-03-23 18:29:13 -05:00
Brad Leege
91cae4f44d
#1033 - Renaming LongPress to QuickZoom for gesture event
2015-03-23 17:36:36 -05:00
Brad Leege
26a3ef3c71
#1033 - Adding Push Enabled attribute
2015-03-23 17:31:30 -05:00
Brad Leege
9b6ea52722
#1033 - Adding map.dragend event
2015-03-23 17:13:47 -05:00
Brad Leege
a4332736f7
#1033 - Adding Gesture tracking for all 7 supported gestures. DRYing out code.
2015-03-23 16:42:01 -05:00
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
Thiago Marcos P. Santos
490c172b35
Delete the GLFWView object at exit
...
Also destroy the glfwWindow we create. This leak was probably harmless
but a nice cleanup helps us debug other serious memory leaks.
2015-03-20 14:38:08 +02:00
Minh Nguyễn
0cdf21c62d
Merge pull request #1020 from mapbox/init-bundled-style
...
API for initializing with bundled style
2015-03-19 13:39:05 -07: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
Thiago Marcos P. Santos
3254cdc85c
Log the Environment ID and the Thread name
...
To make it easier to debug, add the Environment ID and the Thread name
to the log messages. For instance log messages from the TileParser will look like:
[WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message
| | | |
| | | +-> Component
| | +--------------------> Thread name
| +----------------------------------> Environment ID
+------------------------------------------> Severity level
Log messages that are not inside an Environment::Scope will work
normally and will look like:
[WARNING] [JNI]: some relevant warning message
Fixes #882 .
2015-03-18 12:51:33 +01:00
Justin R. Miller
7b996012a5
Merge pull request #1012 from mapbox/1011-bundle
...
Look inside MapboxGL.bundle when present
2015-03-17 20:30:23 -07:00
Konstantin Käfer
48c55af5c1
fix sprites for pixel ratios that are not 1 and 2
...
- OpenGL ES 2 doesn't allow NPOT textures with wrap-around
- The Sprite object reported the map's pixelRatio, even though it loaded @2x assets
- Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
2015-03-17 12:30:40 +01:00
Minh Nguyễn
3ba72da74f
Look inside MapboxGL.bundle when present
...
Fixes #1011 .
2015-03-16 16:22:16 -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