@@ -371,34 +371,6 @@ class MapboxMapController extends ChangeNotifier {
371371 _symbols.remove (id);
372372 }
373373
374- /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
375- Future <void > setSymbolIconAllowOverlap (bool enable) async {
376- await _channel.invokeMethod ('symbolManager#iconAllowOverlap' , < String , dynamic > {
377- 'iconAllowOverlap' : enable,
378- });
379- }
380-
381- /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
382- Future <void > setSymbolIconIgnorePlacement (bool enable) async {
383- await _channel.invokeMethod ('symbolManager#iconIgnorePlacement' , < String , dynamic > {
384- 'iconIgnorePlacement' : enable,
385- });
386- }
387-
388- /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
389- Future <void > setSymbolTextAllowOverlap (bool enable) async {
390- await _channel.invokeMethod ('symbolManager#textAllowOverlap' , < String , dynamic > {
391- 'textAllowOverlap' : enable,
392- });
393- }
394-
395- /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
396- Future <void > setSymbolTextIgnorePlacement (bool enable) async {
397- await _channel.invokeMethod ('symbolManager#textIgnorePlacement' , < String , dynamic > {
398- 'textIgnorePlacement' : enable,
399- });
400- }
401-
402374 /// Adds a line to the map, configured using the specified custom [options] .
403375 ///
404376 /// Change listeners are notified once the line has been added on the
@@ -620,4 +592,24 @@ class MapboxMapController extends ChangeNotifier {
620592 Future <void > addImage (String name, Uint8List bytes, [bool sdf = false ]) {
621593 return MapboxGlPlatform .instance.addImage (name, bytes, sdf);
622594 }
595+
596+ /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
597+ Future <void > setSymbolIconAllowOverlap (bool enable) async {
598+ await MapboxGlPlatform .instance.setSymbolIconAllowOverlap (enable);
599+ }
600+
601+ /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
602+ Future <void > setSymbolIconIgnorePlacement (bool enable) async {
603+ await MapboxGlPlatform .instance.setSymbolIconIgnorePlacement (enable);
604+ }
605+
606+ /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
607+ Future <void > setSymbolTextAllowOverlap (bool enable) async {
608+ await MapboxGlPlatform .instance.setSymbolTextAllowOverlap (enable);
609+ }
610+
611+ /// For more information on what this does, see https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/#label-collision
612+ Future <void > setSymbolTextIgnorePlacement (bool enable) async {
613+ await MapboxGlPlatform .instance.setSymbolTextIgnorePlacement (enable);
614+ }
623615}
0 commit comments