Skip to content

Instantly share code, notes, and snippets.

@brianjlandau
Created January 28, 2011 17:07
Show Gist options
  • Select an option

  • Save brianjlandau/800568 to your computer and use it in GitHub Desktop.

Select an option

Save brianjlandau/800568 to your computer and use it in GitHub Desktop.
<div id="map"></div>
<div id="map-side-bar">
<div class="map-location" data-jmapping="{id: 1, point: {lng: -122.2678847, lat: 37.8574888}, category: 'market'}">
<a href="#" class="map-link">Berkeley Bowl</a>
<div class="info-box">
<p>A great place to get all your groceries, especially fresh fruits and vegetables.</p>
</div>
</div>
</div>
$(document).ready(function(){
$('#map').jMapping({
force_zoom_level: 15,
default_zoom_level: 15
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment