Skip to content

Instantly share code, notes, and snippets.

@jordanconductor
Last active February 3, 2016 22:18
Show Gist options
  • Save jordanconductor/6536062 to your computer and use it in GitHub Desktop.
Save jordanconductor/6536062 to your computer and use it in GitHub Desktop.
Foursquare list map embed
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="http://www.4sqmap.com/js/0.1/api.min.js"></script>
<script type="text/javascript">
// Replace '5230b35f11d210a187a27489' with the ID of your Foursquare List
foursqmap.lists('map2', '5230b35f11d210a187a27489', {'sidebar': 'map2_sidebar'});
</script>
<div>
<div id="map2_sidebar" style="width:300px; float:left; height: 500px; overflow: auto"></div>
<div style="margin-left:300px;">
<div id="map2" style="width: 100%;height: 500px"></div>
</div>
</div>
@jordanconductor
Copy link
Author

Create an embed-able foursquare list. See this list at: http://www.4sqmap.com/list/5230b35f11d210a187a27489

Website at: http://www.jordanrsmith.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment