Move zoomPrecision function to the OSM namespace