Commit Graph

731 Commits

Author SHA1 Message Date
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
Konstantin Käfer
3b4a0b228c output the build artifacts to the right directory
this was introduced by using a file in /gyp as the root entry point for gyp builds, rather than a gyp file in /android.
2015-08-04 18:09:02 +02:00
Konstantin Käfer
e6053aa547 Make build system architecture agnostic to remove Android special case 2015-08-04 14:08:58 +02:00
Leith Bade
ab7456075c First pass at tidying up Android annotation code 2015-08-04 13:52:08 +10:00
Brad Leege
5348db24cc #1982 - Updating wrapper .jar and .properties 2015-08-03 17:10:10 -05:00
Brad Leege
cb54626bc2 #1982 - Updating to 2.5 2015-08-03 17:05:46 -05:00
Brad Leege
bcb8d4cde5 #1940 - Refactoring TestApp to use UserLocation API in GL SDK 2015-07-31 12:14:20 -07: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
Leith Bade
30d3642943 Fix GPS marker as conversion functions now compensate for screen density 2015-07-31 11:24:59 +10:00
Justin R. Miller
9b8e782e6c add Android long-press marker test 2015-07-30 17:20:43 -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
Justin R. Miller
3f2f9d26c8 Merge pull request #1926 from trappsnl/master
fix latLngForPixel on Android
2015-07-28 17:55:05 -07: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
c16b0bfb34 #1929 - Adding token.txt reading for programmatic setting of access token in activity 2015-07-24 17:27:47 -05:00
Brad Leege
955b610fc8 #1929 - Wiring up MapView to Activity's lifecycle methods 2015-07-24 16:37:29 -05:00
Brad Leege
53c3b0b81a #1929 - Converted to use Activity instead of Fragment 2015-07-24 15:53:29 -05: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
Koen Schmeets
50c0684de0 Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native 2015-07-24 02:56:47 +02:00
Koen Schmeets
6d3cad7757 Fix latLngForPixel bindings for Android 2015-07-24 02:54:55 +02: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
Brad Leege
73d6c62f60 Merge branch 'android-annotations' of git://github.com/TrueFlow/mapbox-gl-native into TrueFlow-android-annotations 2015-07-22 13:41:17 -05:00
Brad Leege
0e2168734f #1668 - Adding fabric.properties to .gitignore 2015-07-22 13:19:06 -05:00
Brad Leege
0955fb6c5b #1668 - Integrating Crashlytics / Fabric into project 2015-07-22 10:56:08 -05:00
Niklas Ulvinge
d7d816cb67 SetSprite now works 2015-07-20 23:15:53 +02:00
Niklas Ulvinge
42cd266aa6 Correction colors transformation 2015-07-20 20:34:42 +02:00
Niklas Ulvinge
ab82bdd438 Optimized RemoveAnnotations to a single call 2015-07-19 19:59:46 +02:00
Niklas Ulvinge
13d86d4cbc Some memory management 2015-07-19 01:10:34 +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
ed650b4128 showing polygon, line, and markers together #1716 2015-07-16 18:26:58 -07:00
Nicholas Hallahan
e1cdc8209c yay, polygon! #1716 2015-07-16 18:04:46 -07:00
Nicholas Hallahan
e84e13a85a polygon JNI #1716 2015-07-16 17:38:23 -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
d4407b7b10 creating an annotation segment from a LatLng jlist encapsulated in function #1716 2015-07-16 11:56:27 -07:00
Nicholas Hallahan
e28c777307 drawing geojson line #1716 2015-07-16 11:31:01 -07:00
Nicholas Hallahan
d6bc8367e4 color is set for line stroke #1716 2015-07-16 11:09:35 -07:00
Nicholas Hallahan
f911cf3107 successful shape annotation #1716 2015-07-16 10:24:27 -07:00
Nicholas Hallahan
aebd4196ac attempting to make ShapeAnnotation with segment and properties #1716 2015-07-16 10:08:02 -07:00
Nicholas Hallahan
a203538886 extracting latitude and longitude #1716 2015-07-16 08:03:17 -07:00