コード例 #1
0
        public virtual void AddCustomFeatureSubLayer(string assignedSubLayerName, string dataLayerNameInService)
        {
            VectorSubLayerProperties subLayer = PresetSubLayerPropertiesFetcher.GetSubLayerProperties(PresetFeatureType.Custom);

            subLayer.coreOptions.layerName    = dataLayerNameInService;
            subLayer.coreOptions.sublayerName = assignedSubLayerName;

            AddFeatureSubLayer(subLayer);
        }
コード例 #2
0
        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);
        }