This is a bit of ancient history so hopefully somebody has run into this before.
Had a client define a symbol style as a style override in a MapX geoset.
They used "Mapinfo Cartographic" symbol 38.
However, I've never noticed this, but MapX allows for a colored Halo. In the clients case a RED foreground and a YELLOW (halo) background.
When this is opened in Mapinfo 8.51 (haven't tested on later versions) the halo color is ignored. It has a halo but it's white.
This is an extract from the GST
"\TABLE\1\DISPLAY\SYMBOL" = ""
"\TABLE\1\DISPLAY\SYMBOL\Type" = "0"
"\TABLE\1\DISPLAY\SYMBOL\Code" = "38"
"\TABLE\1\DISPLAY\SYMBOL\Color" = "16711680"
"\TABLE\1\DISPLAY\SYMBOL\Pointsize" = "24"
"\TABLE\1\DISPLAY\SYMBOL\Font" = ""
"\TABLE\1\DISPLAY\SYMBOL\Font\Style" = "0"
"\TABLE\1\DISPLAY\SYMBOL\Font\ExtStyle" = "1"
"\TABLE\1\DISPLAY\SYMBOL\Font\Description" = "MapInfo Cartographic"
"\TABLE\1\DISPLAY\SYMBOL\Font\Size" = "24"
"\TABLE\1\DISPLAY\SYMBOL\Font\Forecolor" = "16711680"
"\TABLE\1\DISPLAY\SYMBOL\Font\Backcolor" = "16776960"
"\TABLE\1\DISPLAY\SYMBOL\Font\Opaque" = "FALSE"
"\TABLE\1\DISPLAY\SYMBOL\Font\Rotation" = "0"
Even the Symbol Style dialogs differ between Geoset Manager and Mapinfo.
Now correct me if I'm wrong but doesn't Mapbasic StyleAttr() allow access to this value?
From the Mapbasic 9.0 manual
|
FONT_FORECOLOR |
Integer value representing the RGB color of the font foreground.
|
|
FONT_BACKCOLOR |
Integer value representing the RGB color of the font background,
or -1 if the font has a transparent background. If the font style includes a
halo, the RGB color represents the halo color. |
The issue is I can't seem to find a Symbol clause that allows me to define the background halo color for a Symbol to replicate this symbology in Mapinfo, even programatically.
Of interest I can replicate the desired effect (sort of). FONT clause supports this format of display but it doesn't act like a point obviously.
Any thoughts appreciated.