[mapguide-users] Anybody else having trouble with the sample in RC4?

Tom Fukushima tom.fukushima at autodesk.com
Thu Feb 28 23:56:43 EST 2008


The samples for the MGOS 2.0.0 release have been updated to contain the correct calls. If you download and use these latest samples, the search will no longer have this error.

Thanks
Tom

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Bruce Dechant
Sent: Thursday, February 28, 2008 3:15 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Anybody else having trouble with the sample in RC4?

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: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, February 27, 2008 4:46 PM
To: mapguide-users at lists.osgeo.org
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
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list