[mapguide-users] Runtime map

padmini godavarthi godavarthi.padmini at gmail.com
Thu Dec 4 05:04:07 EST 2008




Hi,
iam using mapguide opensource 2.0(.net 2.0 +IIS 5.1).
i saw the runtime map sample application in the url 

http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/RuntimeMap

according to the sample application i changed my code as


               Dim host As New
Uri("http://localhost/mapguide/mapagent/mapagent.fcgi")
        Dim conn As New HttpServerConnection(host, "Administrator", "admin",
"en", True)
        Dim res As New ResourceIdentifier("Filebased data/Maps/mapdata",
ResourceTypes.MapDefinition)
        Dim mapId As String = res.ResourceId
        Dim mapDef As MapDefinition = conn.GetMapDefinition(mapId)
        Dim mapName As String = res.Name
        Dim rtMapId As String = New ResourceIdentifier(mapName,
ResourceTypes.RuntimeMap, conn.SessionID)
        conn.CreateRuntimeMap(rtMapId, mapDef)
        Dim rtMap As RuntimeClasses.RuntimeMap = conn.GetRuntimeMap(rtMapId)

i didnt get this one

1) What i have to do with this?
2) What will be the output

If anybody knows me can u plz tell me the procedure


Regards,
Padmini


-- 
View this message in context: http://www.nabble.com/Runtime-map-tp20830536p20830536.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list