[mapguide-users] RE: ForegroundColor from FDO property
Ivan Miličević
Ivan.Milicevic at supranet.hr
Thu Mar 25 06:38:30 EDT 2010
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).
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Ivan Miličević
Sent: Thursday, March 25, 2010 10:58 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] RE: ForegroundColor from FDO property
I got it now! It's working perfectly. Thank's.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of David Hequet
Sent: Thursday, March 25, 2010 10:53 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: ForegroundColor from FDO property
Hi,
As Traian answered to me, it don't work if you have hex value in your
column, you have to translate value to decimal in your database, not int
layerdefinition.
Ie: if you replace youre FF00FFFF value by 4278255615 in your database , you
will see the good color
I don't think that the "ToInt32" can do the right operation.
I don't know what kind of database you are using, but maybe it can work with
a procedure call (in case of oracle).
good luck!
--
View this message in context: http://n2.nabble.com/ForegroundColor-from-FDO-property-tp4708122p4796638.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list