I want to enable some functions only when a person is within 200 meters of a specific point of interest.
With the maps options, it is pretty easy to determine the distance between two points that a user can manually add to the map. But how can I place the calculated distance in a page item? And how can I place the current browser location on the map without pressing the 'current location' button? The 'Distance tool' requires the user to add two points to the map in order to calculate the distance between these points. I would like one of these points to be the browser's current location and the other point to be a fixed point. Does anybody know what api's I could use?
