OverlayFactoryCreate(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,
	bool visible = true
)

Parameters

geoJson  String
GeoJSON object containing the layer data
name  String
Name of the layer.
srs  String
EPSG code (srs) for the source GeoJSON
visible  Boolean  (Optional)
Visibility of the layer

Return Value

IGeoJsonOverlay
Overlay object

Version Information

Supported in: 18.7

See Also