Tweak map zoom level handling.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 17 Jun 2010 05:42:59 +0000 (01:42 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 17 Jun 2010 05:42:59 +0000 (01:42 -0400)
commitb9fc7693dbb12a44721988226a0363b27fe294e8
tree76d93350860fb56b5a26c962fc3feb8c8e73d924
parent1dafffd8e5af0ed3ea51c21de77d88d18752ead4
Tweak map zoom level handling.

Save the current zoom level when saving event so we can return to
it when viewing/editing later. Also, base the zoom level after
geocoding on the precision of the geocoding results if we have
have the information (only google geocoder returns this).
kronolith/js/kronolith.js
kronolith/lib/Geo/Mysql.php
kronolith/lib/Geo/Sql.php
kronolith/scripts/upgrades/2010-06-16_add_zoom.sql [new file with mode: 0644]
kronolith/templates/index/edit.inc