Hi,
I've got a problem with a javaScript function. I want to transform lat/lon in degre/minute/second to decimal and zoom to the coordinate.
But it doesn't work...
If someone can watch my function, it will be great !!!
function zoomObject()
{
var res_lat = parseFloat(document.form1.T1.value) + parseFloat(document.form2.T2.value/60) + parseFloat(document.form3.T3.value/3600);
var res_lon = parseFloat(document.form4.T4.value) + parseFloat(document.form5.T5.value/60) + parseFloat(document.form6.T6.value/3600);
//Get MG Map Object
var map = opener.GetMap();
map.zoomScale(res_lat, res_lon, 2500);
}
When I make an alert message on the zoomScale, the result is false...so there's a problen in parameter but where....
Thanks for help.
Yannick