Commit Graph

152 Commits

Author SHA1 Message Date
tobrun
d371dd07cb Changed title dialog 2015-09-09 10:25:35 -07:00
tobrun
290a857b51 Moved icon to the right of Mapbox logo 2015-09-09 10:24:46 -07:00
tobrun
36a754a1fe Using AlertDialog from AppCompat instead of SDKs version 2015-09-09 10:24:46 -07:00
tobrun
e7398c16c1 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-09 10:24:46 -07:00
tobrun
9a6924435b Added styling to the Attribution AlertDialog 2015-09-09 10:24:46 -07:00
tobrun
f8b8ca7273 Refactored ColorStateList of attribution control to a Drawable selector, added images responding to different states. 2015-09-09 10:24:10 -07:00
tobrunvannuland
75aefb7f9d Added save/restore state for CompassView, LogoView and AttributionView 2015-09-09 10:23:51 -07:00
tobrunvannuland
ea0992b72f Added info icon and map box logo 2015-09-09 10:23:51 -07:00
Brad Leege
3f497ff9d2 #2283 - Supporting custom InfoWindow touch listeners via Marker.setInfoWindowOnTouchListener(). Added Test to Custom Annotations in TestApp's MainActivity. 2015-09-08 14:46:18 -05:00
Leith Bade
8f37502c71 Use MapView as parent for InfoWindow
See comment in #894
2015-09-08 14:01:53 +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
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
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
Justin R. Miller
e78eacefdb plumb map notifications through JNI to Android 2015-09-04 10:00:44 -07:00
Brad Leege
8322c18b39 #2182 - Updating compass imagery 2015-09-03 14:32:23 -05:00
Leith Bade
991b1a28fb Fix crash when using MapView access token constructor
Fixes #2197
2015-09-02 09:58:47 +10:00
Brad Leege
9784d7dd19 #2063 - Merging 2015-08-31 16:41:52 -05:00
tobrunvannuland
dabfec6ddc Added proguard config for SDK
Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file

Added proguard config for SDK, added thumb config for sample project

Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file

Added proguard config for SDK, added thumb config for sample project

Updated build.gradle from the SDK to correct use proguard file from a AAR library

Adjusted build.gradle sample app to use the thumb proguard file
2015-08-31 10:30:08 +02:00
Justin R. Miller
bcfce808ca implement annotation marker tap recognition in Android 2015-08-28 15:29:04 -07:00
Brad Leege
1424ce72a5 #2182 - Replacing existing iOS style compass with more Android style compass artwork 2015-08-26 17:25:30 -07:00
Brad Leege
ddf1250ca8 #934 - Removing onLocationChanged() log statement 2015-08-21 16:14:59 -05:00
Brad Leege
11a1957770 #934 - Removing duplicate compass.png file and centralizing in common drawable 2015-08-21 16:14:07 -05:00
Brad Leege
e91c21c284 #934 - Consolidating CallbackHandler due to API minimum being above Gingerbread 2015-08-21 15:51:26 -05:00
Brad Leege
a07fe3aecd #934 - Setting SDK Minimum to API 15. Removing TargetApi Annotations. 2015-08-21 15:46:16 -05:00
Brad Leege
b6d6e4c663 #934 - Raising Min SDK to API 10 2015-08-20 11:12:14 -05:00
Leith Bade
6ad2006d3f Improve support for Andrioid M
Checks for and requests runtime location permissions (fixes #2110)
Improved the styling of the location FAB
Removed redudant drawables
Fixed various Java and Android warnings and deprecated functions
A few other tweaks
2015-08-18 19:15:42 +10:00
Leith Bade
ac86ce39ad Fixes preview of Android Acticity in the Studio XML editor 2015-08-18 17:21:08 +10:00
Leith Bade
ea609df0c4 Update to Android API 23 for Android M
Closes #2104
2015-08-18 16:17:24 +10:00
Leith Bade
8e51c550b2 Adds getAnnotations to Android
Also adds Collections.unmodifiableList to returned lists from public methods
Fixes #1998
2015-08-18 11:29:21 +10:00
Leith Bade
e1291fe094 Fix state saving on Android 2015-08-17 17:29:51 +10:00
Leith Bade
39e1e81b8c Move validateAccessToken to onCreate 2015-08-17 15:38:07 +10:00
Leith Bade
adab9a6b3f Merge branch 'android-remove-apache' 2015-08-17 15:02:21 +10:00
Leith Bade
134f926eba Replace Apache URL validation with OkHTTP
Also add some missing MapView constructors.
2015-08-17 13:55:25 +10:00