Jump to content

Not Finding Results Over 50 miles


Mark1

Recommended Posts

I have setup GeoMaps to geocode a postcode field in listings and have set up the advanced search module to search postcodes.

 

The problem is,  only listings up to about 50 miles are being returned when searching.

 

GeoMaps has geocoded the test entries successfully and they are showing at the correct locations on the map.

 

Even when I increased the search radius to 400 miles in advanced_search.thtml (see below), searching for listings that are 120 miles away do not appear when setting the advanced search drop down  to 200 or 400 miles.

 

Choose a starting postcode under about 50 miles away from each listing, will bring up listings in that radius no problem. But try searching results further than that, it still only brings up the same local results and no more, even if you know there are listings 150 miles away and you have chosen up to 200 or 400 miles in the advanced search postcode search field.

 

I have attached a screen grab of the GeoMaps configuration page.

 

**********************************************************************************

* EDIT HTML BELOW THIS LINE

**********************************************************************************/

?>

<div class="jr_fieldDiv"> 

<?php __t("Category");?>: {category}   

Keywords: <input type="text" id="jr_advSearchKeywords<?php echo $module_id;?>" name="data[keywords]" value="" />  

</div>

 

                <div class="jr_fieldDiv"> 

                    Enter your postcode: {jr_postcode}   

                    <select id="jr_radius<?php echo $module_id;?>" name="data[Field][Listing][jr_radius]" />

                      <option value="10" selected="selected">10 miles</option>

                      <option value="15" selected="selected">15 miles</option>

                      <option value="25">25 miles</option>

                      <option value="50">50 miles</option>

                      <option value="100">100 miles</option>

                      <option value="200">200 miles</option>

                      <option value="400">400 miles</option>

                    </select>                                       

                    <input type="submit" name="advanced_button" value="<?php __t("Search");?>" class="button" />

                </div>

 

<div class="clr"></div>

<?php

/**********************************************************************************

* EDIT HTML ABOVE THIS LINE

**********************************************************************************/

 

post-8138-14242988663879_thumb.png

Link to comment
×
×
  • Create New...