How to Set Markers on the Map, Using Google Maps

April 9, 2012 Alex Huk Magento, Tips&Tricks

I am a developer of Magento Store Locator, and today I want to share some secrets with you. If you have clicked Store Locator link,  read the extension description and navigated through its demo store (I encourage you to do that), you may have found, that I use marker points a lot, which show customers the closest store to their location. I will tell you how to calculate the distance between points and build & scale markers, using Google Maps service application.

Function of calculating the distance between points, considering the curvature of the Earth.

Frontend : building, scaling, markers events

What do you think of Store Locator extension and how do you find these tips? Drop a comment here.



5 comments

  1. Andre,

    No, I don’t use. User location is defined by IP address from the file. This file contains corresponding IP addresses and country/region/city.

Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *