You are correct Jackie.

As pointed out in the RFC you can no longer create the 
MgCoordinateSystemTransform class directly, instead you must use the 
MgCoordinateSystemFactory to do it for you.

You will need to change the code to call the MgCoordinateSystemFactory 
GetTransform() API instead of trying to use the MgCoordinateSystemTransform() 
constructor directly.

Bruce

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Wednesday, February 27, 2008 4:46 PM
To: [email protected]
Subject: Re: [mapguide-users] Anybody else having trouble with the sample in 
RC4?


The compiler error is probably due to the coordinate system API changes.

http://trac.osgeo.org/mapguide/wiki/MapGuideRfc35

- Jackie


Jon Rizzo wrote:
>
>
> I am trying to use the ajaxviewersample in RC4.  It loads, but some things
> don't seem to be working correctly.  For example, on the "Find Address"
> task, the two examples provided (601 north 5th street & 720 Riverfront
> Drive) are not found.  Also, the "Query" task throws a compilation error
> on line 239: Compiler Error Message: CS1502: The best overloaded method
> match for
> 'OSGeo.MapGuide.MgCoordinateSystemTransform.MgCoordinateSystemTransform(System.IntPtr,
> bool)' has some invalid arguments
>
> Am I the only one having these problems?  I didn't see a version of the
> sample code specific to RC4, so I suppose it's possible that I have an
> outdated version...
>
> Jon
>
>

--
View this message in context: 
http://www.nabble.com/Anybody-else-having-trouble-with-the-sample-in-RC4--tp15714053s16610p15726095.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to