[mapguide-users] Problem with legend - style
martijni
mis at gemeentehulst.nl
Fri Jun 1 09:48:01 EDT 2007
James, thanks for your reaction.
I understand what you say, but do I have to reload the XML using the
mapagent interface like this way:
Resource --> SetResource --> Resource ID is location where the file will be
placed -->submit
Content is the location of the xml
file
Header is empty
But when I did it this way I received an exception. Is this the way you
should do it, or did you mean something else?
James Card wrote:
>
> On Thu, 31 May 2007 08:01:36 -0700, martijni <mis at gemeentehulst.nl> wrote:
>
>> I'm having a problem with showing the legend. After importing a data
>> resource into a layer it normally shows one kind of style (a point-,
>> line- or areastyle). But when i'm importing a datasource from an ODBC
>> connection it shows all the options. So as u can see i handled it as
>> follows on the screenshot. But for all the ODBC connected layers you see
>> the 3 rows in the legend.
>
> This happens when your FeatureSource could potentially contain multiple
> data-types. Save the XML for that LayerDefinition, edit it to remove the
> unneeded sections, and then reload the XML using the mapagent interface.
>
> --
> James Card
> California CAD Solutions, Inc.
> 209 578-5580
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://www.nabble.com/Problem-with-legend---style-tf3847021s16610.html#a10913191
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list