Commit Graph

707 Commits

Author SHA1 Message Date
Leith Bade
be817260d7 [android] Implement Parcelable annotations
Fixes #2638
2015-10-30 09:23:56 +11:00
Leith Bade
6bb709ef42 [android] Update test app icon
Fixes #2838
2015-10-28 22:36:35 +11:00
Tobrun
8fdc033eab [android] #2797 - addLocationBearing part one 2015-10-28 11:22:50 +01:00
Leith Bade
a2ac435171 [android] Grey out GPS marker when location is stale
Fixes #2694
2015-10-28 21:10:13 +11:00
Tobrun
a67645cb39 [android] #2224 inflate children map view through xml
[android] - #2224 make UserLocationView inflatable through xml. using setter to attach MapView

[android] #2224 - renamed fragment layout file, reordered views in layout file map view
2015-10-28 07:28:19 +01:00
Leith Bade
3e999eeda0 [android] Remove NullPointerException from MapView
Fixes #2831
2015-10-28 14:11:24 +11:00
Leith Bade
bd0f5ae5e2 [android] Fix NullPointerException in editor mode
Fixes #2830
2015-10-28 11:10:11 +11:00
Tobrun
f3ffb45cf6 [android] #2809 - addPolylines and removeAnnotations in JNI, added feature activity + sanity test case 2015-10-27 11:16:55 +01:00
Leith Bade
5f081701df [android] Improve Javadoc for the new MapView methods. 2015-10-27 08:52:45 +11:00
Brad Leege
e257ad284b [android] #2801 - Spelling fix for log statement 2015-10-26 13:42:10 -05:00
Brad Leege
ff07d32ca6 [android] #2801 - Log null centerCoordinate instead of throwing NullPointerException 2015-10-26 13:42:09 -05:00
Leith Bade
5406048a57 [android] Use hi res icons in test app menu 2015-10-26 23:19:38 +11:00
Leith Bade
5e5348c286 [android] Remove unused permission 2015-10-26 23:18:17 +11:00
Tobrun
a638b8ed38 [android] #2758 - add my location tracking mode 2015-10-26 11:52:34 +01:00
Tobrun
388636b058 [android] #2726 - finalise BulkAddMarkers activity 2015-10-26 10:53:14 +01:00
Tobrun
bf8c5feb0b [android] #2726 - moved utility classes to separate package 2015-10-26 10:53:14 +01:00
Tobrun
8ca818f1ce [android] #2523 - fix toolbar alignment issue 2015-10-25 10:22:12 +01:00
Brad Leege
a48a5ee161 #2784 - Restoring API minimum to 15 for TestApp 2015-10-24 21:55:18 -05:00
Brad Leege
17d9461bfb #2784 - Restoring API minimum to 15 2015-10-24 21:51:28 -05:00
Leith Bade
39911e581c [android] Move android files
Fixes #2032
2015-10-25 01:07:16 +11:00
Leith Bade
d2e01290eb [android] Remove the WRITE_EXTERNAL_STORAGE permission from test app
Fixes #2655
2015-10-25 00:01:18 +11:00
Leith Bade
6c71e12963 [android] Use ViewCompat in CompassView for pre-Jelly Bean animation 2015-10-24 18:54:31 +11:00
Leith Bade
28113d92e7 [android] Use new GPS markers.
Add missing dpi for mapbox logo and compass.
Fixes #2732
Fixes #2690
2015-10-24 03:28:16 +11:00
Tobrun
ba4a2965c7 [android] #2751 - added sanity tests for feature activities 2015-10-23 16:59:57 +02:00
Leith Bade
4af9797994 [android] Use hardware layer for compass fade
Set minimum API level to 14 (don't know why it 15)
Set test app version to 2.2.0
2015-10-24 00:43:44 +11:00
Leith Bade
e1d66a7aac [android] Fix disabling compass
Fixes #2752
2015-10-23 21:04:24 +11:00
Leith Bade
1240f9a019 [android] Test max 27.4k markers
Add timing logging
For #2726
2015-10-23 20:58:11 +11:00
Tobrun
0ff57342fd [android] #2748 - added a coordinatebounds unit test 2015-10-23 10:07:49 +02:00
Leith Bade
267e33ba5a [android] Add SpriteFactory.drawable for custom markers
Used in InfoWindowAdapter activity
Fixes #2744
2015-10-23 17:06:20 +11:00
Leith Bade
54762825b0 [android] Fix JNI local ref overflow
Change test to 1000 markers
For #2726
2015-10-23 16:40:44 +11:00
Leith Bade
f71d61fa91 [android] Add missing satellite streets style to Android and iOS.
As well as default_styles.cpp
Fixes #2739
Fixes #2740
2015-10-23 14:09:24 +11:00
Brad Leege
7a51a53cac [android] #2689 - Setting new 2.2.0-SNAPSHOT version for development 2015-10-22 16:01:25 -07:00
John Firebaugh
3afc8b4a29 [core] Introduce StyleLayer subclasses 2015-10-22 09:34:40 -07:00
John Firebaugh
df89de5cc5 [core] Rationalize style property classes: <type>{Paint,Layout}Properties 2015-10-22 09:21:30 -07:00
Tobrun
83d39364f9 [android] #2552 add 10000 markers 2015-10-22 17:18:49 +02:00
Tobrun
17decd5c86 [android] #2716 - moved visible coordinate bounds to separate activity 2015-10-22 16:51:05 +02:00
Tobrun
19c58ec498 [android] #2640 - replaced RelateLayout with merge tag 2015-10-22 14:40:55 +02:00
Manabu Shimobe
d4aebbf879 add missing DPI bitmaps and update based on code review comments 2015-10-22 20:00:18 +09:00
Manabu-GT
84c8d1fd6e add setSetVisibleCoordinateBounds api as already in iOS 2015-10-22 19:58:52 +09:00
Leith Bade
927b4c6dbe [android] Refactor annotations API
Remove unimplemented properties.
Correct defintions of equals() and hasCode().
Add setOnInfoWindowClickListener and remove old method from Marker.
Refactor showInfoWindow() to remove need for exposing internal method.
Make select/deselectMarker public. Add getSelectedMarker.
Fix bug where you couldn't reselect a closed info window.
Add empty constructor to LatLng and LatLngZoom.
Fixes #2546
Fixes #2631
Fixes #2448
2015-10-22 20:00:43 +11:00
Leith Bade
8b79a8d6e6 [android] Implement UserLocationView
Draws animated and synced GPS marker.
Inlcudes direction arrow and accuracy ring.
Fade out the compass after a delay when reset to north.
Lots of other performance and memory improvements.
add OnMyLocationChangeListener
Move FAB with snackbar
Fix getMetersPerPixelAtLatitude
Fix some incorrect annotations
Fixes #2668
Fixes #2411
Fixes #2678
Fixes #2675
Fixes #2566
Fixes #2549
Fixes #2692
Fixes #2572
2015-10-22 17:07:10 +11:00
Leith Bade
729a793b0e Add style string resources
Use _ in public resources ids
Make visibility attributes enums
Make attrs public
Remove info window margin public value
Reformat XML code
Test app uses XML map properties for InfoWindow activities
Fixes #2703
2015-10-22 16:21:03 +11:00
Leith Bade
2daa5f14a8 [android] Fix bug in setSprite when calculating pixel data size
Change Marker sprite() to icon() and use Sprite class
Load a Maki dog icon in test app
Fixes #2506
2015-10-22 16:18:13 +11:00
Brad Leege
e5289d685f [android] #2689 - Setting Version to 2.1.0 for release 2015-10-22 15:15:23 +11:00
Brad Leege
bb6fff0c5d [android] #2684 - Twitter Fabric integration metadata 2015-10-22 15:15:23 +11:00
Tobrun
cc8986d60f [android] - #2666 removed compass sensor data for milestone 2.1.0 2015-10-22 15:15:23 +11:00
Tobrun
7f08c22aed [android] #2663 animate user dot when location changes 2015-10-22 15:15:23 +11:00
Tobrun
fe8cd14621 [android] #2661 - improved LOST configuration: using a min interval time spend interval instead of fixed interval, enlarged minimum replacement, fixed type in inline comment 2015-10-22 15:15:23 +11:00
Tobrun
9fa48abf6e [android] # 2659 - While zooming location change is incorrect 2015-10-22 15:15:23 +11:00
Leith Bade
a6aade629b [android] Use -1px topMargin on InfoWindowTipView to avoid occasional gap.
Fixes #2636
2015-10-22 15:15:23 +11:00