Commit Graph

471 Commits

Author SHA1 Message Date
Leith Bade
01f242cbd9 Tidy up new ApiAccess token class.
Fix .gitignore for token.txt
Add JavaDoc to ApiAccess.
Create specific exception for missing access token.
Closes #2570
Closes #2563
2015-10-09 11:15: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
e74445005a [android] renamed layout file 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
Tobrun
bd41ae1deb [android] #2462 Added empty token file 2015-10-08 11:36:04 -05:00
Tobrun
2767d2ad59 [android] #2462 gittignoring different token file 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
8b6f928718 [android] JavaDoc MapView part 5
For #2002
2015-10-08 14:08:37 +11:00
Brad Leege
3a1f62e6b9 #2535 - Re exposing sprite field level access, but putting a null check in MarkerOptions to help guard it. 2015-10-07 11:29:59 -05:00
Brad Leege
6fbb57e6ee #2535 - Encapsulating remainder of fields in Marker (except for position due to more JNI work needed) to protect Markers 2015-10-07 11:29:59 -05:00
Brad Leege
463c52fa7e #2535 - Restoring default marker setting and adding null check. Making sprite field private to enforce using setter method for added protection. 2015-10-07 11:29:59 -05:00
Brad Leege
71be6923a8 #2543 - Updating version_name to 2.1.0-SNAPSHOT 2015-10-06 14:16:08 -05:00
Leith Bade
150ce3b0ca Remove APK splits added for Crashlytics NDK 2015-10-06 13:09:12 +11:00
Leith Bade
0ba0645b31 JavaDoc MapView part 4
For #2002
2015-10-06 12:37:27 +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
Tobrun
2cbadaaaa3 [android] #2076 expose getMetersPerPixelAtLatitude 2015-10-02 12:39:16 +02:00
Nicki Dlugash
21b42eea44 [ios] [android] Add default marker sprites 2015-10-02 16:53:11 +10:00
Leith Bade
eb59bccfc1 Fixup Android SDK manifest reference to old mapboxgl package
Following #2486
2015-10-02 14:36:44 +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
212c7ed8da #2486 - Fixing imports 2015-10-01 16:10:58 -05:00
Brad Leege
65e78f308b Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-01 15:44:48 -05:00
Brad Leege
e974e1f948 Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-01 15:44:26 -05:00
Tobrun
cdf38ff138 Merge pull request #2461 from mapbox/2428-add-markers-bulk-jni
[android] #2428 add markers jni
2015-10-01 22:39:50 +02:00
Tobrun
206f9f2258 Merge pull request #2466 from mapbox/2222-Custom-CompassView
[android] #2222 Refactored Compass in separate View class
2015-10-01 22:22:43 +02:00
Brad Leege
e950d8e45b Merge branch '2486-back-to-the-future' 2015-10-01 15:22:35 -05:00
Tobrun
343419634f Merge pull request #2442 from mapbox/2223-private-public-resource-configuration
[android] Configuration for limiting resource visibility
2015-10-01 21:39:23 +02: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
Tobrun
135ce4b67e [Android] Refactored Compass in separate View class
[Android] Merged MapView master
2015-10-01 21:27:00 +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
5a1a859886 [Android] Exposing attribution + logo visibility
[Android] #2467 expose visibility for logo and attribution
2015-10-01 21:09:57 +02:00
Brad Leege
cebac1c262 #2486 - Changing Maven metadata back to original Mapbox Android metadata 2015-10-01 13:49:22 -05: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