Commit Graph

498 Commits

Author SHA1 Message Date
Leith Bade
a6aade629b [android] Use -1px topMargin on InfoWindowTipView to avoid occasional gap.
Fixes #2636
2015-10-22 15:15:23 +11:00
Leith Bade
f3d4c3fc1a [android] Make Marker anchor property private
Fixes #2652
2015-10-22 15:15:23 +11:00
Leith Bade
ec95dfec16 [android] Tidy up annotations API
Make unimplemented properties package private.
Make annotations object properties immutable.
Make InfoWindow and Circle classes package private.
Remove no longer needed casts from Options classes.
Added a few missing get/add methods to annotations classes for consistency.
Mininal version of #2546 suitable for v2.1.0 release.
2015-10-22 15:15:23 +11:00
Brad Leege
2452aab3a1 [android] #2631 - Adding alpha() test for PolygonOptions 2015-10-22 15:15:23 +11:00
Brad Leege
ace137beb1 [android] #2631 - Removing AnnotationsOptions and MultiPointOptions in favor of concrete implementation 2015-10-22 15:15:23 +11:00
Leith Bade
053b9ae012 [android] Remove JavaDoc changelog for 2.1.0 release 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
Leith Bade
2ee7b02189 [core] [android] Fix InfoWindow topOffsetPixels adjustment when switching styles
Fixes #2599
Make getTopOffsetPixelsForAnnotationSymbol private
Also implements MapChangeWillStartLoadingMap, MapChangeDidFinishLoadingMap
Paritally implements #630
2015-10-16 13:06:49 +11:00
Leith Bade
4ea8e4bc0a [android] Remove R and BuildType from JavaDoc. Remove iOS image.
For #2002
2015-10-16 11:17:04 +11:00
Leith Bade
3e00c3f28d [android] Tidy up latest MapView changes. Fix JavaDoc warnings. Implement overview and packge-info files.
For #2002
2015-10-15 15:00:04 +11:00
Tobrun
5b9deae957 Merge branch 'pull_branch' of https://github.com/Mappy/mapbox-gl-native into Mapp-pull_branch 2015-10-14 16:48:59 +02:00
Tobrun
09144fbcc0 [android] #2606 - have test activity use map view object instantiation 2015-10-14 11:53:02 +02:00
mayardb
f4fe544760 fix proguard rules according to class packaging refactor: from com.mapbox.mapboxgl to com.mapbox.mapboxsdk 2015-10-14 10:48:21 +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
7153f123df Revert "[android] #2588 - Make getTopOffsetPixelsForAnnotationSymbol private."
This reverts commit 67f0108389.
2015-10-13 16:52:40 +02:00
Leith Bade
67f0108389 [android] #2588 - Make getTopOffsetPixelsForAnnotationSymbol private. 2015-10-13 12:19:42 +11:00
Tobrun
3f6422ea64 [android] #2586 - Replace MapChange enum with ints 2015-10-11 10:22:55 +02:00
Tobrun
3039341653 [android] #2586 - Refactor Style with Android Support Annotations StringDef 2015-10-11 09:33:43 +02:00
Brad Leege
dc98966e6d [android] #2588 - Moving InfoWindow classes to annotations package 2015-10-10 18:18:17 -05:00
Brad Leege
69b6b12757 [android] #2579 - Making constructor public so that the class can be used. 2015-10-09 10:24:59 -05:00
Brad Leege
5b65e81ec9 [android] #2579 - Moving InvalidAccessTokenException to the exceptions package 2015-10-09 10:11:57 -05:00
Brad Leege
be5b99ffab [android] #2579 - Removing package-info.java cruft 2015-10-09 10:02:15 -05:00
Leith Bade
0c7490cfb7 [android] Tidy up MapView API
For #2545
2015-10-09 15:31:58 +11:00
Leith Bade
eb78055cf0 [android] JavaDoc MapView Part 7
For #2002
2015-10-09 15:13:16 +11:00
Leith Bade
f252c6787c [android] Change PressForMarkerActivity to use OnMapLongClick event.
For #2519
2015-10-09 14:49:58 +11:00
Leith Bade
7e93c11eca [android] JavaDoc MapView part 6
For #2002
2015-10-09 12:36:22 +11:00
Leith Bade
698230c447 [android] Refactor annotations functions
Fixes #2539
2015-10-09 11:43:26 +11:00
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