fn to_xy(&self, latitude: f64, longitude: f64) -> (f64, f64) {
        // TODO save before, it's kinda costly
        let (local_x, local_y) = self.local_lat_lon();
        let (x, y) = self.to_mercator(latitude, longitude);
        let (x, y) = (x - local_x, y - local_y);
        (x, y * -1.0)
    }
/// Convert new lat/long into mercator using current location from `Settings`
Convert new lat/long into mercator using current location from `Settings`
Convert new lat / long into mercator using current location from ` Settings `
fn to_xy(&self, latitude: f64, longitude: f64) -> (f64, f64) {
        // TODO save before, it's kinda costly
        let (local_x, local_y) = self.local_lat_lon();
        let (x, y) = self.to_mercator(latitude, longitude);
        let (x, y) = (x - local_x, y - local_y);
        (x, y * -1.0)
    }
fn to_xy ( & self , latitude : f64 , longitude : f64 ) -> ( f64 , f64 ) { // TODO save before, it's kinda costly let ( local_x , local_y ) = self . local_lat_lon ( ) ; let ( x , y ) = self . to_mercator ( latitude , longitude ) ; let ( x , y ) = ( x - local_x , y - local_y ) ; ( x , y * - 1.0 ) }
Convert new lat/long into mercator using current location from `Settings`
Convert new lat / long into mercator using current location from ` Settings `
&self
latitude
f64
longitude
f64
&self
latitude
f64
longitude
f64