enableFeatures abstract method

void enableFeatures(
  1. Map<String, String> features
)

Enables specified map features.

Those will become active 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 and MapFeatureModes for feature mode names.

  • features The list of features to enable, key is the name of the feature (see MapFeatures), value specifies its mode (see MapFeatureModes).

Implementation

void enableFeatures(Map<String, String> features);