[Mapbender-commits] r10243 - trunk/mapbender/http/geoportal

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 12 05:28:29 PDT 2019


Author: armin11
Date: 2019-09-12 05:28:29 -0700 (Thu, 12 Sep 2019)
New Revision: 10243

Modified:
   trunk/mapbender/http/geoportal/gaz_geom_mobile.php
Log:
Alter zoomfactor for results from bkgGazetteer slightly

Modified: trunk/mapbender/http/geoportal/gaz_geom_mobile.php
===================================================================
--- trunk/mapbender/http/geoportal/gaz_geom_mobile.php	2019-09-12 12:26:34 UTC (rev 10242)
+++ trunk/mapbender/http/geoportal/gaz_geom_mobile.php	2019-09-12 12:28:29 UTC (rev 10243)
@@ -106,10 +106,10 @@
 	$returnObject->geonames[$countGeonames]->maxy = str_replace(',', '.',$feature->bbox[3]);
 	//slight adoption of zoombox for addresses - +/- 
 	if ($searchEPSG == "4326") {
-	    $returnObject->geonames[$countGeonames]->minx = $returnObject->geonames[$countGeonames]->minx - 0.0002;
-	    $returnObject->geonames[$countGeonames]->miny = $returnObject->geonames[$countGeonames]->miny - 0.0002;
-	    $returnObject->geonames[$countGeonames]->maxx = $returnObject->geonames[$countGeonames]->maxx + 0.0002;
-	    $returnObject->geonames[$countGeonames]->maxy = $returnObject->geonames[$countGeonames]->maxy + 0.0002;
+	    $returnObject->geonames[$countGeonames]->minx = $returnObject->geonames[$countGeonames]->minx - 0.0004;
+	    $returnObject->geonames[$countGeonames]->miny = $returnObject->geonames[$countGeonames]->miny - 0.0004;
+	    $returnObject->geonames[$countGeonames]->maxx = $returnObject->geonames[$countGeonames]->maxx + 0.0004;
+	    $returnObject->geonames[$countGeonames]->maxy = $returnObject->geonames[$countGeonames]->maxy + 0.0004;
 	}
 	$countGeonames++;
 }



More information about the Mapbender_commits mailing list