[mapguide-users] Create programmatically a map

sekko970 sekko970 at virgilio.it
Wed Feb 18 11:33:47 EST 2009


The file is 21K.
I tryed also to load it directly from Maestro, and I have had no problem.

------------------------------------------------------------------------------------------------------


Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> Just to be sure...
> 
> The xml you posted is the ResourceHeader, and not the ResourceContent, 
> so it does not really show what the problem may be.
> The error from the log states that the runtime map is not created, which 
> is strange because a WebLayout cannot reference a runtime map.
> The other error you posted seemed to indicate that the Print command was 
> invalid inside the WebLayout.
> 
> Can you try so save the xml, just before you write it to the MgByteStream?
> Then try to post the file, using the SetResource in the webform 
> mentioned earlier.
> If you get the same error, try to post the file somewhere, and provide a 
> link.
> Be carefull not to copy/paste, but post the actual file.
> 
> Btw. how large is the file? larger than 8K?
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Create-programmatically-a-map-tp2314238p2347931.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list