Finds the distance between the visitor to your site and your iPhone or a fixed location. Uses Find My Phone and Browser Geolocation to do so and inclu
Finds the distance between the visitor to your site and your iOS device or a fixed location. Uses Find My Phone and Browser Geolocation to do so. Find my Phone is accessed using the Sosumi library (https://github.com/tylerhall/sosumi/).
The widget either tries to find your location using 'Find my Phone' and then works out the distance between you and the location provided by the site visitors browser. Alternatively you can enter the co-ordinates to use instead of using 'Find my Phone'. For example you could set your location as your place of business to let site visitors know how far away they are from you.
Also includes the shortcode [dfme] that reads the geolocation information from a post and displays the distance from the users location to the post.