Brad Leege
9cd4a7ccb7
#1856 - Removing FAB from SDK and replacing with intial tracking mode API. Making Compass visible under Toolbar.
2015-08-10 15:41:02 -05:00
Erlend Fagerheim
da88c8fd83
added tracking modes
2015-08-06 12:55:15 +02:00
Brad Leege
b8a82d5755
#1940 -Adding Null Check due to DRY initialization
2015-08-05 18:21:34 -05:00
Brad Leege
af89714b39
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
2015-08-05 15:53:50 -05:00
Brad Leege
49445b76f2
Merge branch 'master' into 1940-user-location-in-sdk
2015-08-05 15:52:53 -05:00
Brad Leege
6e04804586
#1940 - Adding enable / disable Compass API
2015-08-05 11:34:59 -05:00
Brad Leege
3215831d26
#1940 - Initial migration of Compass from TestApp to SDK
2015-08-05 10:53:02 -05:00
Bruno de Oliveira Abinader
fa4636ffe4
Map::nudgeTransitions no longer depends on client information
...
Clients no longer need to provide data (eg. if gesturing or in a custom
animation) to Map::nudgeTransitions().
Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData
allows thread-safe communication between Map and MapContext.
2015-08-05 15:19:00 +03:00
Brad Leege
9303701d6e
#1940 - Cleaning up setup process for OnMapChangedListeners. Removing debug log statements.
2015-08-04 19:21:22 -05:00
Brad Leege
6745b404de
#1940 - Converting OnMapChangedListener to a Collection instead of just a single instance
2015-08-04 19:06:26 -05:00
Brad Leege
2fccc2bbd6
#1940 - DRYing out GPS Marker setup. Confirming that On / Off toggle and setup is done in correct order.
2015-08-04 18:47:25 -05:00
Brad Leege
d2d8802890
#1940 - Refactored to use stock FrameLayout and to display User Location marker
2015-08-04 15:53:08 -05:00
Brad Leege
c2112ea4be
#1940 - Initial conversion from extending SurfaceView to extending ViewGroup and having GL display on map as expected
2015-08-04 13:31:21 -05:00
Leith Bade
ab7456075c
First pass at tidying up Android annotation code
2015-08-04 13:52:08 +10:00
Brad Leege
c6a2e0b577
#1940 - Porting Location controls to SDK and setting up Google Map API equivalents
2015-07-31 11:55:57 -07:00
Brad Leege
c1d024d2a6
#1940 - Adding Mapzen LOST to GL SDK dependency list to server as Location provider
2015-07-31 10:17:23 -07:00
Justin R. Miller
b88fc75f74
compensate for Android screen ratio in conversion routines
2015-07-30 16:24:17 -07:00
Brad Leege
9b95b2ef9d
#1965 - Updating dependency versions
2015-07-29 14:10:20 -07:00
Leith Bade
d57a02f3a9
First pass at updating JNI bindings
...
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android
Rename class to styleClass in Java to match iOS
Fixed some formatting
Fixes #1905
Fixes #1946
Fixes #1263
2015-07-29 12:17:42 +10:00
Leith Bade
60a21de907
Update to Android support lib 22.2.1.
...
Remove duplicate multitouch classes.
2015-07-28 12:18:53 +10:00
Brad Leege
6974200867
#1929 - Added validateAccessToken to MapView.onStart()
2015-07-24 14:45:48 -05:00
Brad Leege
d975d94de2
#1929 - accessToken added as XML attribute option. Removed call to raw.txt for access token from MapFragment to test.
2015-07-24 14:36:57 -05:00
Brad Leege
2fd7a24576
#1929 - Removed validateAccessToken() call from MapView.onCreate()
2015-07-24 14:06:38 -05:00
Brad Leege
791c59d899
#1915 - Adding NonNull annotations to accessToken for development warnings and isEmpty() checks for more accurate runtime errors
2015-07-24 13:40:41 -05:00
Bruno de Oliveira Abinader
3512da9609
Avoid nudging transitions if a gesture is in progress
...
We're now using nudgeTransitions() to tell the Map view that we want to
update it. However, if we're on a gesture movement, the update() call
can get called too fast and causing general slowdown. This check ensures
we only call for nudgeTransitions() after all gesture events are
finished. Fixes the issue pointed out by #1548 on Android.
2015-07-23 17:43:05 +03:00
Niklas Ulvinge
d7d816cb67
SetSprite now works
2015-07-20 23:15:53 +02:00
Niklas Ulvinge
ab82bdd438
Optimized RemoveAnnotations to a single call
2015-07-19 19:59:46 +02:00
Niklas Ulvinge
45311e98de
Add multiple polygons at once to increase performance
2015-07-19 00:27:45 +02:00
Nicholas Hallahan
0f56c2b0d5
marker equals method #1716
2015-07-17 13:12:47 -07:00
Nicholas Hallahan
5363fc8dc0
commenting #1716
2015-07-17 11:13:31 -07:00
Nicholas Hallahan
aafcdd2ef0
added ability to specify sprite in marker #1716
2015-07-17 08:25:48 -07:00
Nicholas Hallahan
0df1d64823
toggle removes all annotations. ready for polygon JNI #1716
2015-07-16 15:09:56 -07:00
Nicholas Hallahan
9e3f60756f
Java Annotation API cleaner #1716
2015-07-16 14:52:54 -07:00
Nicholas Hallahan
8107501edb
able to get a field from Polyline in JNI #1716
2015-07-15 17:31:37 -07:00
Nicholas Hallahan
441c84c213
JNI is compiling with the polyline object #1716
2015-07-15 14:29:19 -07:00
Nicholas Hallahan
6335aecfad
constructs polyline object, ready to rock JNI #1716
2015-07-15 12:29:57 -07:00
Nicholas Hallahan
297190ecf1
working on pollens #1716
2015-07-15 10:36:24 -07:00
Nicholas Hallahan
82e88a6a77
parsed coordinates from geojson, ready to add polyline via JNI #1716
2015-07-14 19:18:34 -07:00
Nicholas Hallahan
7c5fde4a3e
Fleshed out the shell of the Google Maps API #1716
2015-07-14 17:04:13 -07:00
Nicholas Hallahan
afcc78a0ab
Able to remove an annotation from the map #1716
2015-07-14 11:11:14 -07:00
Nicholas Hallahan
1ac1ba0e18
Fleshing out Android Annotation API, working on removing annotations through JNI.
2015-07-14 10:45:29 -07:00
Nicholas Hallahan
f710e9607a
Returning annotationIds as long from JNI in addMarker
2015-07-13 18:11:36 -07:00
Nicholas Hallahan
7efa69ff24
Refactored PointAnnotation to be called Markers a la Google Maps
2015-07-13 17:32:05 -07:00
Nicholas Hallahan
92501e3b41
basic single marker point annotation
...
Merge branch 'android-annotations-poc' into android-annotations
2015-07-13 16:32:16 -07:00
Konstantin Käfer
675ddddee7
Make pixelRatio constant across a Map object lifetime
...
also moves framebuffer size out of TransformState into its own object
2015-07-08 10:40:05 +02:00
Konstantin Käfer
dca42018d2
drive Android rendering from the main thread via invalidate() calls
2015-06-26 10:32:06 -07:00
Nicholas Hallahan
ef31fc5aed
attempting to put one annotation on the map - gets to the native call and then nothing happens
2015-06-20 16:21:41 -07:00
Leith Bade
8a83c31e05
Merge pull request #1610 from mapbox/android-latlng-swap
...
Fix swapped lat/lng
2015-05-21 10:16:35 +10:00
Leith Bade
cea926c62e
Fix swapped lat/lng
2015-05-21 09:51:43 +10:00
Leith Bade
710ec54a55
Update Android gradle plugin to 1.2.3
2015-05-21 09:00:03 +10:00