Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Function<br />
CreateTextSymbol()<br />
CreatePointTypeStyle()<br />
CreatePointRule()<br />
CreateMarkSymbol()<br />
Parameter<br />
$foreGroundColor<br />
$text<br />
$fontHeight<br />
$foregroundColor<br />
$pointRule<br />
$legendLabel<br />
$filter<br />
$label<br />
$pointSym<br />
$resourceId<br />
$symbolName<br />
62 | Chapter 4 Modifying Maps and Layers<br />
Description<br />
The color to be applied to areas that match<br />
this rule. Equivalent to the Foreground color<br />
field in Studio’s layer editor.<br />
The string for the text.<br />
The height for the font.<br />
The foreground color.<br />
One or more point rules, created by Create-<br />
PointRule().<br />
The label shown beside this rule in the legend.<br />
Equivalent to the Legend label field in<br />
Studio’s layer editor.<br />
The filter expression that determines which<br />
features match this rule. Equivalent to the<br />
Condition field in Studio’s layer editor.<br />
The text symbol, created by CreateTextSym-<br />
bol().<br />
A mark symbol created by CreateMarkSym-<br />
bol().<br />
The resource ID of the symbol used to mark<br />
each point. For example, lib-<br />
rary://Samples/Sheboygan/Sym-<br />
bols/BasicSymbols.SymbolLibrary.<br />
Equivalent to the Location field in the Select<br />
a symbol from a Symbol Library dialog in<br />
Studio’s layer editor.<br />
The name of the desired symbol in the symbol<br />
library.