OverlayFactoryCreate(String, String, String, String, Boolean) Method

Create the overlay object

Definition

Namespace: StreetSmart.Common.Factories
Assembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
C#
public static IGeoJsonOverlay Create(
	string geoJson,
	string name,
	string srs,
	string sld,
	bool visible = true
)

Parameters

geoJson  String
GeoJSON 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.
sld  String
Optional XML string for Styled Layer Descriptor
visible  Boolean  (Optional)
Visibility of the layer

Return Value

IGeoJsonOverlay
Overlay object

Version Information

Supported in: 18.7

See Also