How to resolve this error,

*Fatal error*: Uncaught exception 'MapScriptException' with message
'mapObj::setExtent() expects parameter 1 to be double, string given' in
C:\ms4w\Apache\htdocs\indore\index.php:26 Stack trace: #0
C:\ms4w\Apache\htdocs\indore\index.php(26): mapObj->setExtent('minx',
'miny', 'maxx', 'maxy') #1 C:\ms4w\Apache\htdocs\indore\index.php(386):
zoom1(Object(mapObj), Array, -2, -1) #2 {main} thrown in
*C:\ms4w\Apache\htdocs\..\index.php* on line *26*

*my code is *


*$map->setextent($extent_to_set[0],$extent_to_set[1],$extent_to_set[2],$extent_to_set[3]);$my_point
=
ms_newpointObj();$my_point->setXY($_POST["map_x"],$_POST["map_y"]);$my_extent
=
ms_newrectObj();$my_extent->setextent($extent_to_set[0],$extent_to_set[1],$extent_to_set[2],$extent_to_set[3]);if($zoom!=2)$map->zoompoint($zoom_factor,$my_point,$map->width,$map->height,
$my_extent);*
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to