summaryrefslogtreecommitdiff
path: root/templates/includes/map_entry_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes/map_entry_list.html')
-rw-r--r--templates/includes/map_entry_list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/includes/map_entry_list.html b/templates/includes/map_entry_list.html
index 5c18bbb..4b7ff6a 100644
--- a/templates/includes/map_entry_list.html
+++ b/templates/includes/map_entry_list.html
@@ -55,6 +55,17 @@
// Add a marker for each project
+ point_los_angeles = JLngLat(-118.23626874231368, 34.055370546424705);
+ markerOptions = { clickable:true, draggable:false, icon:tinyIcon};
+ marker_los_angeles = new GMarker(point_los_angeles, markerOptions);
+ map.addOverlay(marker_los_angeles);
+ marker_los_angeles.info_window_content = '<div class="infowin"><h4>Los Angeles, I&#39;m Yours<\/h4><span class="date blok">May 14, 2010 (Los Angeles, California)<\/span><p><img src="http://127.0.0.1:8000/images/post-thumbnail/2010/launiontickets.jpg" height="100" alt="Los Angeles, I&#39;m Yours" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>test <a href="/2010/may/14/los-angeles-im-yours/">Read it &raquo;<\/a><\/p><\/div>'
+ marker_los_angeles.bindInfoWindowHtml(marker_los_angeles.info_window_content, {maxWidth:400});
+ GEvent.addListener(marker_los_angeles, "click", function() {
+ map.panTo(point_los_angeles, 2);
+ });
+
+
point_therell_be = JLngLat(-116.80985925955855, 36.420902577178083);
markerOptions = { clickable:true, draggable:false, icon:tinyIcon};
marker_therell_be = new GMarker(point_therell_be, markerOptions);