[mapguide-trac] #173: .Net API for MapGuide 1.2 Beta2 cannot
access layers
MapGuide Open Source
trac_mapguide at osgeo.org
Tue May 29 11:19:01 EDT 2007
#173: .Net API for MapGuide 1.2 Beta2 cannot access layers
-----------------------------------------+----------------------------------
Reporter: ksgeograf | Owner:
Type: defect | Status: new
Priority: medium | Milestone: 1.2
Component: General | Version: 1.2.0
Severity: minor | Resolution:
Keywords: API layers GetLayers Unpack | External_id:
-----------------------------------------+----------------------------------
Comment (by ksgeograf):
It appears that the exception is caused by the map not having the
associated ResourceService, even though the map was opened with that.
As far as I can see, the call bypasses the MgMap::Open, and calls
MgResource::Open directly. This makes the the map miss the call to
InitializeResourceService(resourceService). Not sure how to fix it though.
Would it be sufficient to add the method to MgMap? Would that be picked up
by SWIG?
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/173#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list