Commit Graph

191 Commits

Author SHA1 Message Date
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
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
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
2452aab3a1 [android] #2631 - Adding alpha() test for PolygonOptions 2015-10-22 15:15:23 +11:00
Leith Bade
ceb67bbc77 [android] Update to Android support library v23.1.0
Also OkHTTP to 2.5.0
Fixes #2639
2015-10-16 18:31:44 +11:00
Tobrun
09144fbcc0 [android] #2606 - have test activity use map view object instantiation 2015-10-14 11:53:02 +02:00
Tobrun
981ac4038d [android] #2273 - Added InfoWindowView, Refactored InfoWindow to take in account margins/offset, exposed margin of InfoWindow as configurable 2015-10-14 10:18:07 +02:00
Tobrun
3039341653 [android] #2586 - Refactor Style with Android Support Annotations StringDef 2015-10-11 09:33:43 +02:00
Leith Bade
f252c6787c [android] Change PressForMarkerActivity to use OnMapLongClick event.
For #2519
2015-10-09 14:49:58 +11:00
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
63887f8a23 [android] #2462 updated build.grade to handle correct path for api token 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
150ce3b0ca Remove APK splits added for Crashlytics NDK 2015-10-06 13:09:12 +11: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
Tobrun
a436c09d02 Improved BoundingBox implementation + added testacases
Correct order constructor args
2015-10-01 18:07:10 +02:00
Brad Leege
7de3062602 #2434 - Centralizing buildscript dependencies and source repository. Using jcenter() instead of mavenCentral() as it's a super set 2015-09-28 14:15:47 -05:00