OS Property support center

search locator parameter

  • Fulvio
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #64197 by Fulvio
search locator parameter was created by Fulvio
Hi,
how can I set the search parameters (address , city or postal code) in the form of search locator? (file locator.png)
I would like to display the response without typing any parameter

thanks

Fulvio
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #64200 by Mr. Dam
Replied by Mr. Dam on topic search locator parameter
Hi Fulvio,
In Locator search form, user only need to enter the address, and Google will return the suggestion list. User can select the address from suggestion list and radius value. And then, the system will return the results on the Google Map.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #82639 by Milan Houda
Replied by Milan Houda on topic search locator parameter
Hello
I have a question, it would set a larger radius display the map
I need to show my default bids from across the country - about 1000 km radius

Thank you
Greeting
Milan Houda

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #82764 by Mr. Dam
Replied by Mr. Dam on topic search locator parameter
Hi Milan,
To add default Radius value to 1000, please follow these steps:
1. Open file: root > administrator > components > com_osproperty > classes > configuration > locator > locator.php
2. Find:
Code:
$option_radius_type[] = JHtml::_('select.option',200,200);
and add this below:
Code:
$option_radius_type[] = JHtml::_('select.option',1000,1000);
Thanks
Dam
The following user(s) said Thank You: Milan Houda

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan