TranslucentMapLayerGroup.withPriority constructor - TranslucentMapLayerGroup - mapview library - Dart API
TranslucentMapLayerGroup.withPriority
TranslucentMapLayerGroup.withPriority constructor
- String name,
- HereMapControllerCore aMap,
- MapLayerPriority priority
Creates an instance of the group.
-
nameName of the group. Must be unique across MapLayer and TranslucentMapLayerGroup. -
aMapThe map to attach the group to. -
priorityThe MapLayerPriority which should be applied to position the group. The MapLayerPriority must contain only one priority and this priority must have no category and no group, i.e. MapLayerPriorityBuilder.inGroup and MapLayerPriorityBuilder.withCategory should not be used when building the MapLayerPriority. Example:
new MapLayerPriorityBuilder().renderedAfterLayer("water").build()
MapLayerPriorityBuilder().renderedAfterLayer("water").build()
Throws TranslucentMapLayerGroupInstantiationException. In case of invalid input parameters.
Implementation
factory TranslucentMapLayerGroup.withPriority(String name, HereMapControllerCore aMap, MapLayerPriority priority) => $prototype.withPriority(name, aMap, priority);