[mapguide-internals] Quotes around halfline and center

Zac Spitzer zac.spitzer at gmail.com
Mon Dec 15 17:56:10 EST 2008


I just created a quick sample layer as a test using studio 2009 and
2.0.2 which is attached

On Tue, Dec 16, 2008 at 9:52 AM, Ben Trumbore <ben.trumbore at autodesk.com> wrote:
> Zac,
>
> Are you sure it does that?  I checked the style editor code history and the apostrophes have been included since at least mid-2005.  The UI dropdown doesn't show the apostrophes, but it adds them to the layer when you make a selection.
>
> I think the stylization engine is also a bit tolerant of missing apostrophes.  If it fails to obtain a value for what it thinks is a property name, it treats it as a constant string, which in this case has a meaningful value.  Traian can correct me if I'm mistaken.
>
>        Ben
>
> -----Original Message-----
> From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
> Sent: Monday, December 15, 2008 5:31 PM
> To: MapGuide Internals Mail List
> Subject: Re: [mapguide-internals] Quotes around halfline and center
>
> Thanks Ben!
>
> So why does studio 2009 insert them without quotes?
>
> z
>
> On Tue, Dec 16, 2008 at 1:59 AM, Ben Trumbore <ben.trumbore at autodesk.com> wrote:
>> Zac,
>>
>> Most of the stylization elements are defined as FDO expressions.  So,
>>        <VerticalAlignment>Halfline</VerticalAlignment>
>> says to take the vertical alignment value from a feature property named Halfline, where
>>        <VerticalAlignment>'Halfline'</VerticalAlignment>
>> declares a constant value for the vertical alignment.
>>
>>        Ben
>>
>> -----Original Message-----
>> From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
>> Sent: Monday, December 15, 2008 3:29 AM
>> To: MapGuide Internals Mail List
>> Subject: [mapguide-internals] Quotes around halfline and center
>>
>> Out of interest, what is the reason for having quotes around some of
>> the stylisation stuff?
>>
>> ie
>>
>> <VerticalAlignment>'Halfline'</VerticalAlignment>
>>
>> z
>>
>> --
>> Zac Spitzer -
>> http://zacster.blogspot.com
>> +61 405 847 168
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
-------------- next part --------------
A non-text attachment was scrubbed...
Name: New Layer.LayerDefinition.xml
Type: text/xml
Size: 1862 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-internals/attachments/20081216/9f7358ca/NewLayer.LayerDefinition.xml


More information about the mapguide-internals mailing list