Autodesk 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6 Developer's Manual page 21

User manual
Hide thumbs Also See for 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6:
Table of Contents

Advertisement

If the MWF file name that you want to use in a LAYERS parameter value is
map5&6.mwf, for example, you would encode the ampersand (&) as hexadec-
imal %26, and specify the file name as LAYERS="map5%266.mwf".
SELECT Parameter
This section describes how to use the SELECT parameter to:
Select a feature from a layer
Select a feature from a group layer
Select multiple features
Set the SELECT parameter to a value that contains restricted characters
Highlight a selected map feature
You set the SELECT parameter to a list of layer-name, ID pairs. The layer-name
portion of the pair is a map-layer or map-group name. The ID portion of the
pair is the feature ID of a map feature to be drawn in the selected state.
You use the MWF file name followed by a forward slash (/) and the name of
an Autodesk MapGuide layer or group within the MWF, followed by a
comma and the feature ID, as follows:
<MwfName>/<LayerNameInMWF>, <feature ID>
<MwfName>/<LayerGroupNameInMWF>, <feature ID>
If all the features are on the same layer or in the same layer group, you don't
have to repeat the second and subsequent names—use a repeated comma
delimiter instead of the names. The following example specifies a map with
two features selected from the roads layer:
SELECT=USA.MWF/Roads,0002,,0005
Selecting Features from a Group Layer
The following SELECT example returns a map with two features selected
from the roads group layer:
SELECT=USA.MWF/RoadsGroupLayer,0002,,0005
Keep the following rules in mind when selecting features from a group layer:
The layer name and layer group name must be unique.
The feature IDs within a layer group must be unique among layers; other-
wise, only one of the features is selected at random.
If the layer name and layer group name are the same, the layer group has
priority over the layer name, and the feature is selected from the layer
group.
Creating a map Request
|
17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6 and is the answer not in the manual?

This manual is also suitable for:

Mapguide liteview

Table of Contents