Commit Graph

5209 Commits

Author SHA1 Message Date
Justin R. Miller
d3b34f6448 update changelog for ios-v2.1.1 2015-09-15 11:08:29 -07:00
Justin R. Miller
6bfb18f075 update changelog for ios-v2.1.0 2015-09-14 18:40:42 -07:00
Justin R. Miller
ab1daf85ba [publish ios-v2.1.0] 2015-09-14 18:21:29 -07:00
Justin R. Miller
0fa2461371 update podspec for 2.1.0 final and no symbols 2015-09-14 18:20:47 -07:00
Justin R. Miller
be29ad1c10 [publish ios-v2.1.0-pre.4] 2015-09-11 15:34:43 -07:00
Justin R. Miller
b72acf5dc5 bump podspec to 2.1.0-pre.4 2015-09-11 15:33:17 -07:00
Jason Wray
b10ae77765 [iOS] Fix MGLPolyline documentation typo 2015-09-11 15:31:06 -07:00
Minh Nguyễn
f8ed28cca0 Increased precision of coordinate conversion methods
Fixes #2230.
2015-09-11 15:31:02 -07:00
Ansis Brammanis
26a5d128b4 increase precision for coordinate conversions
This fixes the earthquakes while panning at high zoom levels.

Cherry-picked from 9607171612c4a40e41eddaff5230ad571571a5b9 on the perspective-improved-gestures branch.
2015-09-11 15:30:57 -07:00
Jason Wray
b162d2cafa [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 15:30:50 -07:00
Jason Wray
60d68158a3 [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 15:30:40 -07:00
Jason Wray
b611c9bb7b [iOS] Move radians/degrees conversion functions to MGLGeometry.h 2015-09-11 15:30:35 -07:00
Jason Wray
182bd9723e [iOS] Initial user location puck 2015-09-11 15:30:30 -07:00
Justin R. Miller
db28ef37db fixes #1675: abstract annotation tile refresh check/render; trigger post-sprite/sprite store load 2015-09-11 15:29:35 -07:00
Jason Wray
7127cfebb5 Fix build, only ask for location permission on user's instigation
Previously in #2265 we would ask for location permission at app startup if `!settings->showsUserLocation`. #2193 0a172a21fd changed the way we used `NSUserDefaults` and mostly removed the `settings` object, which broke #2265.

Rather than fix our pestering location permissions ask at startup, this commit now only asks for location permissions when the user hits the locate-me button.

Once a user grants permission, the user dot appears because a `userTrackingMode` is set, `showsUserLocation` is permanently set to `YES` in `NSUserDefaults` and is restored at launch.
2015-09-11 15:29:24 -07:00
Justin R. Miller
a9ef04e218 [publish ios-v2.1.0-pre.3] 2015-09-07 15:32:23 -07:00
Justin R. Miller
b29ef4011e fix typo in iOS script 2015-09-07 14:45:11 -07:00
Justin R. Miller
72b75fab98 [publish ios-v2.1.0-pre.3] 2015-09-07 14:44:02 -07:00
Justin R. Miller
71bfaec131 bump podspec for ios-v2.1.0-pre.3 2015-09-07 14:43:26 -07:00
Justin R. Miller
704a4e499b #894 - only select/deselect markers on true single-tap 2015-09-07 12:09:48 -07:00
Justin R. Miller
7ed7729cf2 #894 - remove debug log 2015-09-07 12:09:48 -07:00
Justin R. Miller
bac590298a #894 - add lat/lon to marker snippets 2015-09-07 12:09:48 -07:00
Justin R. Miller
d394be0bb8 #894 - remove debug polyline 2015-09-07 12:09:48 -07:00
Justin R. Miller
9210a71fdf #894 - flip marker tap bounds to be top-biased 2015-09-07 12:09:48 -07:00
Justin R. Miller
1fd0cedfd6 #894 - properly extend tap bounds for marker selection 2015-09-07 12:09:48 -07:00
Brad Leege
e8d415367e #894 - Resetting height tolerance to 80 2015-09-07 12:05:50 -07:00
Brad Leege
8f98024f37 #894 - Flipping the Y value to make screen touch event locations line up with marker. Updating marker selection and deselection logic to allow for proper selection and reselection. 2015-09-07 12:05:49 -07:00
Brad Leege
77951eea93 #894 - Moving annotation selection determination to onSingleTapUp() to only run it when it's actual single tap. Fixing newSelectedAnnotationID to be greater than or equals to 0 to handle first annotation case 2015-09-07 12:05:49 -07:00
Brad Leege
902b80888f #894 - Initial port of selectAnnotation and removing auto display of InfoWindow on long press marker addition in TestApp 2015-09-07 12:05:49 -07:00
Brad Leege
4837a247e5 #894 - Initial port of selected annotation api 2015-09-07 12:05:49 -07:00
Brad Leege
f487fa1d5c #894 - Adding snippet text to marker 2015-09-07 12:05:49 -07:00
Brad Leege
1a21a0951a #894 - Closing InfoWindows when the map moves as alerted to via MapChange events 2015-09-07 12:05:49 -07:00
Brad Leege
d256087f04 #894 - Fixing imports from merge from master 2015-09-07 12:05:49 -07:00
Brad Leege
f3962b278f #894 - Placing InfoWindow directly on top of Marker sprite 2015-09-07 12:05:24 -07:00
Brad Leege
e52aa940de #894 - Getting InfoWindow view to measure itself before being added so that placement can be calculated 2015-09-07 12:05:24 -07:00
Brad Leege
f181f257f7 #894 - Updating Android Support Libraries to 23.0.1 2015-09-07 12:05:24 -07:00
Brad Leege
c094ae46ac #894 - Initial port of iOS method for aligning infowindows over markers 2015-09-07 12:05:24 -07:00
Brad Leege
1644f51873 #894 - Wiring up getTopOffsetPixelsForAnnotationSymbol in JNI 2015-09-07 12:05:24 -07:00
Brad Leege
43107687ae #894 - Placement of InfoWindow to marker location base 2015-09-07 12:03:33 -07:00
Brad Leege
10bbfe0164 #894 - Opening InfoWindow on long press in TestApp 2015-09-07 12:03:33 -07:00
Brad Leege
04f486cd7a #894 - Basic port of InfoWindow 2015-09-07 12:03:33 -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
Jason Wray
584c36f348 Update NSLocationWhenInUseUsageDescription string
Fixes #1930
2015-09-04 17:54:46 -04:00
Jason Wray
a07770450c Fix location permissions ask, add delay for map to load 2015-09-04 17:54:46 -04:00
Bobby Sudekum
77893249fc Merge pull request #2262 from mapbox/no-object
Return raw image buffer instead of an object
2015-09-04 16:17:02 -04:00
bsudekum
7cbf958c30 Add more tests to check for buffer 2015-09-04 12:24:54 -07:00
bsudekum
3db1421eb1 Return raw image buffer instead of an object 2015-09-04 12:01:34 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Leith Bade
e49ef97a50 Update LICENSE.MD
Closes #846
2015-09-04 10:38:03 -07:00