Commit Graph

468 Commits

Author SHA1 Message Date
Justin R. Miller
dafce83acd Merge pull request #1192 from mapbox/location-and-docs-tweaks
improvements to iOS docs & user location framework
2015-04-02 17:50:32 -07:00
Justin R. Miller
dbd22ae61a reverting to title/subtitle setters for user location 2015-04-02 17:12:05 -07:00
Justin R. Miller
9a416c449c Improvements to docs & user location framework.
* Cleans up & documents more APIs, especially in location.
 * Moves `coordinate` internal and makes use of `location` to retrieve it.
 * Moves `title` & `subtitle` internal since part of `MGLAnnotation` protocol.
 * Enables `isUpdating` by privately associating weakly with a map view.
2015-04-02 16:58:24 -07:00
John Firebaugh
12c07b916b Rework easing transition code
This brings the easing transition code a bit closer to how easings work
in gl-js. Instead of having an array of individual transitions for scale,
rotate, and pan, there is a single transition function that does all the
required calculations. This permits us to:

* Eliminate the "timeout" transition. (Fixes #126)
* Replace start/stopPanning() et al with setGestureInProgress(). Apps or
  SDKs are expected to make paired calls to setGestureInProgress(). This
  state will be ORed with the active easing state to determine when to
  use texture interpolation. (Fixes #79)
* Run style recalculations only when an ease transition that affects the
  zoom is in progress. (Fixes #1155)
2015-04-02 16:12:29 -07:00
Brad Leege
418c802d97 #1178 - Changing "Location" to "location" 2015-04-02 10:34:35 -05:00
Brad Leege
adcbf48ff5 #1162 - Adding appBundleId as an event attribute 2015-03-31 09:46:28 -05:00
Justin R. Miller
33f14328c4 move to actual NSURL type 2015-03-30 22:30:06 -07:00
Justin R. Miller
2782a8ce5b refs #892: Cocoa support for map ID style URLs 2015-03-30 22:09:47 -07:00
Justin R. Miller
a8833c34d4 fixes #892: support mapbox:// style URLs 2015-03-30 15:33:02 -07:00
Minh Nguyễn
3ed1e7a695 Merge pull request #1149 from mapbox/1ec5-subview
Child GLKView should be bottommost child
2015-03-30 10:52:15 -07:00
Justin R. Miller
ac3ba85120 refs #1125: user dot improvements
* more quickly unhide dot when nearing viewport
* improvements to maintaining user tracking mode during tap zooms
* removed a redundant layer hide
* better at ignoring bad location data
* be sure to use existing coordinate utilities
2015-03-27 19:45:58 -07:00
Brad Leege
a325cb98b5 #1134 - Removing enabled.email metric and supporting infrastructure 2015-03-27 19:25:59 -05:00
Minh Nguyễn
653724e68d Child GLKView should be bottommost child
Otherwise, any subviews added to an MGLMapView in a XIB or storyboard are completely obscured by the GLKView.
2015-03-27 16:34:11 -07:00
Brad Leege
2f92fa9125 #1144 - Removing conversion of (char)0 and (char)1 to false and true strings 2015-03-27 15:03:02 -05:00
Justin R. Miller
215a7c4b2b only recognize the end state of single taps 2015-03-27 11:12:50 -07:00
Justin R. Miller
2822dd5b62 track metrics for gestures once upon begin 2015-03-27 11:06:04 -07:00
Brad Leege
caf970eab7 Merge pull request #1138 from mapbox/1124-both-ids-take-2
Resplitting anonid into advertiserId and vendorId
2015-03-27 12:49:28 -05:00
Brad Leege
b01aef1c7b #1124 - Resplitting anonid into advertiserId and vendorId 2015-03-27 11:30:20 -05:00
Justin R. Miller
2066e201ea Merge remote-tracking branch 'origin/master' into 1128-convert-booleans 2015-03-27 09:00:07 -07:00
Justin R. Miller
1a8d6445d1 convert metrics BOOLs to strings internally 2015-03-27 00:17:42 -07:00
Justin R. Miller
b330dbe779 no need to iterate passed dictionary 2015-03-26 23:42:29 -07:00
Justin R. Miller
bf3c87b17f more metrics magic strings removals 2015-03-26 23:31:08 -07:00
Justin R. Miller
29cd6b4978 convention cleanups for main thread variable; use class method 2015-03-26 23:00:57 -07:00
Justin R. Miller
0350216d34 Merge remote-tracking branch 'origin/master' into metrics-stability-squash 2015-03-26 22:37:31 -07:00
Justin R. Miller
83f083c7b5 fixes #1116: metrics stability & performance refactor 2015-03-26 21:27:56 -07:00
Jason Wray
c4d19203b7 iOS 7 isRegisteredForRemoteNotifications support 2015-03-26 20:24:22 -07:00
Minh Nguyễn
6680669716 Safely call -[UIApplication isRegisteredForRemoteNotifications]
Fixes #1117.
2015-03-26 15:44:58 -07:00
Minh Nguyễn
00d2cbe5cb Updated nfarina/calloutview to 2.1.2
Resolves several warnings via nfarina/calloutview#78 and nfarina/calloutview#79.
2015-03-26 15:16:20 -07:00
Minh Nguyễn
32aa865f14 Merge branch 'ios-unused'
Left in MGLTypes.h, which is now a platform-neutral (iOS + OS X) place for MGLUserTrackingMode.
2015-03-26 15:12:15 -07:00
Justin R. Miller
c5eaa325ca Merge pull request #1112 from mapbox/1109-ui-blocking
avoid bogging down UI thread with metrics
2015-03-25 21:45:28 -07:00
Justin R. Miller
b04f68be91 unique queue names per process & with bundle ID 2015-03-25 21:18:11 -07:00
Brad Leege
aa1eabe230 #1109 - Converting pushEvent and flush to use actual serial queues that are dispatched asynchronously. 2015-03-25 21:53:01 -05:00
Brad Leege
b06e8c8dfc #1109 - Wrapping event flush method in sync background thread. 2015-03-25 21:07:08 -05:00
Brad Leege
53090afecb #1109 - Putting the event generation and process logic for pushEvent into a serial background thread. 2015-03-25 21:04:12 -05:00
Brad Leege
dc838a9fc6 #1109 - Changing priority queue for map.load event. Fixing pushEvent call misplacement. 2015-03-25 20:42:50 -05:00
Brad Leege
4408f4260b #1109 - Wrapping gesture event logic in background queue 2015-03-25 20:35:51 -05:00
Justin R. Miller
4cff2bad85 deselect user dot during location moves (for now) 2015-03-25 18:16:39 -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
c7b8cb1477 Assume UTF-8–encoded symbol name
Followup to 00245a92be (#1107).
2015-03-25 15:44:37 -07:00
Minh Nguyễn
00245a92be Merge branch '1068-encoding' 2015-03-25 15:40:40 -07:00
Minh Nguyễn
a0060a894d Merge pull request #1079 from mapbox/90-dog
Update Mapbox 🐶
2015-03-25 09:39:53 -07:00
Justin R. Miller
0bd7a4d808 Merge pull request #1088 from mapbox/ios-callouts-final
refs #894, fixes #1074: callout views for iOS
2015-03-24 20:04:05 -07:00
Brad Leege
7d37731102 Changing wifi ssid "<<NONE>>" to "NONE" to be consistent with getCurrentCellularNetworkConnectionType 2015-03-24 20:48:52 -05:00
Brad Leege
fc4fbfd1bc Adding cellularNetworkType attribute 2015-03-24 20:47:50 -05:00
Justin R. Miller
10a30daed6 refs #894, fixes #1074: callout views for iOS 2015-03-24 18:43:24 -07:00
Brad Leege
d699815386 Changing "deviceTimestamp" to "created". 2015-03-24 19:38:14 -05:00
Brad Leege
033f83b1a8 Removing logging from development / testing phase. Removing Settings bundle work from MGLMetricsLocationManager as it's handled in MGLMapboxEvents. 2015-03-24 19:34:27 -05: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
Minh Nguyễn
d1d4c007a2 Updated Mapbox DOG
Kept the 🐶 (Digital Onscreen Graphic) in the same location, so that the bottom edge of the baseline’s outline remains aligned with the bottom of the  ℹ︎⃝ graphic.

Fixes #90.
2015-03-24 10:29:05 -07: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