avoid warnings when geometry of object cannot be determined

This commit is contained in:
Sarah Hoffmann
2012-02-06 23:14:21 +00:00
parent 3abbeb5f08
commit 7239687e5b
3 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,7 @@
echo ','.$aResult['aBoundingBox'][3];
echo '"';
if ($bShowPolygons)
if ($bShowPolygons && isset($aResult['aPolyPoints']))
{
echo ' polygonpoints=\'';
echo javascript_renderData($aResult['aPolyPoints']);