Commit Graph

189 Commits

Author SHA1 Message Date
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
Tobrun
73a3377d56 Merge pull request #2483 from mapbox/2374-Fix-BouncingBox-Lat-Lon-mismatch
Improved BoundingBox implementation + added test cases
2015-10-01 18:46:42 +02:00
Tobrun
a436c09d02 Improved BoundingBox implementation + added testacases
Correct order constructor args
2015-10-01 18:07:10 +02:00
Leith Bade
4930a40f1f Refactor MapView code to be more maintainable. Implement JavaDocs up to rotation. 2015-10-01 19:46:12 +10: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
Brad Leege
81fde4261f #2426 - Updating artifacts for 0.2.0 development 2015-09-25 16:18:54 -05:00
Brad Leege
cd57ad52df #2275 - Setting version_name to 0.1.0 for release 2015-09-25 09:53:44 -05:00
Leith Bade
8388edcfbf Merge branch 'release-android-v0.1.0'
Merging to resolve conflicts on release branch so final merge tomorrow is clean.

Conflicts:
	android/cpp/native_map_view.cpp
	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
	include/mbgl/android/native_map_view.hpp
2015-09-25 08:04:04 +10:00
Brad Leege
c3fe83f709 #2414 - Add explicit null check for infoWindow 2015-09-24 10:36:36 -05:00
Leith Bade
85ec3eb0a5 Refactor Android render loop to limit frame rate to 60 FPS
Move expensive cache size calulation to initialisation
Fix setGestureInProgress bug
Renamed several functions to match current usage
Refactor map updates to reduce GPS marker lag
Fixes #1676
Fixes #2290
Fixes #2396
2015-09-24 18:04:26 +10:00
Leith Bade
19e7d154bb Improve handling of cancelled HTTP requests
Fix a memory leak of NativeMapView Java object
2015-09-23 15:05:34 +10:00
Leith Bade
8cf927f6c4 Improve handling of cancelled HTTP requests
Fix a memory leak of NativeMapView Java object
2015-09-23 11:57:41 +10:00
Leith Bade
d2d3df2a69 Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:40:04 +10:00
Leith Bade
feae692dba Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:23:39 +10:00
Leith Bade
da691dcbb5 Remove Android style URL validation
Fixes #2370
2015-09-21 15:01:53 +10:00
Leith Bade
1d565a5159 Remove Android style URL validation
Fixes #2370
2015-09-21 14:38:11 +10:00
Bastien Mayard
8d322c6572 Change MapView.MapChange visibility to public since OnMapChangedListener.onMapChanged requires it. 2015-09-16 14:00:00 -07:00
Leith Bade
2a03e32154 Update to Android build tools 23.0.1
Closes #2303
2015-09-11 15:13:23 -07:00
Leith Bade
d894bb7c10 Call cancelTransitions when setting map position, zoom level, or direction.
Fixes # 2296
2015-09-11 15:13:17 -07:00
Brad Leege
953fcfda8d #2293 - Removing Drawable 2015-09-11 15:12:39 -07:00
tobrun
f8ba99bf95 Changed title dialog 2015-09-11 15:12:25 -07:00
tobrun
a5ae3a57bc Moved icon to the right of Mapbox logo 2015-09-11 15:12:21 -07:00
tobrun
fcfefadfda Using AlertDialog from AppCompat instead of SDKs version 2015-09-11 15:12:16 -07:00
tobrun
c00687c932 Added "Improve this map" functionality, current zoom level, center latitude and longitude will be parsed in to the url of improve this map. 2015-09-11 15:12:12 -07:00
tobrun
4bdb0e2cc9 Added styling to the Attribution AlertDialog 2015-09-11 15:12:05 -07:00
tobrun
2a898ae853 Refactored ColorStateList of attribution control to a Drawable selector, added images responding to different states. 2015-09-11 15:12:01 -07:00
tobrunvannuland
7ce853acc7 Added save/restore state for CompassView, LogoView and AttributionView 2015-09-11 15:11:56 -07:00
tobrunvannuland
7341ada02e Added info icon and map box logo 2015-09-11 15:11:44 -07:00
Brad Leege
0da95e17c3 #2283 - Supporting custom InfoWindow touch listeners via Marker.setInfoWindowOnTouchListener(). Added Test to Custom Annotations in TestApp's MainActivity. 2015-09-11 15:09:22 -07:00
Leith Bade
038f2f5ea3 Switch to TextureView
Closes #2244
2015-09-11 15:08:15 -07:00
Leith Bade
344a7b2ffd Update to Android build tools 23.0.1
Closes #2303
2015-09-11 12:14:45 +10:00
Leith Bade
a9b163fadc Call cancelTransitions when setting map position, zoom level, or direction.
Fixes # 2296
2015-09-11 11:34:04 +10:00
Brad Leege
aa001f07c3 #2293 - Removing Drawable 2015-09-09 15:15:23 -05:00
Brad Leege
b45b42590f Merge branch 'master' of github.com:mapbox/mapbox-gl-native
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-09-09 15:08:49 -05:00
Brad Leege
93940864ec Merge branch 'master' into 2244-texture-view
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-09-09 14:59:42 -05:00
tobrun
d371dd07cb Changed title dialog 2015-09-09 10:25:35 -07:00
tobrun
290a857b51 Moved icon to the right of Mapbox logo 2015-09-09 10:24:46 -07:00
tobrun
36a754a1fe Using AlertDialog from AppCompat instead of SDKs version 2015-09-09 10:24:46 -07:00
tobrun
e7398c16c1 Added "Improve this map" functionality, current zoom level, center latitude and longitude will be parsed in to the url of improve this map. 2015-09-09 10:24:46 -07:00
tobrun
9a6924435b Added styling to the Attribution AlertDialog 2015-09-09 10:24:46 -07:00
tobrun
f8b8ca7273 Refactored ColorStateList of attribution control to a Drawable selector, added images responding to different states. 2015-09-09 10:24:10 -07:00
tobrunvannuland
75aefb7f9d Added save/restore state for CompassView, LogoView and AttributionView 2015-09-09 10:23:51 -07:00
tobrunvannuland
ea0992b72f Added info icon and map box logo 2015-09-09 10:23:51 -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
Leith Bade
1f585c2a60 Use MapView as parent for InfoWindow
See comment in #894
2015-09-08 16:05:58 +10:00
Leith Bade
8f37502c71 Use MapView as parent for InfoWindow
See comment in #894
2015-09-08 14:01:53 +10:00
Justin R. Miller
704a4e499b #894 - only select/deselect markers on true single-tap 2015-09-07 12:09:48 -07:00
Justin R. Miller
7ed7729cf2 #894 - remove debug log 2015-09-07 12:09:48 -07:00
Justin R. Miller
d394be0bb8 #894 - remove debug polyline 2015-09-07 12:09:48 -07:00
Justin R. Miller
9210a71fdf #894 - flip marker tap bounds to be top-biased 2015-09-07 12:09:48 -07:00