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)
Syntaxpublic string GetStandardUrlParameters(
bool includeLayers,
bool byIndex
)
Public Function GetStandardUrlParameters (
includeLayers As Boolean,
byIndex As Boolean
) As String
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:
StringA query string to be appended to a page URL. The initial "?" is not included.
RemarksThe parameters handled are:
X - x coordinate to centre onY - y coordinate to centre onScale - initial map scaleLayers - 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