Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Classic Layers have to first be added to the MapServer .MAP file via the MapServer Map Editor. Once you have added the details of the Layer to the .MAP file you can then configure this Layer in Studio.

To add a new Classic Layer right click on a Layer Group and select Add New Classic Layer (or Add New Layer prior to V5.6.0). The following Layer dialog will be displayed:

Layer Attributes

Display Name

This is description that is shown to the user and is a hyperlink Label name for the layer.  This entry must not be specified as a number only e.g. “Planning 1992” not “1992”.

Note

The Display Name must not start with a number and can only contain alphanumeric characters, underscore, hyphen or spaces. Maximum length 32 characters.

Layer Name

This is the actual Layer Name as defined in the .map file. Select a valid entry from the drop down list box. 

...

Note

You cannot specify the same Layer Name twice, if you do the subsequent entries will not be displayed.

In Studio, Layer names should only contain letters, numbers, spaces, hyphens and underscores.

In MapServer, it is recommended that the name not contain spaces, special characters, or begin with a number (which could cause problems through interfaces such as OGC services)

Legend Image

This contains name of the name of the image file that is to be used in the legend control, in combination with the, previously defined, Display Name. If this is left blank then it will default to images/legend/blank.gif.

...

Info

If you wish to use dynamic legend images then leave this entry blank and add the following entry to the CLASS for the LAYER:

NAME ""

If you add text between the quotes then this will be displayed alongside the legend. Please see the topic Using Dynamic Legends for details.

Info click

Select this check box if you wish to be able to perform a information click on this layer through the map.

Can Be Activated

This defines which layers can become “Active Layers”. The active layers will form the core of the services that can be shown.

Note

If you do not check this entry then this layer will not be able to be turned on or off.

Visible on Startup

Check this entry if you wish the selected layer to be visible to the user when they first display the page.

...

These rules are only available for a My House Layer if My Alerts has been configured

Check For:

All record changes

If checked no My Alerts rules will be applied to the Layer and changes to the number of records within the layer, if a new record is added to the layer or if an existing record is removed from the layer, will trigger an alert. E.g. a new school is added to the Primary Schools layer. If you uncheck this entry then the other three entries become enabled.

...