Sharing your GPS positions map on your blog Beta


December 2014


Recent log posts

Sometimes you may want people not currently in your sQuiddio follow list to be able to view your current position on a map.

If you manage a blog or web site there's a pretty easy way of doing that: include an HTML iframe in one of your pages that renders the same Google map you see in your sQuiddio Dashboard, updated to the most recent position.


Here's a step by step process on how to do that:
  1. Log in to sQuiddio. Sign up if you don't already have an account
  2. Go to Preferences (in the right-hand side of the blue top bar)
  3. Select Make my position map available publicly. IMPORTANT: The iframe is not authenticated. Selecting this option will make your map available to any one who invokes the iframe. Make sure you really want your position to be known to the outside world (and not only to members of your sQuiddio follow list)
    Not enabling public iframe support will cause the message no public map for user to appear when you invoke the iframe
  4. Include the following iframe tag in your web page where you want the map displayed:
<iframe src="https://squidd.io/users/YOUR USER ID/embedded_map?size=SIZE&records=NUM_RECORDS" height="300px" width="900px" > </iframe>

where:

For example, these are all valid ways of constructing your iframe tag:

<iframe src="https://squidd.io/users/11212/embedded_map?size=L&records=10" height="620px" width="940px"> </iframe>

<iframe src="https://squidd.io/users/11212/embedded_map?size=S" height="300px" width="300px" > </iframe>

<iframe src="https://squidd.io/users/11212/embedded_map?records=10" height="300px" width="300px" > </iframe>

<iframe src="https://squidd.io/users/11212/embedded_map" height="300px" width="300px" >" </iframe>


Remember to size your iframe (using the height and width attributes) depending on the map size you specify in your request, and use any of the other HTML5 options available for iframes for doing things like hiding the iframe border, setting a background color etc..

To find out how to share your position updates on sQuidd.io, using your SPOT Tracker, AIS transponder or satellite phone refer to our FAQ and this log post.