Auto-center map for countries and regions
The original map centering worked on locations of accessions directly. The centering methods worked correctly, but because the data is very poor the centering seemed to behave funny and non-functional.
We have implemented #39 (closed) that adds bounding box information on Country level.
Bounding box information for countries is available as SQL updates in: bboxes.csv
Center map for countries and regions only
When the filters contains "Country of Origin" or "Region of Origin", obtain the bounding box for the selected origin countries and auto-center map on the countries bounding box.
Initial "centering"
When the map is first displayed use the bounding box [(-80, -170), (80, 170)] to center the map.