everymap-providers-google 0.2.1

Google Maps provider for EveryMap — geocoding, routing, map matching, and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// Shared lat/lng coordinate type for Google provider.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GoogleLatLng {
    pub lat: f64,
    pub lng: f64,
}

/// Bounds (northeast/southwest rectangle).
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GoogleBounds {
    pub northeast: GoogleLatLng,
    pub southwest: GoogleLatLng,
}