Simple locator requires a minimum of PHP version 5.3.2, and will not install if this minimum requirement is not met. If you are unsure what version of PHP your server is running, contact your hosting provider.
All geocoding and mapping functionality takes advantage of the Google Maps Javascript API V3. Unexpected changes in the API service may effect plugin functionality, but any changes will be monitored and addressed as needed.
Use of the Google Maps API requires that the data be displayed in a Google map. Hiding the map violates the API licensing.
Several Javascript callback functions are provided for key events in search, and map rendering. For example, hooking into the wpsl_googlemaps_response
function provides a full Google Maps response object with the geocoded location. The wpsl_click_marker
function provides a way to add custom functionality to marker click events. An example of this is used in the example form in the sidebar. Clicking a map marker causes the results to scroll and highlight the chosen marker. Need to show a custom error message if no results are returned? Hook into the wpsl_no_results
function.
No. If an existing post type is chosen as the search term, there must be preformatted latitude and longitude fields associated with each post. All new posts under the “location” post type are geocoded on save.
Use the contact form on this page to submit a request. If the functionality makes sense to include in the core plugin, we’ll place it on a list for future release development. If not, we may be able to provide some guidance on how to achieve what you’re trying to accomplish. Simple Locator has a powerful API with filters for just about everything, including SQL queries.
Absolutely. The search form uses the Google Maps API geocoding service, which offers reliable data throughout the world. Localization is possible using the provided POT files in the /languages folder.
Maybe. Google recently updated the geolocation capabilities within chrome to only work on SSL enabled sites. If you’re using the “Use My Location” button included with the plugin, you will need SSL on your site. You will also need a verified SSL site to use the CSV importer.
No. Simple locator allows you to set one post type for locations. This can be the included post type, or your own, but multiple post types are not supported.
Google throttles their geocoding services to 5 requests per second.
Simple locator is designed to be have as much flexibility as possible. The included styles are very minimal, with the idea that you’ll make it your own. It is recommended to add custom styles to your theme to fit its look and feel. There are plenty of Javascript callbacks available to add custom functionality as well.
I am not available for contract or for-hire work.
I would recommend downloading and installing the plugin and testing.