[mapguide-users] RE: ForegroundColor from FDO property

Ivan Miličević Ivan.Milicevic at supranet.hr
Fri Mar 26 03:51:37 EDT 2010


It's a pity. Frustrating because I built database and whole code behind based on assumption that string value can define linetype. I don't get it, if I type "Dot" in XML it's working :(

Thank you Jason, I'm going to learn advanced one.


From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Friday, March 26, 2010 2:49 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] RE: ForegroundColor from FDO property

I don't know if this has any bearing, but LineStyle is an enumeration not a string in the simple style definitions:

http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Stylization/LineStyle.h

I've personally found that advanced styling is far more flexible than the simple styling, though it has a bit of a learning curve...

http://trac.osgeo.org/mapguide/wiki/AdvancedStylization

Jason

2010/3/25 Ivan Miličević>
And what about LineStyle? Have you try that? String value doesn't work at all (string filed in database).

Thickness is working perfectly (integer field).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100326/71a393f3/attachment.html


More information about the mapguide-users mailing list