Location Category Markers Update

Store Locator Plus® was updated with a small, but important, change to how location map markers are displayed when users are interacting with the category selector.   Users of the Professional level offering have the ability to create location categories.   Locations can belong to more than one category, for instance a location can be both a “Retail” location and a “Service” location.    Some locations will be only “Retail”.

Category Map Markers

Each location category can also be assigned a unique map marker.   All yellow map markers are retail, and blue markers are for service.     For those locations where they offer both retail and service , Store Locator Plus® would always display the yellow map marker based on the default “marker is the first category, chosen by alphabetical order”.

While there are some caveats to this general rule, there were some confusing results.    If you created a map with a category filter that allowed users to pick “either retail” or “service” locations and the user selected “service” they could see a map with both yellow and blue markers.    How is that happening when all service locations are supposed to be showing blue markers?

The answer — those dual-purpose locations that are in both the retail and service category.   Prior to the late-September update, the marker for the location would ALWAYS pick from the “highest ranked” category which would default to “retail” by the alphabetical rule noted above.    All locations that were service only would be displayed alongside a handful or retail-and-service locations.

Multiple Categories Marker Change

In the late-September update that went online today, IF a user is filtering the list of locations by a SINGLE category, the map marker that is displayed will be filtered as well — in essence filtering out the yellow “retail” marker if the user has elected “show only service location” with the blue marker.     With this update only blue markers will appear.

For another description of how this works along with an “explainer” video, check out our Categorical Location Markers article on the documentation site.

Still using the legacy WordPress plugins?   This feature is part of the Power 5.5.7 release.

WordPress Subdirectory Install and The REST API

Seems there is a number of new people having issues with the Store Locator Plus® address lookup feature due to a failed REST API request. With Store Locator Plus 5 all address lookups are routed back through the WordPress site via the REST API in order to protect Google API keys.

If your site is running WordPress from a subdirectory you may run into issues if your web server is not configured to properly handle REST API routing. Especially if the site is using “pretty permalinks”, any Permalink setting under WordPress Settings | Permalinks other than “plain”.

The problem is that most of the Codex articles on the subject of doing a “WordPress in it’s own directory” installs came out well before the REST API existed. Most, dare we say ALL, have not been updated since and completely ignore the corner case of a WordPress subdirectory install with Permalinks enabled.

API keys with referer restrictions cannot be used

API keys with referer restrictions

You’ve tried typing in addresses into your WordPress Store Locator Plus® map page but always get “location not found”. Being a tech savvy person you took a look at your browser developer console and notice an “API keys with referer restrictions cannot be used with this API.” in the JavaScript console.

Thankfully our MySLP users don’t have to deal with this sort of thing; but if you are using the self-managed WordPress plugins, read on.

Stop the Google API key madness with MySLP

MySLP drops the Google API key madness once-and-for-all. If you are tired of the API key game, it may be time to switch.

[myslp-signup-form]