Draw point by using phpMapscript

Murat BEYHAN beyhan at DEPREM.GOV.TR
Mon Sep 25 03:43:42 EDT 2006


Dear friends;

I'm trying to draw a point on the map by using phpMapscript.
My code :

$lat=40.15
$lon=38.45 
$map_path="/var/www/html/zone/";
$map = ms_newMapObj($map_path."zone.map");
$point=ms_newPointObj($lat,  $lon);

$map_url=$image->saveWebImage();
$st_pos_url=$image1->saveWebImage();  
 
$image=$map->draw();
$image1=$point->draw(); 
  

 <html><IMG SRC=$map_url> <IMG SRC=$st_pos_url></html>


I would like to see a point as a layer on the map.
But I couldn't do that.
What is my mistake.
Thank you...
Murat.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the mapserver-users mailing list