formatZoom
Formats a zoom level with at most one decimal, for example "12" or "12.5".
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { formatZoom } from "@mapcairn/core";
function formatZoom(zoom: number, locale: string): string;
Parameters
zoom(number)locale(string)
Returns
string