Skip to main content

latlng_to_viewport_pixel

Function latlng_to_viewport_pixel 

Source
pub fn latlng_to_viewport_pixel(v: &Viewport, p: LatLng) -> (f32, f32)
Expand description

Project a LatLng to a pixel (x, y) within the viewport. Origin (0,0) is the top-left of the viewport.