Justin R. Miller
c7011345c9
remove logging
2015-07-08 19:46:04 +02:00
Justin R. Miller
a1c2529e33
runtime imagery based on annotation title
2015-07-08 19:46:04 +02:00
Justin R. Miller
e0da13dbfd
fixes for runtime Cocoa imagery
2015-07-08 19:46:04 +02:00
Justin R. Miller
5ab58deb44
Cocoa custom marker imagery API
2015-07-08 19:46:03 +02:00
Justin R. Miller
bd0bf294bf
squash of #1655 : shape annotations support for core & iOS
2015-06-15 18:30:39 -07:00
Minh Nguyễn
256b748458
Merge branch '1ec5-plist-1535'
2015-05-20 14:38:36 -07:00
Brad Leege
5572504d38
Merge pull request #1589 from mapbox/1396-info-plist-only
...
Manage Metrics TEST URL Via Info.plist
2015-05-18 21:40:26 -05:00
Minh Nguyễn
b7b4515d48
Marked unused parameters with __unused
...
Replaced haphazard usage of pragmas and `(void)` expressions with the `__unused` keyword.
2015-05-18 17:11:12 -07:00
Brad Leege
fa34b53964
#1396 - Refactoring Metrics Test Server URL configuration to be drive via Info.plist
2015-05-18 18:15:15 -05:00
Minh Nguyễn
2c7d0567fa
Privatized MGLMapboxEvents
...
`-pauseMetricsCollection` and `-resumeMetricsCollection` were originally introduced to mitigate concerns around battery usage, but `MGLMapboxEvents` has since evolved to tread much lighter on the battery. There’s no longer any need for the client to call these methods directly. The iOS test project now includes MGLMapboxEvents.h explicitly to avoid having to package a header that will go unused.
2015-05-18 11:55:54 -07:00
Minh Nguyễn
0ad76c95d2
Obsoleted +setMapboxMetricsEnabledSettingShownInApp:
...
Made `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]` unavailable, with a message explaining what to do instead. Removed a commented-out call to that method. Only the environment for an access token if one hasn’t already been set in Info.plist.
2015-05-13 22:33:03 -07:00
Brad Leege
8548ab0346
#1516 - Adding public setter method to MGLAccountManager.h. Fixing example signal opt out in MBXAppDelegate.
2015-05-12 11:37:40 -05:00
Brad Leege
48e21ae6e9
#1516 - Adding explicit checks for developer implementation of user Opt Out functionality
2015-05-11 23:31:22 -05:00
Minh Nguyễn
bb788f56f2
Renamed settings keys
...
The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
2015-05-08 11:51:48 -07:00
Brad Leege
804c092c81
#1225 - Simplifying MGLAccountManager for initial setup and access to AccessToken
2015-05-05 11:50:01 -05:00
Brad Leege
4ce4e979ff
Updating from master
2015-05-04 17:04:46 -05:00
Brad Leege
0e36bf1c8d
#1225 - Restoring MapboxGL.h as an Umbrella header file by splitting the singleton code into MGLAccountManager.h and .m
2015-05-04 16:13:18 -05:00
Konstantin Käfer
473aa281c7
make meta-target for all iOS targets too and split up project.gyp
...
this will make it easier to add more targets to iOS builds in the future. It'll also help by having Xcode files named after the platform they're for, so it's easier to distinguish windows
2015-04-28 16:16:09 +02:00
Minh Nguyễn
5ffa52cab5
Automatically find view controller for layout guides
...
Find the managing view controller by traversing the responder chain.
2015-04-27 15:52:30 -07:00
Brad Leege
50fecb916d
#1345 - Adding app build number to user agent. Updating gl test app build number to be different from build version.
2015-04-27 11:43:23 -04:00
Brad Leege
7e145780eb
#1225 - Initial conversion of Mapbox GL app to set access token in AppDelegate and exposing MGLMapView.initWithFrame to support it
2015-04-23 18:15:01 -05:00
Justin R. Miller
190709c6b1
fixes #1157 , #1255 : cache parsed tiles in memory
2015-04-16 01:15:41 -07:00
Justin R. Miller
32e5196373
change default style to Streets
2015-04-10 16:38:49 -07:00
Justin R. Miller
18ef67b002
Revert "Override file name for Mapbox Streets style JSON"
...
Mapbox Streets has stock naming again; reverting. Easier
to ensure we name properly than build in logic.
This reverts commit 0b35a88708 .
2015-04-10 16:34:42 -07:00
Justin R. Miller
159ffddefd
show Dark style in demo app
2015-04-09 23:45:04 -07:00
Minh Nguyễn
fc3802eddb
Merge pull request #1239 from friedbunny/locate-button
...
Add simple tracking mode button to demo app
2015-04-09 09:56:01 -07:00
Jason Wray
be599fa385
Animate the thing, I'm not an animal
2015-04-09 00:03:17 -07:00
Jason Wray
56cd674077
Add simple tracking mode button to demo app
2015-04-08 23:44:57 -07:00
Minh Nguyễn
0b35a88708
Override file name for Mapbox Streets style JSON
...
Some styles have nonstandard file names that don’t end with “-v7”. This commit adds a special case for Mapbox Streets that can be extended in the future for other styles.
Ref #1228
2015-04-08 17:29:58 -07:00
Justin R. Miller
b2c232a1f7
fixes #1228 : bring in Streets & Light & update styles pin
2015-04-08 10:31:48 -07:00
Brad Leege
da106045f4
#1216 - Commenting out pause / resume test hooks
2015-04-07 16:19:33 -05:00
Brad Leege
ec0052bd4e
#1216 - Documenting use of pauseMetricsCollection and resumeMetricsCollection
2015-04-07 16:18:38 -05:00
Brad Leege
e86597011f
#1216 - Added test usage of pausing / resuming Metrics to simulate app entering background mode and no other location manager running. Added paused state checking to pauseMetricsCollection and resumeMetricsCollection
2015-04-07 15:53:17 -05:00
Minh Nguyễn
e18e4b0de5
Removed redundant initializers and setters
...
This change removes most of the ways you used to be able to apply a style to the map. Building on #1163 , `styleURL` (HTTP(S), mapbox:, asset:) is the canonical way to apply a style, and `mapID` is a convenient shorthand for Mapbox-hosted styles. A relative style URL is interpreted as a path relative to the app’s main bundle. We now construct asset: URLs in lieu of “bundled style names”.
2015-04-03 12:14:51 -07:00
Minh Nguyễn
6a1e7d5707
Fixed race condition after setting access token
...
`Map` should be able to deal with having no access token or JSON even while it’s running. Most of `Map` accounts for this situation, but `reloadStyle()` incorrectly assumes that one or the other is set. This change corrects the assumption in `reloadStyle()`.
Also expose the access token and style name to clients as ordinary KVO-compliant properties. Actually, they’re not so ordinary because they’re inspectable!
Ref #1070 , #1147
2015-04-03 12:07:53 -07:00
Minh Nguyễn
44d360501e
Polished privacy settings
...
Added footer text to explain the purpose of the Mapbox Metrics setting. Added strings from the plist to an existing unused .strings file and converted that .strings file to UTF-8 for diffability.
2015-04-02 12:43:32 -07:00
Minh Nguyễn
501f9701cd
Merge pull request #1105 from mapbox/1099-gyp-deps
...
Enable modules in iOS demo app
2015-03-26 10:35:34 -07:00
Justin R. Miller
f3058dbc9a
closes #1082 , refs #756 : user dot on map in iOS
2015-03-25 17:48:22 -07:00
Minh Nguyễn
de9255f002
Enabled modules in iOS demo app
...
No longer need to explicitly link system frameworks like UIKit.
2015-03-25 15:07:35 -07:00
Brad Leege
788c95a115
#1095 - Adding Settings.bundle to project generation
2015-03-25 12:34:40 -05:00
Justin R. Miller
10a30daed6
refs #894 , fixes #1074 : callout views for iOS
2015-03-24 18:43:24 -07:00
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
708ae14468
#1033 - Reverting to Metrics Enabled Preference in System.app
2015-03-24 11:41:47 -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
Justin R. Miller
c5597ad6f1
annotations perf improvements & iOS app testing
...
squash of #1061
2015-03-23 20:49:02 -07:00
Justin R. Miller
0e2d6c8277
fixes #1053 : umbrella Cocoa header
2015-03-22 12:25:10 -07:00
Justin R. Miller
ecb8e2800d
Cocoa annotations API
2015-03-22 00:53:36 -07:00
Peter Liu
a1a7ab62e1
add emerald
2015-03-20 18:31:12 -07:00