[mapguide-users] Problem with map.save()
Gyufi
endre.budai at geoview.hu
Fri Jun 26 04:16:57 EDT 2009
Hi.
You must instantiate an MgMap object and call this object Create method.
After then, you can save the map to the repository.
Don't use Open method, you don't need this, just use create. I know it so,
MgMapBase will return with an MgNotImplementedException, because it not
implemented yet.
(http://trac.osgeo.org/mapguide/browser/branches/2.1/MgDev/Common/PlatformBase/MapLayer/MapBase.cpp)
Gyufi
sathishpsk9 wrote:
>
> Hi all,
>
> I have problem with map.save()......... it is throwing NullRefence
> exception
>
> MgMap map = new MgMap();
> map.open(resourceService,"mapName");
> // here stuff related adding layer
> map.save();
> and if i use map.save(resourceService,mapResid);
>
> it is throwing ........ XmlParser exception..........
>
> Thanks and Regards ,
> Satish Kumar
>
>
>
>
--
View this message in context: http://n2.nabble.com/Problem-with-map.save%28%29-tp3012103p3160289.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list