[mapguide-users] Re: Undelivered Mail Returned to Sender
durrrr
paul.nicholson at capita.co.uk
Tue Mar 2 07:52:31 EST 2010
Thanks Pietro, i cant see how mine is much different...
var hideLayersVar = '"'+eventArgs[0]["Id"]+'"';
var url = "http://10.1.1.22/mapguide/mapagent/mapagent.fcgi";
var params = {
mapdefinition: 'Library://Map/View/TestMap.MapDefinition',
//mapname: 'TestMap',
format: "PNG",
behavior: 2,
groupName: "Test layer",
hideLayers: hideLayersVar,
//showLayers: null,
hideGroups: null,
showGroups: null,
}
alert(hideLayersVar);
//alert('"'+eventArgs[0]["Id"]+'"');
var options = {
singleTile: true,
isBaseLayer: false,
visibility: true,
maxExtent: this.maxExtent,
maxScale: 1,
minScale: 10000000,
alpha: true,
transitionEffect: "resize",
units: "m",
useAsyncOverlay: true,
//useOverlay: true,
ratio: 1,
maxResolution: "auto",
}
var layer = new OpenLayers.Layer.MapGuide("Test Layer", url, params,
options);
--
View this message in context: http://n2.nabble.com/Using-Mapguide-OS-with-OpenLayers-Setting-Layer-Visibility-tp4638383p4660783.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list