Commit Graph

5211 Commits

Author SHA1 Message Date
Leith Bade
d2d3df2a69 Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:40:04 +10:00
Leith Bade
da691dcbb5 Remove Android style URL validation
Fixes #2370
2015-09-21 15:01:53 +10:00
Leith Bade
4b587603b3 Create SharedSQLiteCache 2015-09-16 15:09:23 -04: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
Leith Bade
1f585c2a60 Use MapView as parent for InfoWindow
See comment in #894
2015-09-08 16:05:58 +10: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