Hi am a student and now i do my final project.but i have problem about google map
i try to do that
this code
<?php
Yii::import(‘application.extensions.EGMap.*’);
$gMap = new EGMap();
$gMap->setWidth(512);
// it can also be called $gMap->height = 400;
$gMap->setHeight(400);
$gMap->zoom = 8;
// some stops on the way
$phuket = new EGMapCoord(8.017076,98.334503);
$phuket_campus = new EGMapCoord(7.894983,98.352098);
// Initialize GMapDirection
$direction = new EGMapDirection($phuket,$phuket_campus);
$renderer = new EGMapDirectionRenderer();
$renderer->panel = "direction_pane";
$renderer->setPolylineOptions(array(‘strokeColor’=>’#FFAA00’));
$direction->setRenderer($renderer);
$gMap->addDirection($direction);
$gMap->renderMap();
?>
<div id="direction_pane"></div>
this ok but if i don’t know longtitude,latitude. is there any way to plot map
thank you