Creating a map Request
|
21
The following table specifies the SYMBOLS parameter:
Examples of the SYMBOLS Parameter
The following example shows how to use SYMBOLS to insert a single symbol,
TestSymbol
, at point (2000, 2000) that is 0.001 x 0.001 meters, rotated 30
degrees, and displayed with the label
test
:
SYMBOLS=TestSymbol,2000,2000,0.001,0.001,30,test
The next example shows how to insert two instances of
TestSymbol
at points
(2000, 2000) and (2500, 2500), rotated 30 degrees, and labeled
test1
and
test2
,
respectively:
SYMBOL=
TestSymbol,2000,2000,0.001,0.001,30,test1,,2500,2500,,,,test2
Default Symbol Layer Styles
You can set the default symbol layer styles in the
config.ini
file by setting the
SymbolXxx parameters; see Chapter 3, “Configuring Autodesk MapGuide
LiteView,” in the
Autodesk MapGuide LiteView Servlet Administrator’s Guide
.
Specification
Description
Name
The name of an Autodesk MapGuide API symbol. If a symbol
with the specified name is not found, the default symbol (a
black square) is displayed.
X, Y
The insertion point, usually the center, defined by the symbol.
By default, the insertion point is specified in the coordinate sys-
tem used by the map MCS, unless it is overridden by the SRS
parameter. If the
X, Y
elements fall outside the map range then
the symbol is drawn outside the range. The symbol is clipped if
it falls on the edge of the map.
Width, Height
The size of the symbol, expressed in meters.
Rotation
The angle of rotation for the symbol, expressed in degrees. The
default value is zero degrees. The angle of rotation is measured
counterclockwise from East and is between -360 to +360,
inclusive.
Label
A string of up to 254 characters that labels the symbol’s loca-
tion. You must encode the label if it contains special characters
such as $, & and ?; see “Restricted Characters in the LAYERS
Parameter,” on page 16.
Содержание 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6
Страница 1: ...April 2004 Autodesk MapGuide LiteView Developer s Guide ...
Страница 12: ...8 Chapter 1 Introduction ...
Страница 38: ...34 Chapter 2 Understanding Requests ...
Страница 90: ...86 Chapter 4 Configuring and Using the Sample Applications ...