OverlayFactoryCreate(IFeatureCollection, String, String, IStyledLayerDescriptor, Boolean) Method
Create the overlay object
Namespace: StreetSmart.Common.FactoriesAssemblies: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 25.7.0.0+8d57adf8e9b2f0e8b292285b4ebbbdc257654fdc
StreetSmart.WPF (in StreetSmart.WPF.dll) Version: 25.7.0.0+8d57adf8e9b2f0e8b292285b4ebbbdc257654fdc
public static IGeoJsonOverlay Create(
IFeatureCollection featureCollection,
string name,
string srs,
IStyledLayerDescriptor styledLayerDescriptor,
bool visible = true
)
- featureCollection IFeatureCollection
- FeatureCollection object containing the layer data
- name String
- Name of the layer.
- srs String
- Optional EPSG code (srs) for the source GeoJSON, if not provided, srs of API initialisation is used.
- styledLayerDescriptor IStyledLayerDescriptor
- StyledLayer descriptor contains the sld styling of the layer
- visible Boolean (Optional)
- Visibility of the layer
IGeoJsonOverlayOverlay object
Supported in: 18.7