Fixed problem in creating Google Family Links page
svn: r18254
This commit is contained in:
parent
95c5872126
commit
d9cbb4f6cb
@ -4764,11 +4764,6 @@ class IndividualPage(BasePage):
|
|||||||
if assocs:
|
if assocs:
|
||||||
individualdetail += self.display_ind_associations(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...
|
# for use in family map pages...
|
||||||
if len(place_lat_long):
|
if len(place_lat_long):
|
||||||
if self.report.options["familymappages"]:
|
if self.report.options["familymappages"]:
|
||||||
@ -4785,6 +4780,11 @@ class IndividualPage(BasePage):
|
|||||||
if sect14 is not None:
|
if sect14 is not None:
|
||||||
individualdetail += sect14
|
individualdetail += sect14
|
||||||
|
|
||||||
|
# display source references
|
||||||
|
sect14 = self.display_ind_sources(person)
|
||||||
|
if sect14 is not None:
|
||||||
|
individualdetail += sect14
|
||||||
|
|
||||||
# add clearline for proper styling
|
# add clearline for proper styling
|
||||||
# create footer section
|
# create footer section
|
||||||
footer = self.write_footer()
|
footer = self.write_footer()
|
||||||
@ -4909,7 +4909,6 @@ class IndividualPage(BasePage):
|
|||||||
var lifeHistory = [""" % (midX_, midY_, zoomlevel)
|
var lifeHistory = [""" % (midX_, midY_, zoomlevel)
|
||||||
for index in xrange(0, (number_markers - 1)):
|
for index in xrange(0, (number_markers - 1)):
|
||||||
latitude, longitude = place_lat_long[index][0], place_lat_long[index][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)
|
jsc += """ new google.maps.LatLng(%s, %s),""" % (latitude, longitude)
|
||||||
latitude, longitude = place_lat_long[-1][0], place_lat_long[-1][1]
|
latitude, longitude = place_lat_long[-1][0], place_lat_long[-1][1]
|
||||||
jsc += """ new google.maps.LatLng(%s, %s) ];
|
jsc += """ new google.maps.LatLng(%s, %s) ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user