[mapguide-internals] RE: Even more dynamic symbols
Walt Welton-Lair
walt.welton-lair at autodesk.com
Thu Jul 3 09:48:51 EDT 2008
Hi Mans,
The geometry is parsed in SE_StyleVisitor in the Stylization project. The XML is converted into an SE_LineBuffer and stored with the parsed symbol.
Design-wise there's nothing preventing having the geometry accept parameters. It's just a matter of implementing it. You would need to pay attention to performance though - you don't want any performance degradation for existing symbols that don't use variable geometry.
If you're really interested in getting this support into MapGuide, I encourage you to look at the code and write an RFC proposing how to do it. MapGuide is always looking for people who can help improve the product.
Walt
________________________________________
From: mapguide-internals-bounces at lists.osgeo.org [mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Måns Beckman [mans.beckman at manandmachine.se]
Sent: Thursday, July 03, 2008 2:28 AM
To: mapguide-internals at lists.osgeo.org
Subject: [mapguide-internals] Even more dynamic symbols
Hi,
I was playing around with the possibility to create dynamic symbols in MapGuide. This is really great, but I want even more.
One thing that I would like to see made possible is to add parameters to your geometry definition. This would make it possible to make bar charts using attribute data. Is there any technical reason to why you have chosen to not include the possibility to add parameters to the geometry?
Could someone point me to where the source code for where the parsing of the XML is done? I don't really find my way to the right place to look in the source code, but with some help I could at least take a look at the code.
Best regards
Måns
-----------------------------------------------------------
Måns Beckman
Man and Machine
Fabriksgatan 13
412 50 Göteborg
Phone: +46 31 - 762 8182
Mobile: +46 733 - 38 83 19
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list