Skip to content

Commit

Permalink
Add Single Marker Example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Remsik committed May 29, 2010
1 parent 21d8130 commit a56d9c4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions examples/single_marker_example.html
@@ -0,0 +1,36 @@
<html>
<head>
<title>Single Marker Example - Cartis - jQuery Google Maps Plugin</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAg_mfIhcQZdh6vIt-3QcG6RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRE80ZyOVSxupxrpp2aJ_Rjsd4zDA" type="text/javascript"></script>
<script src="../jquery.cartis.js" type="text/javascript"></script>
</head>

<body>
<div id='map_canvas' style='width: 400px; height: 300px'></div>
<div id='implementation'>
<code>
<pre>
jQuery(function($) {
$('#map_canvas').cartis({
markers: [{
latitude: 37.4416,
longitude: -122.1516
}]
});
});
</pre>
</code>
</div>
</body>
<script type="text/javascript">
jQuery(function($) {
$('#map_canvas').cartis({
markers: [{
latitude: 37.4416,
longitude: -122.1516
}]
});
});
</script>
</html>

0 comments on commit a56d9c4

Please sign in to comment.