[mapguide-users] Digitizing/Redlining: Draw a Rectangle composed from Lines / Partly Java-implemention of LayerDefinitionFactory

Kenneth Skovhede ks at geograf.dk
Sun Feb 28 08:03:55 EST 2010


It would be really cool if you add this to the code samples page:
http://trac.osgeo.org/mapguide/wiki/CodeSamples

As you can see, it is a bit lacking in Java examples!

The SelectionXml problem you have is because you are missing string quotes.
Your selectionXml string is:
<xml.... />
And you insert it directly, eg:
mapFrame.SetSelectionXML(<xml... />);
You need string quotes:
mapFrame.SetSelectionXML('<xml... />');

Regards, Kenneth Skovhede, GEOGRAF A/S



More information about the mapguide-users mailing list