OverlayFactoryCreate(IFeatureCollection, String, String, Color, Boolean) Method
Create the overlay object
Namespace: StreetSmart.Common.FactoriesAssembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
public static IGeoJsonOverlay Create(
IFeatureCollection featureCollection,
string name,
string srs,
Color color,
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.
- color Color
- Optional color for the layer
- visible Boolean (Optional)
- Visibility of the layer
IGeoJsonOverlayOverlay object
Supported in: 18.7