--- a/include/common-geo.inc.php +++ b/include/common-geo.inc.php @@ -47,7 +47,8 @@ } $output = ""; if ($collapsible) $output.= '<div data-role="collapsible" data-collapsed="true"><h3>Open Map...</h3>'; - $output.= '<center><img src="' . curPageURL() . 'staticmaplite/staticmap.php?center=' . $center . '&zoom=' . $zoom . '&size=' . $width . 'x' . $height . '&maptype=mapnik&markers=' . $markers . '" width=' . $width . ' height=' . $height . '></center>'; + $output.= '<center><img src="' . curPageURL() . 'lib/staticmaplite/staticmap.php?center=' . $center . '&zoom=' . $zoom . '&size=' . $width . 'x' . $height . '&maptype=mapnik&markers=' . +$markers . '" width=' . $width . ' height=' . $height . '></center>'; if ($collapsible) $output.= '</div>'; return $output; } @@ -147,3 +148,4 @@ return $contents->features[0]->properties->name; } ?> +