[mapguide-internals] Rfc 21 posted

Walt Welton-Lair walt.welton-lair at autodesk.com
Thu May 31 19:34:48 EDT 2007


Do these new APIs take into account the caller's session?  You can have
multiple users viewing the same map definition, and therefore there are
multiple runtime maps associated with that map definition (each part of
a different session).

I also can't remember - is it possible to have two runtime maps for the
same map definition within a single session?

Walt

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Bruce
Dechant
Sent: Friday, June 01, 2007 1:10 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Rfc 21 posted

Here are my comments.

In the APIs below there is no need for the "mapName" parameter because
everything is already contained in the underlying map resource
referenced by the MgResourceIdentifier so the parameter is redundant:

void MgMap::UpdateRuntimeMap(MgResourceService* resourceService,
MgResourceIdentifier* mapDefinition, CREFSTRING mapName); void
MgMap::UpdateMapDefinition(MgResourceService* resourceService,
MgResourceIdentifier* mapDefinition, CREFSTRING mapName);

For the other proposed APIs below the "mapName" parameter should be
replaced with the MgResourceIdentifier because we do operations with
resource IDs:

void MgMap::UpdateRuntimeMap(MgResourceService* resourceService,
MgByteReader* mapDefinitionAsXml, CREFSTRING mapName);
MgByteReader* MgMap::MapDefinitionFromRuntimeMap(MgResourceService*
resourceService, CREFSTRING mapName); void
MgMap::CreateMap(MgResourceService* resourceService, MgByteReader*
mapDefinitionAsXml, CREFSTRING mapName);

Thanks,
Bruce

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of
Kenneth, GEOGRAF A/S
Sent: May 29, 2007 2:56 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Rfc 21 posted

I have posted a Rfc.

http://trac.osgeo.org/mapguide/wiki/MapGuideRfc21

-- 
Regards, Kenneth, GEOGRAF A/S


_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals



More information about the mapguide-internals mailing list