[mapguide-users] Re: Fetching features within rectangle; layer SRS differs from map SRS

Patrik Johansson mapguide at morkl.se
Thu Dec 8 12:59:21 EST 2011


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 <jumpinjackie at gmail.com> 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
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list