Fixed problem in creating Google Family Links page

svn: r18254
This commit is contained in:
Rob G. Healey 2011-10-07 05:52:47 +00:00
parent 95c5872126
commit d9cbb4f6cb

View File

@ -4764,11 +4764,6 @@ class IndividualPage(BasePage):
if assocs:
individualdetail += self.display_ind_associations(assocs)
# display source references
sect11 = self.display_ind_sources(person)
if sect11 is not None:
individualdetail += sect11
# for use in family map pages...
if len(place_lat_long):
if self.report.options["familymappages"]:
@ -4785,6 +4780,11 @@ class IndividualPage(BasePage):
if sect14 is not None:
individualdetail += sect14
# display source references
sect14 = self.display_ind_sources(person)
if sect14 is not None:
individualdetail += sect14
# add clearline for proper styling
# create footer section
footer = self.write_footer()
@ -4909,7 +4909,6 @@ class IndividualPage(BasePage):
var lifeHistory = [""" % (midX_, midY_, zoomlevel)
for index in xrange(0, (number_markers - 1)):
latitude, longitude = place_lat_long[index][0], place_lat_long[index][1]
print(index, data)
jsc += """ new google.maps.LatLng(%s, %s),""" % (latitude, longitude)
latitude, longitude = place_lat_long[-1][0], place_lat_long[-1][1]
jsc += """ new google.maps.LatLng(%s, %s) ];