What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
I see blank page. There is no error or warning.It seems that long and lat is
missing so I suspect there is something wrong with geolocation or database but
I have no idea what.
Here is my page:
<?php
require_once('DB.php');
include_once("GoogleMap.php");
include_once("JSMin.php");
$MAP_OBJECT = new GoogleMapAPI();
$MAP_OBJECT->_minify_js = isset($_REQUEST["min"])?FALSE:TRUE;
$MAP_OBJECT->setDSN("mysql://user:passw@localhost/tables");
$MAP_OBJECT->addMarkerByAddress("Seattle,WA,USA","Marker Title", "Marker
Description");
?>
<html>
<head>
<?=$MAP_OBJECT->getHeaderJS();?>
<?=$MAP_OBJECT->getMapJS();?>
</head>
<body>
<?=$MAP_OBJECT->printOnLoad();?>
<?=$MAP_OBJECT->printMap();?>
<?=$MAP_OBJECT->printSidebar();?>
</body>
</html>
Can someone help me?
Is there any chance not use pear db?
Thanks.
Original issue reported on code.google.com by cernymic...@gmail.com on 28 Apr 2011 at 11:44
Original issue reported on code.google.com by
cernymic...@gmail.com
on 28 Apr 2011 at 11:44