Commit Graph

438 Commits

Author SHA1 Message Date
Jason Wray
17121563ac [ios] fix simulator crash on optional CoreTelephony code
Fix #2687
2015-10-21 18:47:00 -04:00
Minh Nguyễn
a4d8b373f3 [ios] Notify delegate during rotate and pitch gestures 2015-10-21 12:39:28 -07:00
Minh Nguyễn
a30add62f9 Merge remote-tracking branch 'Hitta/fixed-notification' into 1ec5-changing-2373 2015-10-21 12:28:36 -07:00
Leith Bade
717cbd32ad Update metrics test server SSL certificate 2015-10-21 10:04:11 -07:00
John Firebaugh
c5b95032a5 [core] Annotation refactor 2015-10-20 13:54:19 -07:00
Jason Wray
28be82c1c1 [ios] remove CoreTelephony dependency
Cellular carrier name and connectivity level will now only be sent if
the developer independently chooses to link the CoreTelephony framework
in their app.
2015-10-19 13:52:28 -04:00
Justin R. Miller
24aa375cd1 [ios] tweaks to match code style for 1a5c452 callout tap handler 2015-10-12 11:02:04 -07:00
Maciej Swic
1a5c452fe3 Forwards the SMCalloutView tap delegate 2015-10-12 10:54:53 -07:00
Jason Wray
6fb9c439bd [iOS] Remove wifi SSID from metrics
Wifi SSID was never stored and was only used for additional verification
of wifi networkedness. Instead, we now do this on device and don't need
the SSID name.

IDFA was previously included in metrics events if the AdSupport framework was
linked.
2015-10-08 09:14:41 -07:00
Jason Wray
a5e34a2bc8 [ios] Don't disable user tracking on setDirection: or quick zoom gesture 2015-10-05 12:15:54 -04:00
Justin R. Miller
8cc3b12f1e [ios] fixes #2490: add annotation image enabled property 2015-10-02 11:50:53 -07:00
Nicki Dlugash
21b42eea44 [ios] [android] Add default marker sprites 2015-10-02 16:53:11 +10:00
Justin R. Miller
40b29a5ce4 [ios] refactor annotation map table name 2015-10-01 17:03:51 -07:00
Mike Morris
b46c102eb0 mason variant@1.0 2015-09-30 15:34:40 -07:00
Jason Wray
ed702a68e5 Make quickzoom zoom slightly more quickly 2015-09-25 12:52:17 -04:00
Jason Wray
417f26fba6 Quicken quick zoom gesture
Double tapping and holding, then moving up/down will now immediately zoom out/in.
2015-09-25 12:52:17 -04:00
Jason Wray
01ff7b1735 Reverse quickzoom up/down zooming to be out/in 2015-09-25 12:52:17 -04:00
Justin R. Miller
15cffcd3a2 fixes #2350: remove iOS-specific SQLite cache wrapper 2015-09-23 15:46:32 -07:00
Maciej Swic
aa30c20d88 Added region change notification to quick zoom 2015-09-22 08:44:24 +02:00
Maciej Swic
ffb2ccde1c Notify map change on pinch as well 2015-09-21 13:14:35 +02:00
Maciej Swic
c1f425731c Fixed incorrect notification 2015-09-21 11:33:54 +02:00
Jason Wray
7782802f37 [iOS] Remove unneccessary pitch check
Fix case where moving the tilted dot off-screen, changing the pitch to 0, and then moving the dot back on screen would not reset the pitch of the dot.
2015-09-11 11:36:32 -07:00
Jason Wray
2a300bd425 [iOS] Pitch the dot, add faux 3D effect to tilted dot and puck
This exposes the naïveté of the current pitch transform: accuracy ring sizing stays constant, despite vertical screen movement. Still, it looks better pitched than not.
2015-09-11 11:36:32 -07:00
Jason Wray
c34d62aca2 [iOS] Move radians/degrees conversion functions to MGLGeometry.h 2015-09-11 11:36:32 -07:00
Jason Wray
c8e80595d8 [iOS] Initial user location puck 2015-09-11 11:36:32 -07:00
Minh Nguyễn
7b93107869 Corrected roundtripping altitude with rotation 2015-09-07 09:22:53 -07:00
Minh Nguyễn
0a172a21fd CameraOptions
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level.

Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course.

