[mapserver-users] scale with PHP

Manuel Marichal Pérez marichalperez at yahoo.es
Thu Jun 27 04:14:29 PDT 2002


	Hi, all.

	With PHP/MapScript, the read of the "scale" member of a map object
	results always -1. Anybody knows the reason?.

	.
	.
	.

	$path_mapa="c:\\inetpub\\wwwroot\\mapserver\\";
	$mapa=ms_newMapObj($path_mapa."map.map");
	$imagen=$mapa->draw();
	$url_imagen=$imagen->saveWebImage(MS_GIF,1,10,0);

	$mapa->scale  <---- always -1

	.
	.
	.

	Thanks a lot,
	Manuel Marichal Pérez



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the MapServer-users mailing list