mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
avoid warnings when geometry of object cannot be determined
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
echo ','.$aResult['aBoundingBox'][3];
|
||||
echo '"';
|
||||
|
||||
if ($bShowPolygons)
|
||||
if ($bShowPolygons && isset($aResult['aPolyPoints']))
|
||||
{
|
||||
echo ' polygonpoints=\'';
|
||||
echo javascript_renderData($aResult['aPolyPoints']);
|
||||
|
||||
Reference in New Issue
Block a user