setClassesVisibility
Shows or hides several classes at once (BENAV5-1511).
Unknown classes and classes already in the requested state are ignored. The maps using this style are invalidated once for the whole batch, instead of once per class as with setClassVisibility, and not at all when nothing changes.
This method does not redraw: when the result is not 0, call com.benomad.msdk.mapping.MapView.redraw on the maps that use this style.
This method must be called on the main thread (see getPOICategories).
Return
the number of classes whose visibility changed.
Since
v2.11.0 Creation
Parameters
visibilities
the requested visibility of each class, by class identifier.