rapchan
asked on
Blank MAP using googlemapapi.class_2_5.php
The code bellow work just fine when used alone (called directed in the URL) but inside the rest of the code nothing appears on screen!
map-ok.jpg
<head>
<style type="text/css">v\:* {behavior:url(#default#VML);}</style>
</head>
<body onload="onLoad()">
<?php
require($_SERVER['DOCUMENT_ROOT'] . '/mod/mapa/googlemapapi.class_2_5.php');
$map = new GoogleMapAPI('map');
$map->setAPIKey('ABQIAAAAH1Dik6l98ZwI-9bNv2jkhRRycExbv9_dgh8OHqcKgbMA7oaqhRTY5gjAiydpSiPhRxNLlNvsWX_hDw');
$map->addMarkerByAddress('621 N 48th St # 6 Lincoln NE 68502','PJ Pizza','<b>PJ Pizza</b>');
$map->addMarkerByAddress('826 P St Lincoln NE 68502','Old Chicago','<b>Old Chicago</b>');
$map->printHeaderJS();
$map->printMapJS();
$map->printMap();
?>
div-map.jpgmap-ok.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.