14.01.2013 Views

Developer's Guide - MapGuide Open Source - OSGeo

Developer's Guide - MapGuide Open Source - OSGeo

Developer's Guide - MapGuide Open Source - OSGeo

SHOW MORE
SHOW LESS

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 />

CreateLayerDefini-<br />

tion()<br />

LayerDefinition<br />

$resourceId<br />

$featureClass<br />

$geometry<br />

$featureClassRange<br />

AreaRule<br />

$legendLabel<br />

$filterText<br />

$foreGroundColor<br />

LineRule<br />

$legendLabel<br />

$filter<br />

$color<br />

PointRule<br />

$legendLabel<br />

$filter<br />

$label<br />

$pointSym<br />

MarkSymbol<br />

$resourceId<br />

$symbolName<br />

$width<br />

$height<br />

$color<br />

TextSymbol<br />

$text<br />

$fontHeight<br />

$foregroundColor<br />

Parameter<br />

$resourceId<br />

60 | Chapter 4 Modifying Maps and Layers<br />

Description<br />

ScaleRange<br />

$minScale<br />

$maxScale<br />

$typeStyle<br />

AreaTypeStyle<br />

$areaRules<br />

LineTypeStyle<br />

$lineRules<br />

PointTypeStyle<br />

$pointRule<br />

The repository path of the feature source for<br />

the layer. For example: Lib-<br />

rary://Samples/Sheboygan/Data/Par-<br />

cels.Feature<strong>Source</strong>. Equivalent to the<br />

Data resource used in this layer field in Studio’s<br />

layer editor.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!