<div dir="ltr"><div class="gmail_signature"><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium">Dear All,</span><b><br></b></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium"><br></span></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium">How to resolve this error,</span></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium"><br></span></div><b style="font-size:12.8px">Fatal error</b><span style="font-size:12.8px">: Uncaught exception 'MapScriptException' with message 'mapObj::setExtent() expects parameter 1 to be double, string given' in C:\ms4w\Apache\htdocs\indore\</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">index.php:26 Stack trace: #0 C:\ms4w\Apache\htdocs\indore\</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">index.php(26): mapObj->setExtent('minx', 'miny', 'maxx', 'maxy') #1 C:\ms4w\Apache\htdocs\indore\</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">index.php(386): zoom1(Object(mapObj), Array, -2, -1) #2 {main} thrown in </span><b style="font-size:12.8px">C:\ms4w\Apache\htdocs\indore\<wbr>index.php</b><span style="font-size:12.8px"> on line </span><b style="font-size:12.8px">26</b><div style="font-size:12.8px"><b><br></b></div><div style="font-size:12.8px"><b>my code is </b></div><div style="font-size:12.8px"><b><br></b></div><div style="font-size:12.8px"><b><div>$map->setextent($extent_to_<wbr>set[0],$extent_to_set[1],$<wbr>extent_to_set[2],$extent_to_<wbr>set[3]);</div><div><b><div style="display:inline">$my_point = ms_newpointObj();</div></b><br></div><div>$my_point->setXY($_POST["map_<wbr>x"],$_POST["map_y"]);</div><div>$my_extent = ms_newrectObj();</div><div>$my_extent->setextent($extent_<wbr>to_set[0],$extent_to_set[1],$<wbr>extent_to_set[2],$extent_to_<wbr>set[3]);</div><div>if($zoom!=2)</div><div>$map->zoompoint($zoom_factor,$<wbr>my_point,$map->width,$map-><wbr>height, $my_extent);</div></b></div></div>
</div>