Move zoomPrecision function to the OSM namespace

This commit is contained in:
Tom Hughes
2014-02-27 18:15:54 +00:00
parent 665abc501c
commit 66039dedb0
6 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@ $(document).ready(function () {
map.on("click", function (e) {
if ($('#updatehome').is(':checked')) {
var zoom = map.getZoom(),
precision = zoomPrecision(zoom),
precision = OSM.zoomPrecision(zoom),
location = e.latlng.wrap();
$('#homerow').removeClass();