From a7619cbd2e2a5262d53797d4efa719b95cdb900f Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sat, 26 Nov 2011 02:51:06 +0000 Subject: [PATCH] Removed irrevalent code that I forgot to remember from NarrativeWeb. svn: r18500 --- src/plugins/webreport/NarrativeWeb.py | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index dd46ab32f..e5d165688 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -4970,7 +4970,6 @@ class IndividualPage(BasePage): midX_, midY_ = conv_lat_lon(place_lat_long[0][0], place_lat_long[0][1], "D.D8") jsc += """ - //""" % zoomlevel + }""" % zoomlevel # there is no need to add an ending "", # as it will be added automatically by libhtml()! - dont = """ -$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ - function setMarkers(map, locations) { - var bounds = new google.maps.LatLngBounds(); - for (var i = 0; i < locations.length; i++) { - var coordinates = locations[i]; - - var myLatLng = new google.maps.LatLng(coordinates[1], coordinates[2]); - var marker = new google.maps.Marker({ - position: myLatLng, - map: map, - title: coordinates[0] - }); - bounds.extend(locations[i]); - map.fitBounds(bounds); - }""" - with Html("div", class_ ="content", id ="FamilyMapDetail") as mapbackground: body += mapbackground