Function ll_to_px

Source
pub fn ll_to_px(
    lonlat: (f64, f64),
    zoom: u8,
    anti_meridian: Option<bool>,
    tile_size: Option<f64>,
) -> (f64, f64)
Expand description

Convert Longitude and Latitude to a mercator pixel coordinate Return the mercator pixel coordinate