[mapguide-internals] Advanced stylization - expression suppression required for numeric entities?

Jason Birch jason at jasonbirch.com
Thu Dec 31 23:43:46 EST 2009


Great, thanks for the quick response.  Happy New Year! :)

2009/12/31 Walt Welton-Lair

> For color, numeric, and boolean properties you don't need quotes.  The code
> first tries to evaluate the property as a constant, and only if that fails
> does it invoke the FDO expression engine.
>
> For properties which are evaluated as strings, use single quotes to avoid
> invoking the expression engine.  Examples:
>
> - specifying a constant label text:
> <Text>'Park'</Text>
>
> - specifying a constant enumerated value:
> <HorizontalAlignment>'Center'</HorizontalAlignment>
>
> In both examples leaving out the quotes will give the same result, but it
> will be slower.
>
> Walt
>
>


More information about the mapguide-internals mailing list