[mapguide-users] Buffering Problem
padmini godavarthi
godavarthi.padmini at gmail.com
Mon Apr 13 04:57:21 EDT 2009
Hi,
iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
i have 2 problems
1) while creating buffer using built in command in maestro i got the following error as
my map is in WGS 84 (EPSG:4326) coordinate system
can u tell me the solution????????????????
2) secondly,i have added one invoke script command for buffering (i want to display the buffer in new pop up window) but i got an error in bufferui.tmpl
function FillLayerList()
{
alert('FillLayerList');
var list = document.getElementById("layers");
alert(list);
var listNames = document.getElementById("layerNames");
alert(listNames);
list.options.length = 0;
var layers = GetParent().GetMapFrame().GetSelectedLayers();
if(layers.length > 0)
{
for(var i = 0; i < layers.length; i++)
{
var layer = layers[i];
list.options[i] = new Option(layer.legend != ""? layer.legend: layer.name);
if(i == 0)
list.options[0].selected = true;
listNames.options[i] = new Option(layer.name);
alert(layer.name);
}
}
else
list.options[0] = new Option("__#BUFFERNOLAYER#__");
document.getElementById("Done").disabled = layers.length == 0;
}
i got the error at
var layers = GetParent().GetMapFrame().GetSelectedLayers();
Is there any modification is needed?????????????
plz tell me the solution
Regards,
Padmini
--
View this message in context: http://n2.nabble.com/Buffering-Problem-tp2627054p2627054.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list