RE: [mapguide-users] Draw Circle

2009-04-04 Thread A H
i've tried adding this to the code polygon = (MgCurvePolygon)polygon.Transform(new MgCoordinateSystemTransform(coordSysFactory.Create(map.GetMapSRS()),coordSysFactory.Create(ll84Wkt))); it seems like its not working too. i tried zooming out the map, and found the circle (it worked even witho

RE: [mapguide-users] Draw Circle

2009-04-04 Thread Andy Morsell
In the GT markup example code (which is all PHP), the markupeditor.php file contains the function I'm referring to. I'm assuming that is the code that you started with for what you're doing. function GetTransform() { $coordSysFactory = new MgCoordinateSystemFactory();

RE: [mapguide-users] Fusion and Themed Layers - usability

2009-04-04 Thread Andy Morsell
If you have the MapDefinition ExpandInLegend element set to false for themed layers, does Fusion still preload the images? I suspect it does Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of djonio Sent

RE: [mapguide-users] Draw Circle

2009-04-04 Thread A H
i'm using MGOS 1.2, i think i can't find this GetTransform() function. can you please provide the codes here? thank you in advance. Looks like you have it all exactly correct (comparing it line by line to some code I did awhile back, I started with the same sample code from this list it looks

[mapguide-users] Can't create layer using MySQL feature source

2009-04-04 Thread Manel Gimeno
Hi all, I've created a MySQL FeatureSource in Mapguide 2.0 using Mapguide Maestro 1.0.9.15910. When I click in the test connection button no error is reported, so it seems the connection to MySQL works fine. When I try to create a FeatureLayer using the MySQL FeatureSource previously defined t

RE: [mapguide-users] Fusion and Themed Layers - usability

2009-04-04 Thread djonio
Jason, Thinking about it some last night, in this case I really don't need the "Theme" rendered w/in the Legend. I am just after the pretty colors on the map. (If I have users with that much interest I will service them via other means) In the short term: Do you see a way to turn the Legend re

Re: [mapguide-users] FDO toolbox help

2009-04-04 Thread Jackie Ng
My energies are focused on MapGuide right now, but I take a look at this when I have time. - Jackie Hi Jackie, I am trying to use this tool in order to convert shp to sql2008. I wanted to connect to sql2008 database but with no success. I have attached a screenshot with the error that I got i