num_rows == 0){ header("Location:https://barbados.org/maps.htm"); } $mapItem = $getSetDetails->fetch_assoc(); $setTitle = $mapItem["pmap_set_title"]; $setDescription = $mapItem["pmap_set_description"]; $pmap_set_centerlatitude = $mapItem["pmap_set_centerlatitude"]; $pmap_set_centerlongitude = $mapItem["pmap_set_centerlongitude"]; $pmap_set_zoomlevel = $mapItem["pmap_set_zoomlevel"]; $pmap_set_marker = $mapItem["pmap_set_marker"]; $pmap_set_geoXml = $mapItem["pmap_set_geoXml"]; $pmap_set_url = $mapItem["pmap_set_url"]; $pmap_set_image = $mapItem["pmap_set_image"]; //set default values for center latitude and longitude and for zoom level if ($pmap_set_centerlatitude == 0) $pmap_set_centerlatitude = 13.21; if ($pmap_set_centerlongitude == 0) $pmap_set_centerlongitude = -59.55; if ($pmap_set_zoomlevel == 0) $pmap_set_zoomlevel = 12; $rSetPoints = getSetPoints($mapSet); $mapSetCode = mapSet($rSetPoints,$pmap_set_centerlatitude,$pmap_set_centerlongitude,$pmap_set_zoomlevel,$pmap_set_marker,$pmap_set_geoXml); $rGetSets = getSets(''); $numSets = $rGetSets->num_rows; ?> Barbados Maps: ',$setTitle,' '; ?>
Barbados Maps: '.$setTitle.''; ?>
0){ echo '
'.$setDescription,'
'; } $numSetPoints = $rSetPoints->num_rows; if ($numSetPoints > 0){ $pointsForm = '
'; echo $pointsForm; } echo $mapSetCode; echo '
Loading map...

'; if (strlen(trim($pmap_set_image))){ echo '

'.$setTitle.'

'; } if (strlen(trim($pmap_set_url))){ echo ''; } ?>
',$googleMapsDisclaimer,'

'; ?>