Commit Graph

109 Commits

Author SHA1 Message Date
Leith Bade
698230c447 [android] Refactor annotations functions
Fixes #2539
2015-10-09 11:43:26 +11:00
Brad Leege
4f6f2c19fd [android] #2519 - Adding LatLon and XY data to Marker for display in InfoWindow. Added NavDrawer icon. 2015-10-08 16:43:56 -05:00
Brad Leege
8e324ddb21 [android] #2519 - Basic GUI infrastructure for Press For Marker test setup 2015-10-08 16:43:56 -05:00
Brad Leege
416a41a6b8 [android] #2462 - Removing checkable capabilities in NavigationDrawer due to current Support Library bug 2015-10-08 11:36:05 -05:00
Brad Leege
c04f34e362 [android] #2462 - Using static decimal formatter 2015-10-08 11:36:05 -05:00
Tobrun
090054af52 [android] #2462 removed unused log TAG 2015-10-08 11:36:04 -05:00
Tobrun
ba97c69845 [android] #2462 moving MapFragment into the SDK 2015-10-08 11:36:04 -05:00
Tobrun
fd45a206ec [android] #2462 refactored ApiAccess token setup 2015-10-08 11:36:04 -05:00
Brad Leege
237bb1b095 #2462 - Adding titles to different areas of navigation drawer for clearer navigation 2015-10-08 11:36:04 -05:00
Tobrun
4c4bfd2741 Added new icons for the new features 2015-10-08 11:36:04 -05:00
Tobrun
1c1821b463 Updated InfoWindowAdapter example, made it a bit more pretty, added toolbar to MapFragmentActivity 2015-10-08 11:36:04 -05:00
Tobrun
e673a26788 Made MapFragment work again, introduced new system to handle access token, updated MapFragmentActivity example 2015-10-08 11:36:04 -05:00
Tobrun
209d20664c Added Map fragment example, cleanup 2nd MapActivity, format AndroidManifest 2015-10-08 11:36:03 -05:00
Tobrun
4c0494827f Moved loading of access token to Util 2015-10-08 11:36:03 -05:00
Tobrun
0b23eb1204 Renamed SecondMapActivity to InfoWindowAdapterActivity 2015-10-08 11:36:03 -05:00
Tobrun
d475b1cc0f Formatting commit 2015-10-08 11:36:03 -05:00
Leith Bade
d42bf35f06 [android] Add OnMapClickListener, onMapLongClickListener
Marker click centers map on marker
Fixed up variable names
Closes #2507
Flip Y coordinate in to/fromScreenLocation
Fixes #2519
2015-10-06 08:35:11 +11:00
Tobrun
02bc2bd7be Add InfoWindowAdapter, had to move some parts in InfoWindow + Marker
InfoWindowAdapter example in sample app
2015-10-02 15:09:23 +02:00
Nicki Dlugash
21b42eea44 [ios] [android] Add default marker sprites 2015-10-02 16:53:11 +10:00
Tobrun
6d3426191b Add OnMarkerClickListener, added example in test app 2015-10-02 14:21:42 +10:00
Leith Bade
623fec3687 [android] JavaDoc quest in MapView part 2
For #2002
2015-10-02 13:55:53 +10:00
Brad Leege
65e78f308b Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-01 15:44:48 -05:00
Tobrun
f43e01bb3c Initial native add markers implementation
Added addMarkers to jni.ccp, exposed addMarkers in MapView, updated example using this new method
2015-10-01 21:36:13 +02:00
Brad Leege
c6d9fda61f #2486 - Renaming root Java package from com.mapbox.mapboxgl to com.mapbox.mapboxsdk 2015-10-01 14:23:36 -05:00
Brad Leege
db2afca078 #2414 - Removing Crashlytics NDK integration as it's preventing TestApp from running 2015-09-24 10:11:58 -05:00
Leith Bade
db6a08d8ca Add Crashlytics NDK to Android
Closes #2107
2015-09-23 11:19:58 +10:00
Leith Bade
feae692dba Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:23:39 +10:00
Antonio Zugaldia
7e30025abb Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	src/mbgl/util/geojsonvt
2015-09-15 17:58:36 -04:00
Antonio Zugaldia
3f837ecd94 added permission to save tests screenshots 2015-09-15 14:17:46 -04:00
Leith Bade
cdafaf49cf Add missing support libs 2015-09-11 15:47:28 +10:00
tobrun
9a6924435b Added styling to the Attribution AlertDialog 2015-09-09 10:24:46 -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
Justin R. Miller
bac590298a #894 - add lat/lon to marker snippets 2015-09-07 12:09:48 -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
f487fa1d5c #894 - Adding snippet text to marker 2015-09-07 12:05:49 -07:00
Brad Leege
10bbfe0164 #894 - Opening InfoWindow on long press in TestApp 2015-09-07 12:03:33 -07:00
Brad Leege
76e94fdb2d #2194 - Removing elevation due to drop shadow issue 2015-08-27 13:31:07 -07:00
Leith Bade
6966addb8d Use v8 styles on Android.
Closes #2165
2015-08-25 11:48:49 +10:00
Leith Bade
4dd16a7e7f Add missing Andorid support design library dependency
Fix various warning
2015-08-19 13:03:20 +10: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
ea609df0c4 Update to Android API 23 for Android M
Closes #2104
2015-08-18 16:17:24 +10:00
Leith Bade
e1291fe094 Fix state saving on Android 2015-08-17 17:29:51 +10:00
Brad Leege
50ea965b93 #1856 - Readding the removal of Shadow for Lollipop using borderWidth and elevation 2015-08-12 18:29:17 -05:00
Brad Leege
05a7e29d2f #1856 - Getting menu item checked based on style selection 2015-08-12 17:21:50 -05:00
Brad Leege
9b975c267a #1856 - Adding My Location icons for FAB 2015-08-12 11:52:28 -05:00
Brad Leege
1c74bc23c3 #1856 - Setting more detailed zoom level for location toggle on centering 2015-08-12 11:17:44 -05:00
Brad Leege
f5a95e18d9 #1856 - Enabling and setting clickable state for features in Navigation Drawer menu 2015-08-12 11:13:33 -05:00
Brad Leege
91cf989d8c #1856 - Move Map display to user location when location is enabled 2015-08-12 10:33:35 -05:00
Brad Leege
c1d796bbc1 #1856 - Added CoordinatorLayout back in to support Snackbar widget 2015-08-11 16:16:13 -05:00
Brad Leege
5b787455dd #1856 - Using fixed Toolbar with no content scrolling underneath 2015-08-11 15:26:24 -05:00