[mapguide-users] Why MgMap::Create is so slow

Zac Spitzer zac.spitzer at gmail.com
Tue Apr 28 11:53:37 EDT 2009


but GetResourceContent  is just fetching only the xml

MgMap Create is reading all the resources for the 200 layers

z

On Wed, Apr 29, 2009 at 1:51 AM, Bruno Scott <bscott at geomapgis.com> wrote:
>
> I have a quite big MapDefinition with about 200 layers.
> When a use the MgMap API Create it takes about 20 seconds
> But if i use the GetResourceContent it almost instantly.
>
> I wonder why this function is so slow.
>
> The only thing i'm trying to do is to read this MapDefinition to retreive
> information about a layer
>  his resource Id
>  his group hierarchy
>  and his display order.
>
> Bruno
> --
> View this message in context: http://n2.nabble.com/Why-MgMap%3A%3ACreate-is-so-slow-tp2734318p2734318.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
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list