Commit Graph

7032 Commits

Author SHA1 Message Date
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
Antonio Zugaldia
8dd8e01961 switch id to new layout mainMapView 2015-09-14 17:48:43 -04:00
Antonio Zugaldia
7d2f060887 match the new annotations version 2015-09-14 17:27:08 -04:00
Antonio Zugaldia
7756f7727c Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	android/java/MapboxGLAndroidSDKTestApp/build.gradle
2015-09-14 17:24:59 -04:00
Antonio Zugaldia
5c74d202d3 added info about Monkey 2015-09-14 17:18:52 -04:00
Antonio Zugaldia
9a0d12e142 basic espresso testSanity() working locally and on was device farm 2015-09-14 17:04:55 -04:00
Antonio Zugaldia
6f7aa10609 one more exclude required for testing 2015-09-14 17:04:10 -04:00
Antonio Zugaldia
e95d0e0303 tests documentation 2015-09-14 17:03:46 -04:00
Antonio Zugaldia
67586c13fc Specify AndroidJUnitRunner as the default test instrumentation runner 2015-09-14 16:08:00 -04:00
Antonio Zugaldia
6d18a2dd6e Bumped version to remove conflict with com.android.support:support-annotations versions for app (22.1.1) and test app (22.2.0). 2015-09-14 16:01:13 -04:00
Antonio Zugaldia
4a11c31275 #2317 - added testing dependencies 2015-09-14 12:51:40 -04:00
Antonio Zugaldia
b9d34b55e2 #2317 - README to set up and run Espresso testing 2015-09-14 12:45:59 -04:00
Konstantin Käfer
5ef7011089 don't delete the shaders before the program
some GPU drivers have issues with deleting shader objects that are attached to programs. while this is allowed by the spec, it seems that some drivers are crashing nonetheless.
2015-09-14 15:16:16 +02:00
Konstantin Käfer
6db8e65394 don't validate the program
it's not in a state where validation always succeeds with all drivers, e.g. because textures might not be attached yet
2015-09-14 15:15:08 +02:00
Bruno de Oliveira Abinader
9ff66acf61 Typo fix in README.md
Fixed URL typo for react-native-mapbox-gl.
2015-09-14 14:54:54 +03:00
Bruno de Oliveira Abinader
2156aa35ca [shader] bind() is now a pure virtual
- Shader::bind() now receives a GLbyte*
- BUFFER_OFFSET now uses GLbyte
2015-09-14 11:29:49 +03:00
Bruno de Oliveira Abinader
8d6b9696bf [shader] Moved 'a_pos' GL attribute to Shader
Avoids duplicated code in all derived classes.
2015-09-14 11:29:48 +03: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
Minh Nguyễn
6877888385 Increased precision of coordinate conversion methods
Fixes #2230.
2015-09-11 15:14:04 -07:00
Ansis Brammanis
b05f5c5f7f 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:13:45 -07:00
Leith Bade
7971861aa5 Add missing support libs 2015-09-11 15:13:28 -07:00
Leith Bade
2a03e32154 Update to Android build tools 23.0.1
Closes #2303
2015-09-11 15:13:23 -07:00
Leith Bade
d894bb7c10 Call cancelTransitions when setting map position, zoom level, or direction.
Fixes # 2296
2015-09-11 15:13:17 -07:00
Brad Leege
953fcfda8d #2293 - Removing Drawable 2015-09-11 15:12:39 -07:00
tobrun
f8ba99bf95 Changed title dialog 2015-09-11 15:12:25 -07:00
tobrun
a5ae3a57bc Moved icon to the right of Mapbox logo 2015-09-11 15:12:21 -07:00
tobrun
fcfefadfda Using AlertDialog from AppCompat instead of SDKs version 2015-09-11 15:12:16 -07:00
tobrun
c00687c932 Added "Improve this map" functionality, current zoom level, center latitude and longitude will be parsed in to the url of improve this map. 2015-09-11 15:12:12 -07:00
tobrun
4bdb0e2cc9 Added styling to the Attribution AlertDialog 2015-09-11 15:12:05 -07:00
tobrun
2a898ae853 Refactored ColorStateList of attribution control to a Drawable selector, added images responding to different states. 2015-09-11 15:12:01 -07:00
tobrunvannuland
7ce853acc7 Added save/restore state for CompassView, LogoView and AttributionView 2015-09-11 15:11:56 -07:00
tobrunvannuland
7341ada02e Added info icon and map box logo 2015-09-11 15:11:44 -07:00
Justin R. Miller
d57b47b1eb fixes #1675: abstract annotation tile refresh check/render; trigger post-sprite/sprite store load 2015-09-11 15:09:40 -07:00
Brad Leege
0da95e17c3 #2283 - Supporting custom InfoWindow touch listeners via Marker.setInfoWindowOnTouchListener(). Added Test to Custom Annotations in TestApp's MainActivity. 2015-09-11 15:09:22 -07:00
Leith Bade
038f2f5ea3 Switch to TextureView
Closes #2244
2015-09-11 15:08:15 -07:00
Brent Whitman
3631e14dd3 Fix regression on iOS 8, where map would stop updating if device was rotated while the app was in the background 2015-09-11 14:32:26 -07:00
Brent Whitman
7318dfaaec Leave GLview rendering on when app is inactive, to get nice smooth transitions between sizes when using multitasking on iPad (iOS 9). 2015-09-11 13:56:41 -07:00
Jason Wray
d9c7fdc565 [iOS] Fix MGLPolyline documentation typo 2015-09-11 16:34:10 -04:00