$aPlace['place_id'],
$aPlace['lon'],
$aPlace['lat'],
- $fRadius
+ $fRadius,
+ $fLat,
+ $fLon
);
if ($aOutlineResult) {
$sTileURL = CONST_Map_Tile_URL;
$sTileAttribution = CONST_Map_Tile_Attribution;
}
-
-$sOutputTemplate = ($sOutputFormat=='jsonv2' ? 'json' : $sOutputFormat);
-include(CONST_BasePath.'/lib/template/address-'.$sOutputTemplate.'.php');
+include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');