Fixed the map zoomlevel for Family Maps. The map was zoomed in so far that the Family Links were not being shown.

svn: r18249
This commit is contained in:
Rob G. Healey 2011-10-04 04:39:10 +00:00
parent 66576a4209
commit c36fa756e4

View File

@ -4074,10 +4074,8 @@ class IndividualPage(BasePage):
middleset = [value for value in (-8, -9, -10, -11, 8, 9, 10, 11)]
largeset = [value for value in (-11, -12, -13, -14, -15, -16, -17, 11, 12, 13, 14, 15, 16, 17)]
if spany in tinyset:
zoomlevel = 13
elif spany in smallset:
zoomlevel = 6
if (spany in tinyset or spany in smallset):
zoomlevel = 7
elif spany in middleset:
zoomlevel = 5
elif spany in largeset: