Click or drag to resize

IDBConfigWriterAddUpdateOSMLayer Method

Adds a new OSM layer to the system, or updates an existing layer.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
int AddUpdateOSMLayer(
	string mapConfiguration,
	int layerId,
	string name,
	string[] url,
	bool sphericalMercator,
	bool showImageCheckBox,
	bool visible,
	string copyright,
	int numZoomLevels
)

Parameters

mapConfiguration
Type: SystemString
Map Configuration Name
layerId
Type: SystemInt32
Layer ID, -1 for a new layer.
name
Type: SystemString
Layer Name
url
Type: SystemString
URL
sphericalMercator
Type: SystemBoolean
Spherical Mercator?
showImageCheckBox
Type: SystemBoolean
Show Image Checkbox?
visible
Type: SystemBoolean
Visible?
copyright
Type: SystemString
Copyright Text
numZoomLevels
Type: SystemInt32
Number of Zoom Levels

Return Value

Type: Int32
Number of Rows Affected.
See Also