Support customizable timing functions on iOS.

iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation.

Fixes #1643, fixes #1834. Ref #1581.
2015-09-07 09:22:52 -07:00
Justin R. Miller
cb730d3973 assert() -> NSAssert() for user-facing annotation API 2015-09-04 09:16:26 -07:00
Justin R. Miller
790e8a345c refs #2039: add passthroughs for adding/removing overlays 2015-09-04 09:16:26 -07:00
Bruno de Oliveira Abinader
0b501e0566 Substitute nudgeTransitions with async view invalidation 2015-09-02 23:20:46 +03:00
Mike Morris
322e1aa2c3 Merge pull request #2179 from mapbox/node
Node bindings
2015-09-02 15:46:43 -04:00
Jason Wray
9c1c40b3e5 Add iOS resources README, reminder to minimize image sizes
Ref #2227
2015-09-02 13:17:53 -04:00
Jason Wray
4d5a4d27f1 Optimize bundled images' file sizes
Saves 8KB, because we care.
2015-09-01 13:38:52 -04:00
John Firebaugh
abc1c84fb8 Merge branch 'master' into node 2015-08-31 16:45:21 -07:00
Minh Nguyễn
c6e3ed8c66 Updated title of attribution action sheet 2015-08-28 16:15:51 -07:00
Jason Wray
42dc5336db iOS perspective gesture support
Drag two fingers upward to tilt the map.

Implements #2116
2015-08-26 11:23:03 -07:00
Minh Nguyễn
2f30dfe97d Disable heading updates for .FollowWithCourse
Fixes #2180.
2015-08-26 10:10:49 -07:00
Jason Wray
92d9308eb8 Ask for 'always' location permissions, too 2015-08-25 14:59:17 -07:00
Mike Morris
4540c3c0e8 View::swap -> View::beforeRender View::afterRender
To be able to resize the framebuffer on the map thread
in HeadlessView.
2015-08-25 14:39:49 -04:00
Justin R. Miller
c6aee1aadd update iOS first steps guide URL 2015-08-24 13:18:24 -07:00
Justin R. Miller
92dd26c8be iOS app/framework fixes for v8
- Mapbox Streets -> Streets
 - style version from string to integer
 - 7 -> 8
2015-08-24 11:34:03 -07:00
Justin R. Miller
3f99f5e712 GL is the library, SDK is the product 2015-08-21 11:01:07 -07:00
Minh Nguyễn
bfd17e2d27 Avoid deprecated CLLocationManagerDelegate method
Fixes #2097.
2015-08-18 09:30:30 -07:00
Justin R. Miller
d3160ca4db fixes #1907: skip MGLPolyline/MGLPolygons with zero points 2015-08-17 12:22:41 -07:00
Minh Nguyễn
dfeb479011 MGLUserTrackingModeFollowWithCourse
Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed.

Fixes #1605.
2015-08-14 10:09:43 -07:00
Justin R. Miller
772238a229 fixes #2044: add -showAnnotations:animated: 2015-08-12 14:45:37 -07:00
Justin R. Miller
01b5636df0 fixes #1951: check for support of title before querying 2015-08-11 15:10:55 -07:00
Jason Wray
dc11b8132b Improve accuracy ring update checks 2015-08-10 17:36:23 -04:00
Jason Wray
26d300b4f4 Refactor user location annotation
Adds:
- Accuracy ring
- Heading indicator

Fixes:
- Pulse sync
- Visual appearance (removes slight aliasing)

Closes #1222 (squashed)
2015-08-10 17:36:22 -04:00
Bruno de Oliveira Abinader
fa4636ffe4 Map::nudgeTransitions no longer depends on client information
Clients no longer need to provide data (eg. if gesturing or in a custom
animation) to Map::nudgeTransitions().

Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData
allows thread-safe communication between Map and MapContext.
2015-08-05 15:19:00 +03:00