[mapguide-users] Problem with legend - style

James Card James.Card at calcad.com
Thu May 31 11:17:36 EDT 2007


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


More information about the mapguide-users mailing list