Oh, alrighty. I used the empty constructor, but I switched to the one with the MgSiteConnection and now everything works as intended!
Thanks a lot! Best regards, Patrik Johansson On Thu, Dec 8, 2011 at 5:37 PM, Jackie Ng <[email protected]> wrote: > How did you create your MgMap, with the empty constructor or the one that > accepts a MgSiteConnection? > > Because if you use the empty constructor, convenience methods like > MgLayer.GetClassDefinition are not available. The empty constructor itself > is deprecated and should not be used, as you lose access to all convenice > methods. > > The convenience methods are outlined here: > > http://trac.osgeo.org/mapguide/wiki/MapGuideRfc9 > > - Jackie > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Fetching-features-within-rectangle-layer-SRS-differs-from-map-SRS-tp7074044p7074923.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
