mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-10 12:04:06 +00:00
Test for polygon param correctly
This commit is contained in:
@@ -187,7 +187,7 @@
|
|||||||
$bAsText = $oGeocode->getIncludePolygonAsText();
|
$bAsText = $oGeocode->getIncludePolygonAsText();
|
||||||
$sQuery = $oGeocode->getQueryString();
|
$sQuery = $oGeocode->getQueryString();
|
||||||
$sViewBox = $oGeocode->getViewBoxString();
|
$sViewBox = $oGeocode->getViewBoxString();
|
||||||
$bShowPolygons = (isset($_GET['polygon']) && isset($_GET['polygon']));
|
$bShowPolygons = (isset($_GET['polygon']) && $_GET['polygon']);
|
||||||
$aExcludePlaceIDs = $oGeocode->getExcludedPlaceIDs();
|
$aExcludePlaceIDs = $oGeocode->getExcludedPlaceIDs();
|
||||||
|
|
||||||
$sMoreURL = CONST_Website_BaseURL.'search?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs());
|
$sMoreURL = CONST_Website_BaseURL.'search?format='.urlencode($sOutputFormat).'&exclude_place_ids='.join(',',$oGeocode->getExcludedPlaceIDs());
|
||||||
|
|||||||
Reference in New Issue
Block a user