Click or drag to resize

GenericSPGetStandardUrlParameters Method

Generate a query string containing the standard URL parameters.

Namespace:  Cadcorp.GFB.CadcorpSP
Assembly:  Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public string GetStandardUrlParameters(
	bool includeLayers,
	bool byIndex
)

Parameters

includeLayers
Type: SystemBoolean
If true, include the layers parameter.
byIndex
Type: SystemBoolean
If true, handle layers by index rather than name.

Return Value

Type: String
A query string to be appended to a page URL. The initial "?" is not included.
Remarks
The parameters handled are:
  • X - x coordinate to centre on
  • Y - y coordinate to centre on
  • Scale - initial map scale
  • Layers - initial list of overlays to be made visible, by name (optional)
  • LayerIndexes - initial list of overlays to be made visible, by index (optional)
  • It is assumed that SetRenderSize(Int32, Int32) has been called. Overlays with names beginning "__", as in the standard GTools model, are ignored.
    See Also