[mapguide-users] change layer definition runtime

makoychan makoychan at yahoo.com
Thu Sep 8 13:28:09 PDT 2016


Hi Liglio,

Thanks for the quick update, i am getting this error when it reaches 
map.open
 
if i keyed in: resourceService and resourceidentifier
"Resource data was not found: RuntimeData"

if i keyed in: resourceService and mapName or mapdefinition

Invalid resource path: Library://Langan Floor Plans

My scenario is i have fusion, the i am calling the function
mapwidget.getSessionId(), as soon i get the session id, i have a ajax to
call server side method and call

UtilMap up = new UtilMap(sessionid, "Library://Langan Floor Plans/Floor Plan
Map.MapDefinition")

but if i call map.create(resourceIdentifier,"anyName") i works. i can even
access all layers, but is there any difference between the open and create?




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284835.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list