public virtual void AddCustomFeatureSubLayer(string assignedSubLayerName, string dataLayerNameInService) { VectorSubLayerProperties subLayer = PresetSubLayerPropertiesFetcher.GetSubLayerProperties(PresetFeatureType.Custom); subLayer.coreOptions.layerName = dataLayerNameInService; subLayer.coreOptions.sublayerName = assignedSubLayerName; AddFeatureSubLayer(subLayer); }
public virtual void AddLineFeatureSubLayer(string assignedSubLayerName, string dataLayerNameInService, float lineWidth = 1) { VectorSubLayerProperties subLayer = PresetSubLayerPropertiesFetcher.GetSubLayerProperties(PresetFeatureType.Roads); subLayer.coreOptions.layerName = dataLayerNameInService; subLayer.coreOptions.sublayerName = assignedSubLayerName; subLayer.lineGeometryOptions.Width = lineWidth; AddFeatureSubLayer(subLayer); }