<a href="https://geoloqi.com/oauth/authorize?grant_type=code&client_id=YOUR_CLIENT_ID"> <img src="https://s3.amazonaws.com/geoloqi/sign-in-with-geoloqi.png" /> </a>
<a href="https://geoloqi.com/layer/info/LAYERID" class="geoloqi-subscribe-layer"> Subscribe to YOUR LAYER on Geoloqi! </a> <script type="text/javascript" src="http://geoloqi.com/embed.js"></script>
You can generate an embed code for an existing trip from your Trips page.
Or, you can create a shared link and copy the token and your username into the formats described below.
Contents |
<a href="https://geoloqi.com/aaronpk/1G0oNeD" class="geoloqi-follow-map">Follow my trip!</a>
<script type="text/javascript" src="http://beta.geoloqi.com/embed.js"></script>
The text inside the link will be replaced with your embedded map! The map will be 200px tall and will fill the width of whatever it is inside when it's embedded.
<a href="https://geoloqi.com/aaronpk/1G0oNeD" class="geoloqi-follow-map geoloqi-width-600 geoloqi-height-400">Follow my trip!</a>
<script type="text/javascript" src="http://beta.geoloqi.com/embed.js"></script>
You can customize the height and/or width by changing the values in the "class" tag.
<a href="http://geoloqi.com/aaronpk/1G0oNeD" class="geoloqi-follow-map geoloqi-light">Follow my trip!</a>
<script type="text/javascript" src="http://beta.geoloqi.com/embed.js"></script>
If you would like to put multiple maps on a page, you can easily do this by including multiple <a>
tags. You only need to include one <script>
tag, and it should be at the very bottom of the page.