disableFeatures abstract method

void disableFeatures(
  1. List<String> features
)

Disables specified map features.

Those will become inactive after next map redraw, meaning that MapScene.getActiveFeatures will return updated list of active features only after the redraw happens.

Does not affect features that were not specified. Unsupported features are ignored.

May cause the current map configuration to be reloaded.

See MapFeatures for feature names.

  • features The names of features to disable (see MapFeatures).

Implementation

void disableFeatures(List<String> features);