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 <bsc...@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users