[android] #4335 - add clear method for removing annotations to MapboxMap
This commit is contained in:
@@ -159,7 +159,7 @@ public class PolylineActivity extends AppCompatActivity {
|
||||
case R.id.action_id_remove:
|
||||
// test to remove all annotations
|
||||
mPolylineOptions.clear();
|
||||
mMapboxMap.removeAnnotations();
|
||||
mMapboxMap.clear();
|
||||
return true;
|
||||
|
||||
case android.R.id.home:
|
||||
|
||||
Reference in New Issue
Block a user