Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CApplications has a deprecated constructor in /mnt/data/vhosts/casite-531710.cloudaccess.net/httpdocs/components/com_community/libraries/core.php on line 1093
Closest Location Feature

Closest Location Feature

The Closest Location feature allows you to have the map adjust to the closest location from your user's location.

Here is how it works; closest-screen-1

1. When you first load the map you are getting your regular default settings to display.

closest-screen-2

2. Shortly after the page loades, the browser will display a grant access pop up (built into the browser). If the user allows you access to their location information….

 

(Note: This is a user privacy issue and there is no way to force this permission)

3. The map will auto zoom to the location and display the closest options.

closest-screen-3

So in my case I live in Assonet MA (USA). The map after a couple seconds will reposition to the US and display the nearest options based on my location at the same zoom set in the default settings.

 

The results will show the map centered based on my location.

Thclosest-screen-4e way this is enabled is under the map options settings. We also added the Allow mouse Wheel features to be disabled which further improves the user experience.

 Please feel free to test this on the live demo to see how the feature works.

Note: To test this you will need to refresh the map by reloading your browser. As the Browser refreshes the popup will appear.

 

 

 

Print Email

Joomld Development CompanyGEO Radius Search or CNP Integrations  are not affiliated with or endorsed by the Joomla® Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries. | Yootheme™ ZOO is a flexible and powerful content application builder to manage your Joomla and Wordpress content. The YOOtheme™ name and logo are registered trademarks of YOOtheme GmbH. | With ♥ from www.cnpintegrations.comFind us on the Joomla Extensions Directory (JED)