This topic contains 0 replies, has 1 voice, and was last updated by Alex 2 days, 9 hours ago.
URGENT UPDATE Super Store Finder 7.3 Patch Release (Rollback)
You must be logged in to reply to this topic.
This topic contains 0 replies, has 1 voice, and was last updated by Alex 2 days, 9 hours ago.
* UPDATE: Google has restored Markers, we have reverted 7.2 back as 7.3 is not that stable right now. Until future testing and once it’s stabilize, we will reconsider releasing this version with AdvancedMarkers again.
Hi there,
Good day to everyone! Today, Google just removed the Markers (Legacy) library from Google Maps as per announcement here and your Store Locator Plugin will no longer be working as per normal, try to download the latest patch as per upgrade instructions here.
All map styles are no longer working as all maps are now moved to Cloud Based by Google. You can read this article for more info here.
Marker Clusterer Add-on will be affected as well, it is highly recommended you Disable this add-on until future patch is available.
Marker Letters feature here will no longer work in the new AdvancedMarkers, so it is recommended to disable this and just use an image marker.
There’s a known issue with categories, to make it work you can implement the code below, however the search will no longer work properly. You can temporarily use the Hide Search / Filter here. option as per knowledge base article here:
Edit js/mega-superstorefinder.js , search for below code:
function distHaversine(p1, p2) { var R = 6371; // earth's mean radius in km var dLat = rad(p2.lat() - p1.lat()); var dLong = rad(p2.lng() - p1.lng()); var a = Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(rad(p1.lat())) * Math.cos(rad(p2.lat())) * Math.sin(dLong/2) * Math.sin(dLong/2); var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); var d = R * c; return d.toFixed(3); }
Replace it with:
function distHaversine(p1, p2) { var R = 6371; // earth's mean radius in km var dLat = rad(p2.h - p1.h); var dLong = rad(p2.j - p1.j); var a = Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(rad(p1.h)) * Math.cos(rad(p2.h)) * Math.sin(dLong/2) * Math.sin(dLong/2); var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); var d = R * c; return d.toFixed(3); }
Expect bugs and imperfections as Google just updated the New Google Maps Styles and Advanced Markers.
Cheers,
Alex
You must be logged in to reply to this topic.