[android] #3276 - fix initial Marker API

This commit is contained in:
Tobrun
2016-05-18 08:11:23 +02:00
committed by Tobrun
parent 1548f27c6f
commit 9b3a6c3a1b

View File

@@ -781,7 +781,7 @@ public class MapboxMap {
*/
@UiThread
@NonNull
public List<Marker> addMarkers(@NonNull List<BaseMarkerOptions> markerOptionsList) {
public List<Marker> addMarkers(@NonNull List<? extends BaseMarkerOptions> markerOptionsList) {
int count = markerOptionsList.size();
List<Marker> markers = new ArrayList<>(count);
if (count > 0) {